Uses of Interface
org.litebridge.orm.expression.ExpressionSpec
Packages that use ExpressionSpec
Package
Description
Litebridge ORM
Condition construction clause implementations.
Fluent API for constructing DELETE statements
Fluent API for constructing
INSERT statements.Fluent API for constructing
MERGE statements.Fluent API for constructing SQL queries (
SELECT 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
Core common ORM API function services.
Abstract Syntax Tree (AST) nodes representing a statement/query.
Select query expressions.
Aggregate SQL function expressions
Date/time-based SQL function expressions
Scalar SQL function expressions
Java-based query expression modifier "expressions"/intents.
Expressions to select specific expressions from a database
Metamodel support
-
Uses of ExpressionSpec in org.litebridge.orm
Methods in org.litebridge.orm with parameters of type ExpressionSpec -
Uses of ExpressionSpec in org.litebridge.orm.api.condition
Methods in org.litebridge.orm.api.condition with parameters of type ExpressionSpecModifier and TypeMethodDescriptionfinal CCAbstractCbConditionClauseTerminal.and(ExpressionSpec expression) final CCAbstractCbConditionClauseTerminal.or(ExpressionSpec expression) abstract CCAbstractConditionClauseStart.where(ExpressionSpec expression) Starts a WHERE clause with an expression.DtoConditionClauseStart.where(ExpressionSpec expression) SqlConditionClauseStart.where(ExpressionSpec expression) protected abstract CCAbstractCbConditionClauseTerminal.whereImpl(LogicOperator logicOperator, ExpressionSpec expression) Internal implementation of the WHERE clause for expressions.protected CbDtoConditionClause<DTO> CbDtoConditionClauseTerminal.whereImpl(LogicOperator logicOperator, ExpressionSpec expression) protected CbSqlConditionClause<ReturnType> CbSqlConditionClauseTerminal.whereImpl(LogicOperator logicOperator, ExpressionSpec expression) Constructors in org.litebridge.orm.api.condition with parameters of type ExpressionSpecModifierConstructorDescriptionAbstractCbConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node) Constructs a newAbstractCbConditionClause.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. -
Uses of ExpressionSpec in org.litebridge.orm.api.delete
Methods in org.litebridge.orm.api.delete with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoDeleteWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) SqlDeleteWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) DtoDeleteWhereConditionClauseTerminalImpl.or(ExpressionSpec expression) SqlDeleteWhereConditionClauseTerminalImpl.or(ExpressionSpec expression) DeleteStart.where(ExpressionSpec expression) Starts a WHERE clause with an expression.DtoDeleteStart.where(ExpressionSpec expression) SqlDeleteStart.where(ExpressionSpec expression) Constructors in org.litebridge.orm.api.delete with parameters of type ExpressionSpecModifierConstructorDescriptionDtoDeleteWhereConditionClause(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 ExpressionSpec in org.litebridge.orm.api.insert
Methods in org.litebridge.orm.api.insert with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoInsertIntoStep.into(ExpressionSpec... expressions) abstract InsertValuesStepInsertIntoStep.into(ExpressionSpec... expressions) Specifies the columns to insert data into using expressions.SqlInsertIntoStep.into(ExpressionSpec... expressions) -
Uses of ExpressionSpec in org.litebridge.orm.api.merge
Methods in org.litebridge.orm.api.merge with parameters of type ExpressionSpecModifier and TypeMethodDescriptionMergeOnConditionClauseTerminal.and(ExpressionSpec expression) Adds an AND condition with the specified expression.MergeInsertStep.insert(ExpressionSpec... expressions) Creates aWHEN NOT MATCHED INSERTclause inserting values into columns specified using type-safe expressions.MergeOnStep.on(ExpressionSpec expression) Creates aMERGE INTO ... USING ... ONcondition using an expression.protected MergeConditionClause<DTO, MUS, SELF, QCB> MergeOnConditionClauseTerminal.onImpl(LogicOperator logicOperator, @Nullable String column, @Nullable ExpressionSpec expression) MergeOnConditionClauseTerminal.or(ExpressionSpec expression) Adds an OR condition with the specified expression.Constructors in org.litebridge.orm.api.merge with parameters of type ExpressionSpecModifierConstructorDescriptionMergeConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, MCCT> terminalRecreator) Creates a newMergeConditionClauseinstance. -
Uses of ExpressionSpec in org.litebridge.orm.api.select
Methods in org.litebridge.orm.api.select with parameters of type ExpressionSpecModifier and TypeMethodDescriptionConditionClauseTerminal.and(ExpressionSpec expression) Adds an "AND" condition to the current condition clause using the specified expression.WhereClauseTerminal.groupBy(ExpressionSpec... columns) Adds a GROUP BY clause to the query, specifying the expressions to group the results by.GroupByClauseTerminal.having(ExpressionSpec expression) Starts a HAVING clause for the SQL query.ConditionClauseTerminal.or(ExpressionSpec expression) Adds an "OR" condition to the current condition clause using the specified expression.HavingClauseTerminal.orderBy(ExpressionSpec... columns) Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.WhereClauseTerminal.orderBy(ExpressionSpec... columns) Adds an ORDER BY clause to the query, specifying the fields and expressions to sort the results by.SelectApi.select(ExpressionSpec... expressions) Query data from the database, without mapping results to Data Transfer Objects (DTOs).SelectApiImpl.select(ExpressionSpec... expressions) OrderByClauseChain.then(ExpressionSpec... columns) Adds another ordering expression which again requires an explicit direction.JoinClauseTerminal.where(ExpressionSpec expression) Starts a WHERE clause for the SQL query.Constructors in org.litebridge.orm.api.select with parameters of type ExpressionSpecModifierConstructorDescriptionFromClauseStart(ExpressionSpec[] expressionSpecs, SelectEngineTerminal selectEngineTerminal, Function<LitebridgeContext.Mode, LitebridgeContext> litebridgeContextCreator) Creates a newFromClauseStartinstance with expression specifications.FromClauseStartTypeOverride(Class<ReturnType> typeOverride, ExpressionSpec[] expressionSpecs, SelectEngineTerminal selectEngineTerminal, Function<LitebridgeContext.Mode, LitebridgeContext> litebridgeContextCreator) Constructs a newFromClauseStartTypeOverride. -
Uses of ExpressionSpec in org.litebridge.orm.api.select.dto
Methods in org.litebridge.orm.api.select.dto that return types with arguments of type ExpressionSpecModifier and TypeMethodDescriptionprotected Stream<ExpressionSpec> DtoProtoExpressionResolver.resolveSelectColumnSpec(QueryField queryField, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Methods in org.litebridge.orm.api.select.dto with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoHavingConditionClauseTerminal.and(ExpressionSpec expression) DtoJoinConditionClauseTerminal.and(ExpressionSpec expression) DtoWhereConditionClauseTerminal.and(ExpressionSpec expression) DtoFromClauseTerminal.groupBy(ExpressionSpec... expressions) DtoJoinConditionClauseTerminal.groupBy(ExpressionSpec... expressions) DtoWhereConditionClauseTerminal.groupBy(ExpressionSpec... expressions) DtoGroupByClauseTerminal.having(ExpressionSpec expression) DtoJoinClause.on(ExpressionSpec expression) Adds a join ON condition based on a query expression.DtoHavingConditionClauseTerminal.or(ExpressionSpec expression) DtoJoinConditionClauseTerminal.or(ExpressionSpec expression) DtoWhereConditionClauseTerminal.or(ExpressionSpec expression) DtoFromClauseTerminal.orderBy(ExpressionSpec... fields) DtoGroupByClauseTerminal.orderBy(ExpressionSpec... expressions) DtoHavingConditionClauseTerminal.orderBy(ExpressionSpec... fields) DtoJoinConditionClauseTerminal.orderBy(ExpressionSpec... fields) DtoWhereConditionClauseTerminal.orderBy(ExpressionSpec... fields) DtoOrderByClauseChain.then(ExpressionSpec... fields) DtoFromClauseTerminal.where(ExpressionSpec expression) DtoJoinConditionClauseTerminal.where(ExpressionSpec expression) Constructors in org.litebridge.orm.api.select.dto with parameters of type ExpressionSpecModifierConstructorDescriptionDtoGroupByClauseTerminal(ExpressionSpec[] expressions, QueryNode node, SelectEngineTerminal selectEngineTerminal, LitebridgeContext litebridgeContext) Creates a newDtoGroupByClauseTerminalinstance using expressions.DtoHavingConditionClause(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.DtoOrderByClause(ExpressionSpec[] expressions, QueryNode node, SelectEngineTerminal selectEngineTerminal, LitebridgeContext litebridgeContext) Creates a new instance ofDtoOrderByClausewith expressions.DtoWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, DtoWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoWhereConditionClauseinstance. -
Uses of ExpressionSpec in org.litebridge.orm.api.select.impl
Constructors in org.litebridge.orm.api.select.impl with parameters of type ExpressionSpecModifierConstructorDescriptionprotectedConditionClauseImpl(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, CCT> terminalCreator) Creates a newConditionClauseImplinstance. -
Uses of ExpressionSpec in org.litebridge.orm.api.select.model
Methods in org.litebridge.orm.api.select.model that return ExpressionSpecModifier and TypeMethodDescription@Nullable ExpressionSpecConditionSpec.lhsExpression()Returns the value of thelhsExpressionrecord component.Methods in org.litebridge.orm.api.select.model that return types with arguments of type ExpressionSpecModifier and TypeMethodDescriptionprotected Stream<ExpressionSpec> ProtoExpressionResolver.resolveConvertSpec(ConvertSpec<?> convertSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a convert specification.ProtoExpressionResolver.resolveExpression(ExpressionSpec expressionSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a proto-expression into anExpressionSpec.ProtoExpressionResolver.resolveExpression(Resolvable resolvable, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves aResolvableinto anExpressionSpec.ProtoExpressionResolver.resolveExpressions(List<ExpressionSpec> expressionSpecs, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a list of expression specifications.SelectExpressionMapper.resolveProtoExpression(ExpressionSpec expressionSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a proto-expression into one or more concrete expression specifications.protected abstract Stream<ExpressionSpec> ProtoExpressionResolver.resolveSelectColumnSpec(QueryField queryField, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a query field into a column expression specification.Methods in org.litebridge.orm.api.select.model with parameters of type ExpressionSpecModifier 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.ProtoExpressionResolver.resolveExpression(ExpressionSpec expressionSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a proto-expression into anExpressionSpec.SelectExpressionMapper.resolveProtoExpression(ExpressionSpec expressionSpec, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a proto-expression into one or more concrete expression specifications.SelectExpressionMapper.toSelectExpression(ExpressionSpec expressionSpec, Map<String, SelectExpression> selectExpressionAliasMap) Converts anExpressionSpecinto a dialect-specificSelectExpression.Method parameters in org.litebridge.orm.api.select.model with type arguments of type ExpressionSpecModifier and TypeMethodDescriptionstatic booleanProtoExpressionResolver.isSupported(Class<? extends ExpressionSpec> type) Checks if a given expression type is supported for resolution.ProtoExpressionResolver.resolveExpressions(List<ExpressionSpec> expressionSpecs, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Resolves a list of expression specifications.Constructors in org.litebridge.orm.api.select.model with parameters of type ExpressionSpecModifierConstructorDescriptionConditionSpec(@Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, @Nullable Operator operator, @Nullable Object value) Creates an instance of aConditionSpecrecord class. -
Uses of ExpressionSpec in org.litebridge.orm.api.select.sql
Methods in org.litebridge.orm.api.select.sql that return types with arguments of type ExpressionSpecModifier and TypeMethodDescriptionprotected Stream<ExpressionSpec> SqlProtoExpressionResolver.resolveSelectColumnSpec(QueryField queryField, @Nullable OrmTable ormTable, Table table, @Nullable String tableAlias, ClauseType clause) Methods in org.litebridge.orm.api.select.sql with parameters of type ExpressionSpecModifier and TypeMethodDescriptionSqlHavingConditionClauseTerminal.and(ExpressionSpec expression) SqlJoinConditionClauseTerminal.and(ExpressionSpec expression) SqlWhereConditionClauseTerminal.and(ExpressionSpec expression) SqlFromClauseTerminal.groupBy(ExpressionSpec... expressions) SqlJoinConditionClauseTerminal.groupBy(ExpressionSpec... expressions) SqlWhereConditionClauseTerminal.groupBy(ExpressionSpec... expressions) SqlGroupByClauseTerminal.having(ExpressionSpec expression) SqlJoinClause.on(ExpressionSpec expression) Adds a join ON condition based on a query expression.SqlHavingConditionClauseTerminal.or(ExpressionSpec expression) SqlJoinConditionClauseTerminal.or(ExpressionSpec expression) SqlWhereConditionClauseTerminal.or(ExpressionSpec expression) SqlFromClauseTerminal.orderBy(ExpressionSpec... expressions) SqlGroupByClauseTerminal.orderBy(ExpressionSpec... expressions) SqlHavingConditionClauseTerminal.orderBy(ExpressionSpec... expressions) SqlJoinConditionClauseTerminal.orderBy(ExpressionSpec... expressions) SqlWhereConditionClauseTerminal.orderBy(ExpressionSpec... expressions) SqlOrderByClauseChain.then(ExpressionSpec... expressions) SqlFromClauseTerminal.where(ExpressionSpec expression) SqlJoinConditionClauseTerminal.where(ExpressionSpec expression) Constructors in org.litebridge.orm.api.select.sql with parameters of type ExpressionSpecModifierConstructorDescriptionSqlGroupByClauseTerminal(SelectNode selectNode, ExpressionSpec[] expressions, QueryNode node, SelectEngineTerminal selectEngineTerminal, LitebridgeContext litebridgeContext) Creates a newSqlGroupByClauseTerminalinstance using expressions.SqlHavingConditionClause(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.SqlOrderByClause(ExpressionSpec[] expressions, QueryNode node, SelectEngineTerminal selectEngineTerminal, LitebridgeContext litebridgeContext) Creates a new instance ofSqlOrderByClausewith expressions.SqlWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, @Nullable QueryNode node, Function<QueryNode, SqlWhereConditionClauseTerminal<ReturnType>> terminalRecreator) Creates a newSqlWhereConditionClauseinstance. -
Uses of ExpressionSpec in org.litebridge.orm.api.update
Methods in org.litebridge.orm.api.update with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoUpdateWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) SqlUpdateWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) DtoUpdateWhereConditionClauseTerminalImpl.or(ExpressionSpec expression) SqlUpdateWhereConditionClauseTerminalImpl.or(ExpressionSpec expression) DtoUpdateStart.set(ExpressionSpec expression) DtoUpdateStep.set(ExpressionSpec expression) SqlUpdateStart.set(ExpressionSpec expression) Sets a column to be updated in the SQLUPDATEstatement via an expression.SqlUpdateStep.set(ExpressionSpec expression) UpdateStart.set(ExpressionSpec expression) Starts a SET clause with an expression.DtoUpdateStep.where(ExpressionSpec expression) SqlUpdateStep.where(ExpressionSpec expression) UpdateStep.where(ExpressionSpec expression) Starts a WHERE clause with an expression.Constructors in org.litebridge.orm.api.update with parameters of type ExpressionSpecModifierConstructorDescriptionDtoUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, DtoUpdateStep<DTO>> updateStepCreator) Creates a newDtoUpdateSetStepinstance with an expression specification.DtoUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsField, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, DtoUpdateWhereConditionClauseTerminal<DTO>> terminalRecreator) Creates a newDtoUpdateWhereConditionClauseinstance.SqlUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, SqlUpdateStep> updateStepCreator) Creates a newSqlUpdateSetStepinstance with an expression specification.SqlUpdateWhereConditionClause(LitebridgeContext litebridgeContext, LogicOperator logicOperator, @Nullable String lhsColumn, @Nullable ExpressionSpec lhsExpression, Function<QueryNode, SqlUpdateWhereConditionClauseTerminal> terminalRecreator) Creates a newSqlUpdateWhereConditionClauseinstance.protectedUpdateSetStep(ExpressionSpec expressionSpec, QueryNode node, Function<QueryNode, US> updateStepCreator) Creates a newUpdateSetStepinstance with an expression specification. -
Uses of ExpressionSpec in org.litebridge.orm.engine
Methods in org.litebridge.orm.engine with parameters of type ExpressionSpecModifier and TypeMethodDescriptionSelectEngine.select(ExpressionSpec[] expressions, Function<LitebridgeContext.Mode, LitebridgeContext> litebridgeContextCreator) Starts a SELECT query selecting the specified expressions. -
Uses of ExpressionSpec in org.litebridge.orm.engine.ast
Methods in org.litebridge.orm.engine.ast that return ExpressionSpecModifier and TypeMethodDescription@Nullable ExpressionSpecOrderByNode.expression()Returns the value of theexpressionrecord component.ExpressionSpec @Nullable []GroupByNode.expressions()Returns the value of theexpressionsrecord component.ExpressionSpec @Nullable []SelectNode.expressions()Returns the value of theexpressionsrecord component.@Nullable ExpressionSpecSetNode.expressionSpec()Returns the value of theexpressionSpecrecord component.ExpressionSpec @Nullable []InsertNode.expressionSpecs()Returns the value of theexpressionSpecsrecord component.@Nullable ExpressionSpecConditionNode.lhsExpression()Returns the value of thelhsExpressionrecord component.@Nullable ExpressionSpecConditionJoinUsingNode.usingExpression()Returns the value of theusingExpressionrecord component.Constructors in org.litebridge.orm.engine.ast with parameters of type ExpressionSpecModifierConstructorDescriptionConditionJoinUsingNode(@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.GroupByNode(@Nullable QueryNode previous, String @Nullable [] columns, ExpressionSpec @Nullable [] expressions) Creates an instance of aGroupByNoderecord class.InsertNode(@Nullable String table, @Nullable Class<?> dtoClass, @Nullable Class<?> contextDtoClass, String @Nullable [] columns, ExpressionSpec @Nullable [] expressionSpecs) Creates an instance of aInsertNoderecord class.InsertNode(@Nullable String table, @Nullable Class<?> dtoClass, ExpressionSpec[] expressionSpecs) Creates a newInsertNodeinstance with expression specifications.OrderByNode(@Nullable QueryNode previous, @Nullable String column, @Nullable ExpressionSpec expression, boolean ascending) Creates an instance of aOrderByNoderecord class.SelectNode(@Nullable String table, @Nullable Class<?> dtoClass, @Nullable Class<?> contextDtoClass, @Nullable QueryNode fromQueryNode, @Nullable String alias, String @Nullable [] columns, ExpressionSpec @Nullable [] expressions, Class<?> @Nullable [] resultTypes) Creates an instance of aSelectNoderecord class.SelectNode(Class<?> dtoClass, @Nullable Class<?> contextDtoClass, @Nullable String alias, String @Nullable [] columns, ExpressionSpec @Nullable [] expressions, Class<?> @Nullable [] resultTypes) SelectNode(String @Nullable [] columns, ExpressionSpec @Nullable [] expressions, Class<?> @Nullable [] resultTypes) SelectNode(String table, @Nullable String alias, String @Nullable [] columns, ExpressionSpec @Nullable [] expressions, Class<?> @Nullable [] resultTypes) SelectNode(@Nullable QueryNode fromQueryNode, @Nullable String alias, String @Nullable [] columns, ExpressionSpec @Nullable [] expressions, Class<?> @Nullable [] resultTypes) SetNode(@Nullable QueryNode previous, @Nullable String column, @Nullable ExpressionSpec expressionSpec, @Nullable Object value, @Nullable MathOperator mathOperator) Creates an instance of aSetNoderecord class.SetNode(@Nullable QueryNode previous, ExpressionSpec expressionSpec, @Nullable Object value) Creates a newSetNodeinstance targeting a column by expression specification. -
Uses of ExpressionSpec in org.litebridge.orm.expression
Subinterfaces of ExpressionSpec in org.litebridge.orm.expressionModifier and TypeInterfaceDescriptioninterfaceQuery expression encapsulating a target column.interfaceA query expression that can nest another query expression.interfaceProto-expression, used to prescribe aExpressionSpectype when sufficient information is available.interfaceA proto-expression capable of nesting other proto-expressions.interfaceString type-overriding nestable expression.interfaceA query expression that overrides the type of the result.Classes in org.litebridge.orm.expression that implement ExpressionSpecModifier and TypeClassDescriptionclassclassclassNumber type-overriding nestable expressionfinal recordProto-expression, used to specify column names/aliases for use in the target expression type.final classProto-expression that allows nesting other proto-expressions.final classType override proto-expression that allows nesting other proto-expressions.Methods in org.litebridge.orm.expression that return ExpressionSpecModifier and TypeMethodDescriptionstatic ExpressionSpecSelects a DTO field by name for the specified DTO type that is selected/joined in the query, and aliases it with the specified alias.static ExpressionSpecSelects a database column by name and aliases it with the specified alias.static ExpressionSpecSelects a database column by name and alias.static ExpressionSpecSelects a database column by name and aliases it with the specified alias.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by its table and simple column name.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by name and aliases it with the specified alias.static ExpressionSpecSelects a database column by name and alias.static ExpressionSpecSelects a database column by name and aliases it with the specified alias.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by its table and simple column name.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a DTO field by name for the specified DTO type that is selected/joined in the query.static ExpressionSpecSelects a DTO field by name for the DTO class selected in the query.static ExpressionSpecSelects a DTO field by name for the specified DTO type that is selected/joined in the query.static ExpressionSpecSelects a DTO field by name for the entity/DTO class selected in the query.ProtoNestableExpressionSpec.target()The nested target expression.ProtoNestableTOExpr.target()Methods in org.litebridge.orm.expression that return types with arguments of type ExpressionSpecModifier and TypeMethodDescriptionClass<? extends ExpressionSpec> ProtoColumnExpressionSpec.type()Returns the value of thetyperecord component.Class<? extends ExpressionSpec> ProtoNestableBasicExprSpec.type()Class<? extends ExpressionSpec> ProtoNestableTOExpr.type()Class<? extends ExpressionSpec> Resolvable.type()Returns the type ofExpressionSpecthat thisResolvablecan resolve to.Methods in org.litebridge.orm.expression with parameters of type ExpressionSpecModifier and TypeMethodDescriptionstatic ProtoNestableTOExpr<Number> Fn.abs(ExpressionSpec expressionSpec) ABS(): Absolute value of a number.static AliasReferenceSpecFn.aliasRef(String tableAlias, ExpressionSpec expression) References an aliased column in the query in the context of a parent table/subquery.static TypeOverrideExpressionSpec<Number> Fn.avg(ExpressionSpec expressionSpec) AVG(): Returns the average value of a column/field.static <T> ConvertIntent<T> Fn.convert(Class<T> returnType, ExpressionSpec... expressions) Converts the results of multiple expressions into a single Java object of the specified type.static <T> ConvertSpec<T> Fn.convert(ExpressionSpec expression, Class<T> returnType) Converts a database result into the specified Java type.static ProtoNestableTOExpr<String> Fn.lower(ExpressionSpec expressionSpec) LOWER(): Returns the lowercase value of a column's text.static TypeOverrideExpressionSpec<Number> Fn.max(ExpressionSpec expressionSpec) MAX(): Returns the highest or largest value within a specified expression.static TypeOverrideExpressionSpec<Number> Fn.min(ExpressionSpec expressionSpec) MIN(): Returns the lowest or smallest value within a specified column or expressionstatic ConvertIntent<Row> Fn.row(ExpressionSpec... expressions) Converts the results of multiple expressions into a single databaseRowobject.static ProtoNestableTOExpr<String> Fn.substring(ExpressionSpec expressionSpec, int start) SUBSTRING(): Returns the lowercase value of a column's text.static ProtoNestableTOExpr<String> Fn.substring(ExpressionSpec expressionSpec, int start, int length) SUBSTRING(): Returns the lowercase value of a column's text.static ProtoNestableTOExpr<String> Fn.upper(ExpressionSpec expressionSpec) UPPER(): Returns the uppercase value of a column's text.Constructors in org.litebridge.orm.expression with parameters of type ExpressionSpecModifierConstructorDescriptionProtoNestableTOExpr(Class<T> typeOverride, Class<? extends ExpressionSpec> type, ExpressionSpec target, @Nullable String alias) Constructs a new ProtoTOColumnExpression instance with empty extra arguments.ProtoNestableTOExpr(Class<T> typeOverride, Class<? extends ExpressionSpec> type, ExpressionSpec target, @Nullable String alias, @Nullable Object @Nullable [] args) Constructor parameters in org.litebridge.orm.expression with type arguments of type ExpressionSpecModifierConstructorDescriptionProtoColumnExpressionSpec(Class<? extends ExpressionSpec> type, String column) Creates a new ProtoColumnExpressionSpec with no alias.ProtoColumnExpressionSpec(Class<? extends ExpressionSpec> type, String column, @Nullable String alias) Creates a new ProtoColumnExpressionSpec.ProtoColumnExpressionSpec(Class<? extends ExpressionSpec> type, String column, @Nullable String alias, @Nullable Object @Nullable [] args) Creates an instance of aProtoColumnExpressionSpecrecord class.ProtoNestableBasicExprSpec(Class<? extends ExpressionSpec> type, String column, @Nullable String alias) Constructs a new ProtoNestableBasicExprSpec instance via column name.ProtoNestableBasicExprSpec(Class<? extends ExpressionSpec> type, ProtoExpressionSpec target, @Nullable String alias) Creates a new ProtoNestableBasicExprSpec. -
Uses of ExpressionSpec in org.litebridge.orm.expression.function.aggregate
Classes in org.litebridge.orm.expression.function.aggregate that implement ExpressionSpecModifier and TypeClassDescriptionfinal classAvgSpec<T>AVG(): Returns the average value of a column.final classCOUNT(): Selects the count of rows matching the query.final classMaxSpec<T>MAX(): Returns the highest or largest value within a specified column or expressionfinal classMinSpec<T>MIN(): Returns the lowest or smallest value within a specified column or expression -
Uses of ExpressionSpec in org.litebridge.orm.expression.function.date
Classes in org.litebridge.orm.expression.function.date that implement ExpressionSpecModifier and TypeClassDescriptionfinal classCURRENT_TIMESTAMP(): Returns the current date/time from the database. -
Uses of ExpressionSpec in org.litebridge.orm.expression.function.scalar
Classes in org.litebridge.orm.expression.function.scalar that implement ExpressionSpecModifier and TypeClassDescriptionfinal classABS(): Absolute value of a number.final classLOWER(): Returns the lowercase value of a column.final classSUBSTRING(): Returns a substring of a column's text.final classUPPER(): Returns the uppercase value of a column. -
Uses of ExpressionSpec in org.litebridge.orm.expression.intent
Classes in org.litebridge.orm.expression.intent that implement ExpressionSpecModifier and TypeClassDescriptionfinal recordConvertSpec<T>Converts a database result into the specified Java type.final recordArray of expression specifications.Methods in org.litebridge.orm.expression.intent that return ExpressionSpecModifier and TypeMethodDescriptionExpressionSpecArray.expressions()Returns the value of theexpressionsrecord component.ConvertIntent.target()Returns the value of thetargetrecord component.ConvertSpec.target()Gets the target expression for conversion.Methods in org.litebridge.orm.expression.intent that return types with arguments of type ExpressionSpecMethods in org.litebridge.orm.expression.intent with parameters of type ExpressionSpecModifier and TypeMethodDescriptionConvertSpec.replaceTarget(ExpressionSpec resolvedExpressionSpec) Creates a newConvertSpecwith a replaced target expression.Constructors in org.litebridge.orm.expression.intent with parameters of type ExpressionSpecModifierConstructorDescriptionConvertIntent(ExpressionSpec[] target, Class<T> returnType) Creates an instance of aConvertIntentrecord class.ConvertSpec(ExpressionSpec target, Class<T> returnType) Constructs aConvertSpecwith the specified target expression and return type.ExpressionSpecArray(ExpressionSpec[] expressions) Creates an instance of aExpressionSpecArrayrecord class. -
Uses of ExpressionSpec in org.litebridge.orm.expression.select
Classes in org.litebridge.orm.expression.select that implement ExpressionSpecModifier and TypeClassDescriptionfinal recordfinal recordfinal classfinal recordAn expression that alters the query in some way.final classExpression that selects a database column.Methods in org.litebridge.orm.expression.select that return ExpressionSpecModifier and TypeMethodDescription@Nullable ExpressionSpecAliasReferenceSpec.expression()Returns the value of theexpressionrecord component.Constructors in org.litebridge.orm.expression.select with parameters of type ExpressionSpecModifierConstructorDescriptionAliasReferenceSpec(@Nullable String alias, @Nullable ExpressionSpec expression, @Nullable String tableAlias) Creates an instance of aAliasReferenceSpecrecord class.AliasReferenceSpec(ExpressionSpec expression, String tableAlias) -
Uses of ExpressionSpec in org.litebridge.orm.meta
Classes in org.litebridge.orm.meta that implement ExpressionSpecModifier and TypeClassDescriptionfinal classMetamodel field for querying numeric-based columns in a type-safe manner.classBasic metamodel field definition.final classMetamodel field for querying string-based columns in a type-safe manner.Fields in org.litebridge.orm.meta declared as ExpressionSpecModifier and TypeFieldDescriptionprotected final @Nullable ExpressionSpecQueryField.pendingExpressionSpecPending chained expression spec to use;Methods in org.litebridge.orm.meta that return ExpressionSpecModifier and TypeMethodDescriptionQueryField.as(AliasReferenceSpec alias) static @Nullable ExpressionSpecQueryFieldInspector.getPendingExpressionSpec(QueryField queryField) Constructors in org.litebridge.orm.meta with parameters of type ExpressionSpecModifierConstructorDescriptionprotectedQueryField(QueryField other, ExpressionSpec pendingExpressionSpec)