Uses of Interface
org.litebridge.orm.api.select.ast.QueryNode
Packages that use QueryNode
Package
Description
Condition construction clause abstract implementations.
Fluent API for constructing DTO-mapped SQL queries (SELECT statements)
DTO condition construction clauses.
Fluent API for constructing DTO-based deletes (DELETE statements)
Fluent API for constructing DTO-based updates (UPDATE statements)
Lightweight AST nodes representing steps in a fluent query chain.
Fluent API for constructing SQL queries (SELECT statements) without result object mapping
Fluent API for constructing direct SQL deletes (DELETE statements)
Fluent API for constructing direct SQL updates (UPDATE statements)
Core common ORM API function services.
Persistence subsystem; contains classes for saving/updating/deleting DTOs
-
Uses of QueryNode in org.litebridge.orm.api.condition
Fields in org.litebridge.orm.api.condition declared as QueryNodeModifier and TypeFieldDescriptionprotected QueryNodeAbstractCbConditionClauseTerminal.nodeThe current query node in the AST.Methods in org.litebridge.orm.api.condition that return QueryNodeModifier and TypeMethodDescriptionAbstractCbConditionClauseTerminal.node()Returns the current query node.Methods in org.litebridge.orm.api.condition with parameters of type QueryNodeModifier and TypeMethodDescriptionprotected abstract AbstractCbConditionClauseTerminal<DTO> AbstractCbConditionClause.createCbConditionClauseTerminal(QueryNode conditionNode) Creates a new terminal condition clause instance.Constructors in org.litebridge.orm.api.condition with parameters of type QueryNodeModifierConstructorDescriptionAbstractCbConditionClause(FromClauseEngine fromClauseEngine, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, AbstractCbConditionClauseTerminal<DTO>> terminalCreator) Constructs a newAbstractCbConditionClause.AbstractCbConditionClauseTerminal(FromClauseEngine fromClauseEngine, QueryNode node) Constructs a newAbstractCbConditionClauseTerminal.Constructor parameters in org.litebridge.orm.api.condition with type arguments of type QueryNodeModifierConstructorDescriptionAbstractCbConditionClause(FromClauseEngine fromClauseEngine, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, AbstractCbConditionClauseTerminal<DTO>> terminalCreator) Constructs a newAbstractCbConditionClause. -
Uses of QueryNode in org.litebridge.orm.api.dto
Methods in org.litebridge.orm.api.dto with parameters of type QueryNodeConstructors in org.litebridge.orm.api.dto with parameters of type QueryNodeModifierConstructorDescriptionDtoHavingConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, DtoHavingConditionClauseTerminal<DTO>> terminalRecreator) DtoJoinConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, QueryNode node, Function<QueryNode, DtoJoinConditionClauseTerminal<DTO>> terminalRecreator) DtoSelector(Class<TypeOverride> typeOverride, OrmTable ormTable, TableRegistry tableRegistry, ClassFieldAccessorCache classFieldAccessorCache, DtoConstructor dtoConstructor, TransactionalDatabaseProvider databaseProvider, AliasGenerator aliasGenerator, LitebridgeContext litebridgeContext, @Nullable QueryNode node) Creates a new DtoSelector.DtoWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, DtoWhereConditionClauseTerminal<DTO>> terminalRecreator) Constructor parameters in org.litebridge.orm.api.dto with type arguments of type QueryNodeModifierConstructorDescriptionDtoHavingConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, DtoHavingConditionClauseTerminal<DTO>> terminalRecreator) DtoJoinClause(DtoSelector<DTO> delegate, OrmTable targetTable, Function<QueryNode, DtoJoinConditionClauseTerminal<DTO>> terminalCreator) Creates a new instance ofDtoJoinClause.DtoJoinConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, QueryNode node, Function<QueryNode, DtoJoinConditionClauseTerminal<DTO>> terminalRecreator) DtoWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, DtoWhereConditionClauseTerminal<DTO>> terminalRecreator) -
Uses of QueryNode in org.litebridge.orm.api.dto.condition
Methods in org.litebridge.orm.api.dto.condition with parameters of type QueryNodeModifier and TypeMethodDescriptionprotected AbstractCbConditionClauseTerminal<DTO> CbDtoConditionClause.createCbConditionClauseTerminal(QueryNode conditionNode) Constructors in org.litebridge.orm.api.dto.condition with parameters of type QueryNodeModifierConstructorDescriptionCbDtoConditionClause(OrmTable ormTable, FromClauseEngine fromClauseEngine, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, AbstractCbConditionClauseTerminal<DTO>> terminalCreator) Constructs a newCbDtoConditionClause.CbDtoConditionClauseTerminal(OrmTable ormTable, FromClauseEngine fromClauseEngine, QueryNode node) Constructs a newCbDtoConditionClauseTerminal.DtoConditionClauseStart(OrmTable ormTable, FromClauseEngine fromClauseEngine, @Nullable QueryNode node) Creates a new DTO condition clause start.Constructor parameters in org.litebridge.orm.api.dto.condition with type arguments of type QueryNodeModifierConstructorDescriptionCbDtoConditionClause(OrmTable ormTable, FromClauseEngine fromClauseEngine, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, AbstractCbConditionClauseTerminal<DTO>> terminalCreator) Constructs a newCbDtoConditionClause. -
Uses of QueryNode in org.litebridge.orm.api.dto.delete
Constructor parameters in org.litebridge.orm.api.dto.delete with type arguments of type QueryNodeModifierConstructorDescriptionDtoDeleteWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, Function<QueryNode, DtoDeleteWhereConditionClauseTerminal<DTO>> terminalRecreator) -
Uses of QueryNode in org.litebridge.orm.api.dto.update
Constructor parameters in org.litebridge.orm.api.dto.update with type arguments of type QueryNodeModifierConstructorDescriptionDtoUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, Function<QueryNode, DtoUpdateWhereConditionClauseTerminal<DTO>> terminalRecreator) -
Uses of QueryNode in org.litebridge.orm.api.select.ast
Subinterfaces of QueryNode in org.litebridge.orm.api.select.astModifier and TypeInterfaceDescriptioninterfaceA node in a lightweight AST representing a step in a fluent query chain.Classes in org.litebridge.orm.api.select.ast that implement QueryNodeModifier and TypeClassDescriptionfinal recordRepresents a group of conditions in the query AST.final recordRepresents a condition within a JOIN, WHERE or HAVING clause in the query AST.final recordRepresents a DELETE statement in the query AST.final recordRepresents a GROUP BY clause in the query AST.final classHAVING clause condition in the query AST.final recordRepresents an INSERT statement in the query AST.final classRepresents a JOIN clause metadata in the query AST.final recordRepresents a LIMIT clause in the query AST.final recordRepresents an ORDER BY clause in the query AST.final recordRepresents a SELECT clause in the query AST.final recordRepresents a SET clause in an UPDATE statement in the query AST.final recordRepresents an UPDATE statement in the query AST.final classRepresents a WHERE clause condition in the query AST.Methods in org.litebridge.orm.api.select.ast that return QueryNodeModifier and TypeMethodDescriptionHavingNode.condition()Returns the HAVING condition node.@Nullable QueryNodeJoinNode.condition()Returns the join condition node.WhereNode.condition()ConditionGroupNode.lastChild()Returns the value of thelastChildrecord component.@Nullable QueryNodeConditionGroupNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeConditionNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeDeleteNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeGroupByNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeHavingNode.previous()@Nullable QueryNodeInsertNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeJoinNode.previous()@Nullable QueryNodeLimitNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeOrderByNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeQueryNode.previous()Returns the previous node in the chain, ornullif this is the root node.@Nullable QueryNodeSelectNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeSetNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeUpdateNode.previous()Returns the value of thepreviousrecord component.@Nullable QueryNodeWhereNode.previous()Methods in org.litebridge.orm.api.select.ast with parameters of type QueryNodeModifier and TypeMethodDescriptionHavingNode.withCondition(QueryNode condition) Sets the HAVING condition node.JoinNode.withCondition(@Nullable QueryNode condition) Sets the join condition node.WhereNode.withCondition(QueryNode condition) Constructors in org.litebridge.orm.api.select.ast with parameters of type QueryNodeModifierConstructorDescriptionConditionGroupNode(@Nullable QueryNode previous, LogicOperator logicOperator, QueryNode lastChild) Creates an instance of aConditionGroupNoderecord class.ConditionNode(@Nullable QueryNode previous, LogicOperator logicOperator, @Nullable ExpressionSpec lhs, Operator operator, @Nullable Object rhs) ConditionNode(@Nullable QueryNode previous, LogicOperator logicOperator, @Nullable ExpressionSpec lhs, Operator operator, @Nullable Object rhs, @Nullable String relationshipField) Creates an instance of aConditionNoderecord class.DeleteNode(@Nullable QueryNode previous, Table table) Creates an instance of aDeleteNoderecord class.GroupByNode(@Nullable QueryNode previous, ExpressionSpec[] expressions) Creates an instance of aGroupByNoderecord class.HavingNode(@Nullable QueryNode previous, QueryNode condition) Creates a newHavingNodeinstance.InsertNode(@Nullable QueryNode previous, Table table) Creates an instance of aInsertNoderecord class.JoinNode(@Nullable QueryNode previous, String type, @Nullable Class<?> dtoClass, @Nullable Class<?> sourceDtoClass, @Nullable String tableName) Constructs a newJoinNode.JoinNode(@Nullable QueryNode previous, String type, @Nullable Class<?> dtoClass, @Nullable String tableName) Constructs a newJoinNodewithout a source DTO class.Creates an instance of aLimitNoderecord class.OrderByNode(@Nullable QueryNode previous, ExpressionSpec expression, boolean ascending) Creates an instance of aOrderByNoderecord class.SelectNode(@Nullable QueryNode previous, ExpressionSpec[] expressions, @Nullable Class<?> resultType) Creates an instance of aSelectNoderecord class.Creates an instance of aSetNoderecord class.UpdateNode(@Nullable QueryNode previous, Table table) Creates an instance of aUpdateNoderecord class. -
Uses of QueryNode in org.litebridge.orm.api.sql
Methods in org.litebridge.orm.api.sql with parameters of type QueryNodeConstructors in org.litebridge.orm.api.sql with parameters of type QueryNodeModifierConstructorDescriptionSqlHavingConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, SqlHavingConditionClauseTerminal> terminalRecreator) SqlJoinConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, SqlJoinConditionClauseTerminal> terminalRecreator) SqlSelector(Table table, TransactionalDatabaseProvider databaseProvider, TableRegistry tableRegistry, LitebridgeContext litebridgeContext, QueryNode node) SqlWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, SqlWhereConditionClauseTerminal> terminalRecreator) Constructor parameters in org.litebridge.orm.api.sql with type arguments of type QueryNodeModifierConstructorDescriptionSqlHavingConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, SqlHavingConditionClauseTerminal> terminalRecreator) SqlJoinClause(SqlSelector delegate, Function<QueryNode, SqlJoinConditionClauseTerminal> terminalCreator) SqlJoinConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, SqlJoinConditionClauseTerminal> terminalRecreator) SqlWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, @Nullable QueryNode node, Function<QueryNode, SqlWhereConditionClauseTerminal> terminalRecreator) -
Uses of QueryNode in org.litebridge.orm.api.sql.delete
Constructor parameters in org.litebridge.orm.api.sql.delete with type arguments of type QueryNodeModifierConstructorDescriptionSqlDeleteWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, Function<QueryNode, SqlDeleteWhereConditionClauseTerminal> terminalRecreator) -
Uses of QueryNode in org.litebridge.orm.api.sql.update
Constructor parameters in org.litebridge.orm.api.sql.update with type arguments of type QueryNodeModifierConstructorDescriptionSqlUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, ExpressionSpec lhs, Function<QueryNode, SqlUpdateWhereConditionClauseTerminal> terminalRecreator) -
Uses of QueryNode in org.litebridge.orm.engine
Methods in org.litebridge.orm.engine with parameters of type QueryNodeModifier and TypeMethodDescriptionvoidQueryCompiler.compile(QueryNode node, DeleteSpec deleteSpec) Compiles the givenQueryNodechain into the providedDeleteSpec.voidQueryCompiler.compile(QueryNode node, InsertSpec insertSpec) Compiles the givenQueryNodechain into the providedInsertSpec.voidQueryCompiler.compile(QueryNode node, SelectSpec selectSpec) Compiles the givenQueryNodechain into the providedSelectSpec.voidQueryCompiler.compile(QueryNode node, UpdateSpec updateSpec) Compiles the givenQueryNodechain into the providedUpdateSpec.QueryBindValueExtractor.extractBindValues(QueryNode node) <TypeOverride>
DtoFromClauseTerminal<TypeOverride> FromClauseEngine.from(QueryNode node, Class<?> dtoClass, Class<TypeOverride> typeOverrideClass, @Nullable RelatedDtoStrategy relatedDtoStrategy) Constructs a DTO-based FROM clause with a type override.@Nullable QueryPlanCache.CachedOperationRetrieves a cached execution plan for the given select operation.voidQueryPlanCache.put(QueryNode node, QueryPlanCache.CachedOperation cachedOperation) Stores an execution plan in the cache. -
Uses of QueryNode in org.litebridge.orm.persistence
Fields in org.litebridge.orm.persistence declared as QueryNodeModifier and TypeFieldDescriptionprotected QueryNodeAbstractStatementBuilder.nodeThe current query node.Methods in org.litebridge.orm.persistence that return QueryNodeModifier and TypeMethodDescriptionAbstractStatementBuilder.node()NoOpStatementBuilder.node()Invoking this method will throw anUnsupportedOperationException.StatementBuilder.node()Returns the current query node.Methods in org.litebridge.orm.persistence with parameters of type QueryNodeModifier and TypeMethodDescriptionAdds a WHERE condition to the statement.