Uses of Enum Class
org.litebridge.db.spi.query.LogicOperator
Packages that use LogicOperator
Package
Description
Query-related models
Condition construction clause implementations.
Fluent API for constructing DELETE statements
Fluent API for constructing
MERGE statements.Fluent API for constructing DTO-mapped SQL queries (SELECT statements)
Common implementation classes for select operations.
Query/clause specification models used in the query API
Fluent API for constructing SQL queries (SELECT statements) without result object mapping
Fluent API for constructing UPDATE statements
Abstract Syntax Tree (AST) nodes representing a statement/query.
Compiler for AST query nodes.
-
Uses of LogicOperator in org.litebridge.db.spi.query
Methods in org.litebridge.db.spi.query that return LogicOperatorModifier and TypeMethodDescriptionLogicCondition.logicOperator()Returns the value of thelogicOperatorrecord component.LogicConditionGroup.logicOperator()Returns the value of thelogicOperatorrecord component.static LogicOperatorReturns the enum constant of this class with the specified name.static LogicOperator[]LogicOperator.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.litebridge.db.spi.query with parameters of type LogicOperatorModifierConstructorDescriptionLogicCondition(LogicOperator logicOperator, Condition condition) Creates an instance of aLogicConditionrecord class.LogicConditionGroup(LogicOperator logicOperator, ConditionGroup conditionGroup) Creates an instance of aLogicConditionGrouprecord class. -
Uses of LogicOperator in org.litebridge.orm.api.condition
Fields in org.litebridge.orm.api.condition declared as LogicOperatorModifier and TypeFieldDescriptionprotected final LogicOperatorAbstractConditionClauseStart.logicOperatorMethods in org.litebridge.orm.api.condition that return LogicOperatorModifier and TypeMethodDescriptionDtoWhereCriteriaBuilder.getLogicOperator()Retrieves the current effective logical operator.Methods in org.litebridge.orm.api.condition with parameters of type LogicOperatorModifier and TypeMethodDescriptionDtoWhereCriteriaBuilder.add(LogicOperator logicOperator, DtoQueryConditionBuilder<DTO> query) Add a condition and group it with existing conditions using the specified logic operator.voidDtoWhereCriteriaBuilder.setLogicOperator(@Nullable LogicOperator logicOperator) Sets the current default logical operator.protected abstract CCAbstractCbConditionClauseTerminal.whereImpl(LogicOperator logicOperator, String column) Internal implementation of the WHERE clause for column names.protected abstract CCAbstractCbConditionClauseTerminal.whereImpl(LogicOperator logicOperator, ExpressionSpec expression) Internal implementation of the WHERE clause for expressions.protected abstract SELFAbstractCbConditionClauseTerminal.whereImpl(LogicOperator logicOperator, QCB query) Internal implementation of the WHERE clause for sub-conditions in queries.protected CbDtoConditionClause<DTO> CbDtoConditionClauseTerminal.whereImpl(LogicOperator logicOperator, String field) protected CbDtoConditionClauseTerminal<DTO> CbDtoConditionClauseTerminal.whereImpl(LogicOperator logicOperator, DtoQueryConditionBuilder<DTO> query) protected CbDtoConditionClause<DTO> CbDtoConditionClauseTerminal.whereImpl(LogicOperator logicOperator, ExpressionSpec expression) protected CbSqlConditionClause<ReturnType> CbSqlConditionClauseTerminal.whereImpl(LogicOperator logicOperator, String column) protected CbSqlConditionClauseTerminal<ReturnType> CbSqlConditionClauseTerminal.whereImpl(LogicOperator logicOperator, SqlQueryConditionBuilder<ReturnType> query) protected CbSqlConditionClause<ReturnType> CbSqlConditionClauseTerminal.whereImpl(LogicOperator logicOperator, ExpressionSpec expression) Constructors in org.litebridge.orm.api.condition with parameters of type LogicOperatorModifierConstructorDescriptionAbstractCbConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node) Constructs a newAbstractCbConditionClause.AbstractConditionClauseStart(@Nullable QueryNode node, LogicOperator logicOperator, LitebridgeContext litebridgeContext) Constructs a newAbstractConditionClauseStart.CbDtoConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node) Constructs a newCbDtoConditionClause.CbSqlConditionClause(SelectNode selectNode, LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node) Constructs a newCbSqlConditionClause.DtoConditionClauseStart(@Nullable QueryNode node, LogicOperator logicOperator, LitebridgeContext litebridgeContext) Creates a new DTO condition clause start. -
Uses of LogicOperator in org.litebridge.orm.api.delete
Constructors in org.litebridge.orm.api.delete with parameters of type LogicOperatorModifierConstructorDescriptionDtoDeleteWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, DtoDeleteWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoDeleteWhereConditionClauseinstance.SqlDeleteWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, SqlDeleteWhereConditionClauseTerminal> terminalRecreator) Creates a newSqlDeleteWhereConditionClauseinstance. -
Uses of LogicOperator in org.litebridge.orm.api.merge
Methods in org.litebridge.orm.api.merge with parameters of type LogicOperatorModifier and TypeMethodDescriptionprotected DtoMergeOnConditionClauseTerminal<DTO> DtoMergeOnConditionClauseTerminal.onImpl(LogicOperator logicOperator, DtoQueryConditionBuilder<DTO> query) protected MergeConditionClause<DTO, MUS, SELF, QCB> MergeOnConditionClauseTerminal.onImpl(LogicOperator logicOperator, @Nullable String column, @Nullable ExpressionSpec expression) protected abstract SELFMergeOnConditionClauseTerminal.onImpl(LogicOperator logicOperator, QCB query) protected SqlMergeOnConditionClauseTerminalSqlMergeOnConditionClauseTerminal.onImpl(LogicOperator logicOperator, SqlQueryConditionBuilder<Row> query) Constructors in org.litebridge.orm.api.merge with parameters of type LogicOperatorModifierConstructorDescriptionMergeConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, MCCT> terminalRecreator) Creates a newMergeConditionClauseinstance. -
Uses of LogicOperator in org.litebridge.orm.api.select.dto
Constructors in org.litebridge.orm.api.select.dto with parameters of type LogicOperatorModifierConstructorDescriptionDtoHavingConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, DtoHavingConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoHavingConditionClauseinstance.DtoJoinConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, QueryNode node, Function<QueryNode, DtoJoinConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoJoinConditionClauseinstance.DtoWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, DtoWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoWhereConditionClauseinstance. -
Uses of LogicOperator in org.litebridge.orm.api.select.impl
Constructors in org.litebridge.orm.api.select.impl with parameters of type LogicOperatorModifierConstructorDescriptionprotectedConditionClauseImpl(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, CCT> terminalCreator) Creates a newConditionClauseImplinstance. -
Uses of LogicOperator in org.litebridge.orm.api.select.model
Methods in org.litebridge.orm.api.select.model that return LogicOperatorModifier and TypeMethodDescriptionLogicConditionGroupSpec.logicOperator()Returns the value of thelogicOperatorrecord component.LogicConditionSpec.logicOperator()Returns the value of thelogicOperatorrecord component.Methods in org.litebridge.orm.api.select.model with parameters of type LogicOperatorModifier and TypeMethodDescriptionConditionGroupSpec.newCondition(LogicOperator logicOperator, @Nullable String fieldOrColumn, @Nullable ExpressionSpec expressionSpec, @Nullable Operator operator, @Nullable Object rawValue) Adds a new condition to the group and returns its specification.ConditionGroupSpec.newSubgroup(LogicOperator logicOperator) Adds a new subgroup to the group and returns its specification.Constructors in org.litebridge.orm.api.select.model with parameters of type LogicOperatorModifierConstructorDescriptionLogicConditionGroupSpec(LogicOperator logicOperator) Constructs a newLogicConditionGroupSpecwith the specified logical operator.LogicConditionGroupSpec(LogicOperator logicOperator, ConditionGroupSpec conditionGroupSpec) Creates an instance of aLogicConditionGroupSpecrecord class.LogicConditionSpec(LogicOperator logicOperator, ConditionSpec conditionSpec) Creates an instance of aLogicConditionSpecrecord class. -
Uses of LogicOperator in org.litebridge.orm.api.select.sql
Constructors in org.litebridge.orm.api.select.sql with parameters of type LogicOperatorModifierConstructorDescriptionSqlHavingConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, SqlHavingConditionClauseTerminal<ReturnType>> terminalRecreator) Creates a newSqlHavingConditionClauseinstance.SqlJoinConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, SqlJoinConditionClauseTerminal<ReturnType>> terminalRecreator) Creates a newSqlJoinConditionClauseinstance.SqlWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, SqlWhereConditionClauseTerminal<ReturnType>> terminalRecreator) Creates a newSqlWhereConditionClauseinstance. -
Uses of LogicOperator in org.litebridge.orm.api.update
Constructors in org.litebridge.orm.api.update with parameters of type LogicOperatorModifierConstructorDescriptionDtoUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, DtoUpdateWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoUpdateWhereConditionClauseinstance.SqlUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, SqlUpdateWhereConditionClauseTerminal> terminalRecreator) Creates a newSqlUpdateWhereConditionClauseinstance. -
Uses of LogicOperator in org.litebridge.orm.engine.ast
Methods in org.litebridge.orm.engine.ast that return LogicOperatorModifier and TypeMethodDescriptionConditionGroupNode.logicOperator()Returns the value of thelogicOperatorrecord component.ConditionJoinUsingNode.logicOperator()Returns the value of thelogicOperatorrecord component.ConditionNode.logicOperator()Returns the value of thelogicOperatorrecord component.ConditionWithIdNode.logicOperator()Returns the value of thelogicOperatorrecord component.Constructors in org.litebridge.orm.engine.ast with parameters of type LogicOperatorModifierConstructorDescriptionConditionGroupNode(@Nullable QueryNode previous, LogicOperator logicOperator, QueryNode lastChild) Creates an instance of aConditionGroupNoderecord class.ConditionJoinUsingNode(@Nullable QueryNode previous, LogicOperator logicOperator, @Nullable String usingColumn, @Nullable ExpressionSpec usingExpression) Creates an instance of aConditionJoinUsingNoderecord class.ConditionNode(@Nullable QueryNode previous, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, Operator operator, @Nullable Object rhs) Creates a newConditionNodeinstance without a right-hand side column.ConditionNode(@Nullable QueryNode previous, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, Operator operator, @Nullable Object rhs, @Nullable String rhsColumn) Creates an instance of aConditionNoderecord class.ConditionWithIdNode(@Nullable QueryNode previous, LogicOperator logicOperator, Operator operator, @Nullable Object id) Creates an instance of aConditionWithIdNoderecord class. -
Uses of LogicOperator in org.litebridge.orm.engine.compiler
Methods in org.litebridge.orm.engine.compiler with parameters of type LogicOperatorModifier and TypeMethodDescriptionprotected abstract TContextStack.newSubInstance(LogicOperator logicOperator) Creates a new child instance in the context stack.ContextStack.push(LogicOperator logicOperator) Pushes a new child instance onto the context stack.ContextStack.push(LogicOperator logicOperator, T subgroup) Pushes a new child instance onto the context stack.