Uses of Interface
org.litebridgedb.orm.expression.ExpressionSpec
Packages that use ExpressionSpec
Package
Description
Litebridge ORM
Fluent API for constructing DTO-mapped SQL queries (SELECT statements)
Fluent API for constructing DTO-based deletes (DELETE statements)
Fluent API for constructing DTO-based updates (UPDATE statements)
Fluent API for constructing SQL queries (SELECT statements)
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 direct SQL deletes (DELETE statements)
Fluent API for constructing direct SQL updates (UPDATE statements)
Update API models
Core common ORM API function services.
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.litebridgedb.orm
Methods in org.litebridgedb.orm with parameters of type ExpressionSpec -
Uses of ExpressionSpec in org.litebridgedb.orm.api.dto
Methods in org.litebridgedb.orm.api.dto that return types with arguments of type ExpressionSpecMethods in org.litebridgedb.orm.api.dto with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoHavingConditionClauseTerminal.and(ExpressionSpec expression) DtoJoinConditionClauseTerminal.and(ExpressionSpec expression) DtoWhereConditionClauseTerminal.and(ExpressionSpec expression) Adds an "AND" condition to the current condition clause using the specified column.DtoFromClauseTerminal.groupBy(ExpressionSpec... fields) DtoJoinConditionClauseTerminal.groupBy(ExpressionSpec... fields) DtoWhereConditionClauseTerminal.groupBy(ExpressionSpec... fields) DtoGroupByClauseTerminal.having(ExpressionSpec expression) DtoJoinSpec.newCondition(ExpressionSpec expression) DtoJoinClause.on(ExpressionSpec expression) DtoFromClauseTerminal.orderBy(ExpressionSpec... fields) DtoGroupByClauseTerminal.orderBy(ExpressionSpec... fields) DtoHavingConditionClauseTerminal.orderBy(ExpressionSpec... fields) DtoJoinConditionClauseTerminal.orderBy(ExpressionSpec... fields) DtoWhereConditionClauseTerminal.orderBy(ExpressionSpec... fields) DtoSelector.select(ExpressionSpec... expressionSpecs) DtoOrderByClauseChain.then(ExpressionSpec... fields) DtoFromClauseTerminal.where(ExpressionSpec expression) DtoJoinConditionClauseTerminal.where(ExpressionSpec expression) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.dto.delete
Methods in org.litebridgedb.orm.api.dto.delete with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoDeleteWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) DtoDeleteWhereClause.where(ExpressionSpec expression) DtoDeletor.where(ExpressionSpec expression) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.dto.update
Methods in org.litebridgedb.orm.api.dto.update with parameters of type ExpressionSpecModifier and TypeMethodDescriptionDtoUpdateWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) DtoUpdater.where(ExpressionSpec expression) DtoUpdateStep.where(ExpressionSpec expression) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.select
Fields in org.litebridgedb.orm.api.select declared as ExpressionSpecModifier and TypeFieldDescriptionprotected final ExpressionSpec[]AbstractFromClauseStart.expressionSpecsprotected final ExpressionSpec[]AbstractFromClauseStart.expressionSpecsMethods in org.litebridgedb.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) 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).OrderByClauseChain.then(ExpressionSpec... columns) Adds another ordering expression which again requires an explicit direction.JoinClauseTerminal.where(ExpressionSpec expression) Constructors in org.litebridgedb.orm.api.select with parameters of type ExpressionSpecModifierConstructorDescriptionFromClauseStart(ExpressionSpec[] expressionSpecs, FromClauseEngine fromClauseEngine) FromClauseStartTypeOverride(Class<TypeOverride> typeOverride, ExpressionSpec[] expressionSpecs, FromClauseEngine fromClauseEngine) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.select.model
Fields in org.litebridgedb.orm.api.select.model with type parameters of type ExpressionSpecMethods in org.litebridgedb.orm.api.select.model that return ExpressionSpecMethods in org.litebridgedb.orm.api.select.model that return types with arguments of type ExpressionSpecModifier and TypeMethodDescriptionGroupBySpec.expressions()Returns the value of theexpressionsrecord component.OrderBySpec.expressions()SelectSpec.getExpressions()protected Stream<ExpressionSpec> ProtoExpressionResolver.resolveConvertSpec(ConvertSpec<?> convertSpec) ProtoExpressionResolver.resolveExpression(ExpressionSpec expressionSpec) Resolves a proto-expression into anExpressionSpec.ProtoExpressionResolver.resolveExpression(Resolvable resolvable) Resolves aResolvableinto anExpressionSpec.ProtoExpressionResolver.resolveExpressions(List<ExpressionSpec> expressionSpecs) Methods in org.litebridgedb.orm.api.select.model with parameters of type ExpressionSpecModifier and TypeMethodDescriptionSelectSpec.convertToSelectExpressionStream(ExpressionSpec[] expressionSpecs, boolean useSelectReferences) SelectSpec.newHavingCondition(ExpressionSpec expressionSpec) SelectSpec.newOrderBy(ExpressionSpec... expressions) SelectSpec.newWhereCondition(ExpressionSpec expressionSpec) ProtoExpressionResolver.resolveExpression(ExpressionSpec expressionSpec) Resolves a proto-expression into anExpressionSpec.voidConditionSpec.setLhs(ExpressionSpec lhs) Method parameters in org.litebridgedb.orm.api.select.model with type arguments of type ExpressionSpecModifier and TypeMethodDescriptionvoidSelectSpec.addExpressions(List<? extends ExpressionSpec> expressions) static booleanProtoExpressionResolver.isSupported(Class<? extends ExpressionSpec> type) SelectSpec.newOrderBy(List<ExpressionSpec> expressions) ProtoExpressionResolver.resolveExpressions(List<ExpressionSpec> expressionSpecs) voidSelectSpec.setExpressions(List<ExpressionSpec> expressionSpecs) Constructors in org.litebridgedb.orm.api.select.model with parameters of type ExpressionSpecConstructor parameters in org.litebridgedb.orm.api.select.model with type arguments of type ExpressionSpecModifierConstructorDescriptionGroupBySpec(List<ExpressionSpec> expressions) Creates an instance of aGroupBySpecrecord class.OrderBySpec(List<? extends ExpressionSpec> expressions) OrderBySpec(List<? extends ExpressionSpec> expressions, boolean asc) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.sql
Methods in org.litebridgedb.orm.api.sql that return types with arguments of type ExpressionSpecMethods in org.litebridgedb.orm.api.sql with parameters of type ExpressionSpecModifier and TypeMethodDescriptionSqlHavingConditionClauseTerminal.and(ExpressionSpec expression) SqlJoinConditionClauseTerminal.and(ExpressionSpec expression) SqlWhereConditionClauseTerminal.and(ExpressionSpec expression) SqlFromClauseTerminal.groupBy(ExpressionSpec... columns) SqlJoinConditionClauseTerminal.groupBy(ExpressionSpec... columns) SqlWhereConditionClauseTerminal.groupBy(ExpressionSpec... columns) SqlGroupByClauseTerminal.having(ExpressionSpec expression) SqlJoinSpec.newCondition(ExpressionSpec expression) SqlFromClauseTerminal.orderBy(ExpressionSpec... columns) SqlGroupByClauseTerminal.orderBy(ExpressionSpec... columns) SqlHavingConditionClauseTerminal.orderBy(ExpressionSpec... columns) SqlJoinConditionClauseTerminal.orderBy(ExpressionSpec... columns) SqlWhereConditionClauseTerminal.orderBy(ExpressionSpec... columns) SqlSelector.select(ExpressionSpec... expressionSpecs) SqlOrderByClauseChain.then(ExpressionSpec... columns) SqlFromClauseTerminal.where(ExpressionSpec expression) SqlJoinConditionClauseTerminal.where(ExpressionSpec expression) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.sql.delete
Methods in org.litebridgedb.orm.api.sql.delete with parameters of type ExpressionSpecModifier and TypeMethodDescriptionSqlDeleteWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) SqlDeleteWhereClause.where(ExpressionSpec expression) SqlDeletor.where(ExpressionSpec expression) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.sql.update
Methods in org.litebridgedb.orm.api.sql.update with parameters of type ExpressionSpecModifier and TypeMethodDescriptionSqlUpdateWhereConditionClauseTerminalImpl.and(ExpressionSpec expression) SqlUpdater.where(ExpressionSpec expression) SqlUpdateStep.where(ExpressionSpec expression) -
Uses of ExpressionSpec in org.litebridgedb.orm.api.update.model
Methods in org.litebridgedb.orm.api.update.model with parameters of type ExpressionSpec -
Uses of ExpressionSpec in org.litebridgedb.orm.engine
Methods in org.litebridgedb.orm.engine with parameters of type ExpressionSpecModifier and TypeMethodDescription<TypeOverride>
DtoFromClauseTerminal<TypeOverride> FromClauseEngine.from(ExpressionSpec[] expressionSpecs, Class<?> dtoClass, Class<TypeOverride> typeOverrideClass, @Nullable RelatedDtoStrategy relatedDtoStrategy) <DTO> DtoFromClauseTerminal<DTO> FromClauseEngine.from(ExpressionSpec[] expressionSpecs, Class<DTO> dtoClass, @Nullable RelatedDtoStrategy relatedDtoStrategy) FromClauseEngine.from(ExpressionSpec[] expressionSpecs, String table) SelectEngine.select(ExpressionSpec... expressions) -
Uses of ExpressionSpec in org.litebridgedb.orm.expression
Subinterfaces of ExpressionSpec in org.litebridgedb.orm.expressionModifier and TypeInterfaceDescriptioninterfaceQuery expression encapsulating a target column.interfaceA query expression that can nest another query expression.interfaceNumber type-overriding nestable expressioninterfaceProto-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.litebridgedb.orm.expression that implement ExpressionSpecModifier and TypeClassDescriptionfinal recordProto-expression, used to specify column names/aliases for use in the target expression type.final recordProto-expression that allows nesting other proto-expressions.final recordType override proto-expression that allows nesting other proto-expressions.Methods in org.litebridgedb.orm.expression that return ExpressionSpecModifier and TypeMethodDescriptionstatic ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by name and alias.static ExpressionSpecSelects a database column by name and alias.static ExpressionSpecSelects a database column by name and alias.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by name.static ExpressionSpecSelects a database column by name.static ExpressionSpecFn.columnAlias(String column, @Nullable String alias) Selects a database column by name and alias.static ExpressionSpecFn.columnAlias(String table, String column, @Nullable String columnAlias) Selects a database column by name and alias.static ExpressionSpecFn.columnAlias(Table table, String column, @Nullable String columnAlias) Selects a database column by name and alias.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 DTO class selected in the query.ProtoNestableExpressionSpec.target()The nested target expression.ProtoNestableTOExpr.target()Returns the value of thetargetrecord component.ExpressionModifier.toExpression()Get anExpressionSpecinstance that represents this modifier.Methods in org.litebridgedb.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()Returns the value of thetyperecord component.Class<? extends ExpressionSpec> ProtoNestableTOExpr.type()Returns the value of thetyperecord component.Class<? extends ExpressionSpec> Resolvable.type()Returns the type ofExpressionSpecthat thisResolvablecan resolve to.Methods in org.litebridgedb.orm.expression with parameters of type ExpressionSpecModifier and TypeMethodDescriptionstatic ProtoNestableTOExpr<Number> Fn.abs(ExpressionSpec expressionSpec) ABS(): Absolute value of a number.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) 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) 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.litebridgedb.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) Creates an instance of aProtoNestableTOExprrecord class.Constructor parameters in org.litebridgedb.orm.expression with type arguments of type ExpressionSpecModifierConstructorDescriptionProtoColumnExpressionSpec(Class<? extends ExpressionSpec> type, String column) ProtoColumnExpressionSpec(Class<? extends ExpressionSpec> type, String column, @Nullable String alias) 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 an instance of aProtoNestableBasicExprSpecrecord class. -
Uses of ExpressionSpec in org.litebridgedb.orm.expression.function.aggregate
Classes in org.litebridgedb.orm.expression.function.aggregate that implement ExpressionSpecModifier and TypeClassDescriptionfinal recordAvgSpec<T>AVG(): Returns the average value of a column.final recordCOUNT(): Selects the count of rows matching the query.final recordMaxSpec<T>MAX(): Returns the highest or largest value within a specified column or expressionfinal recordMinSpec<T>MIN(): Returns the lowest or smallest value within a specified column or expression -
Uses of ExpressionSpec in org.litebridgedb.orm.expression.function.date
Classes in org.litebridgedb.orm.expression.function.date that implement ExpressionSpecModifier and TypeClassDescriptionfinal classCURRENT_TIMESTAMP(): Returns the current date/time from the database. -
Uses of ExpressionSpec in org.litebridgedb.orm.expression.function.scalar
Classes in org.litebridgedb.orm.expression.function.scalar that implement ExpressionSpecModifier and TypeClassDescriptionfinal recordABS(): Absolute value of a number.final recordLOWER(): Returns the lowercase value of a column.final recordSUBSTRING(): Returns a substring of a column's text.final recordUPPER(): Returns the uppercase value of a column. -
Uses of ExpressionSpec in org.litebridgedb.orm.expression.intent
Classes in org.litebridgedb.orm.expression.intent that implement ExpressionSpecModifier and TypeClassDescriptionfinal classConvertSpec<T>Converts a database result into the specified Java type.final recordMethods in org.litebridgedb.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()Methods in org.litebridgedb.orm.expression.intent that return types with arguments of type ExpressionSpecMethods in org.litebridgedb.orm.expression.intent with parameters of type ExpressionSpecModifier and TypeMethodDescriptionConvertSpec.replaceTarget(ExpressionSpec resolvedExpressionSpec) Constructors in org.litebridgedb.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) ExpressionSpecArray(ExpressionSpec[] expressions) Creates an instance of aExpressionSpecArrayrecord class. -
Uses of ExpressionSpec in org.litebridgedb.orm.expression.select
Classes in org.litebridgedb.orm.expression.select that implement ExpressionSpecModifier and TypeClassDescriptionclassExpression that selects a database column.final classExpression spec that selects a DTO field.final record -
Uses of ExpressionSpec in org.litebridgedb.orm.meta
Classes in org.litebridgedb.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.