Uses of Interface
org.litebridge.db.spi.expression.SelectExpression
Packages that use SelectExpression
Package
Description
Database query expressions.
SQL expression/function implementations.
SQL aggregate functions.
SQL date functions.
SQL scalar functions.
Query-related models
Update-related models
Query/clause specification models used in the query API
-
Uses of SelectExpression in org.litebridge.db.spi.expression
Subinterfaces of SelectExpression in org.litebridge.db.spi.expressionModifier and TypeInterfaceDescriptioninterfaceinterfaceinterfaceA bind value in a query expression.interfaceA column-based expression within a SQL query.interfaceReference to an unaliased column in the select query.interfaceA select expression in a SQL query that requires aConnectionProviderto render.interfaceInterface for nesting query expressions such as SQL functions.interfaceClasses in org.litebridge.db.spi.expression that implement SelectExpressionModifier and TypeClassDescriptionfinal recordRepresents a conversion expression that wraps anotherSelectExpression, potentially overriding its type.classA query expression that represents a subselect.Methods in org.litebridge.db.spi.expression that return SelectExpressionModifier and TypeMethodDescriptionSqlFunctionRegistry.Aggregate.count()Returns the value of thecountrecord component.SqlFunctionRegistry.Date.currentTimestamp()Returns the value of thecurrentTimestamprecord component.ConvertExpression.target()Returns the value of thetargetrecord component.DelegateExpression.target()Retrieves the target expression of this delegate.Methods in org.litebridge.db.spi.expression with parameters of type SelectExpressionModifier and TypeMethodDescriptionDelegateExpressionFactory.create(SelectExpression target, @Nullable Object... args) Creates a nestable column expression.Constructors in org.litebridge.db.spi.expression with parameters of type SelectExpressionModifierConstructorDescriptionAggregate(DelegateExpressionFactory avg, DelegateExpressionFactory min, DelegateExpressionFactory max, SelectExpression count) Creates an instance of aAggregaterecord class.ConvertExpression(SelectExpression target, Class<?> typeOverride) Creates an instance of aConvertExpressionrecord class.Date(SelectExpression currentTimestamp) Creates an instance of aDaterecord class. -
Uses of SelectExpression in org.litebridge.db.spi.impl.expression
Classes in org.litebridge.db.spi.impl.expression that implement SelectExpressionModifier and TypeClassDescriptionclassclassAbstract base class for column-specific SQL expressions.classclassclassAn encapsulated literal value in a query expression.classclassAn encapsulated literal value in a query expression.classExpression to select a database column.classA subselect expression.Methods in org.litebridge.db.spi.impl.expression that return SelectExpressionModifier and TypeMethodDescriptionprotected SelectExpressionSqlFunctionRegistryFactory.createCount()Creates a COUNT-implementing expression.protected SelectExpressionSqlFunctionRegistryFactory.createCurrentTimestamp()Creates a CURRENT_TIMESTAMP-implementing expression.Cast.target()Methods in org.litebridge.db.spi.impl.expression with parameters of type SelectExpressionModifier and TypeMethodDescriptionprotected DelegateExpressionSqlFunctionRegistryFactory.createAbs(SelectExpression target, Object... args) Creates an ABS-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createAvg(SelectExpression target, Object... args) Creates an AVG-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createCast(SelectExpression target, Object... args) protected DelegateExpressionSqlFunctionRegistryFactory.createLower(SelectExpression target, Object... args) Creates a LOWER-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createMax(SelectExpression target, Object... args) Creates an MAX-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createMin(SelectExpression target, Object... args) Creates an MIN-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createSubstring(SelectExpression target, int start, @Nullable Integer length, @Nullable String alias) Creates a SUBSTRING-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createSubstring(SelectExpression target, Object... args) Creates a SUBSTRING-implementing expression.protected DelegateExpressionSqlFunctionRegistryFactory.createUpper(SelectExpression delegate, Object... args) Creates an UPPER-implementing expression.Constructors in org.litebridge.db.spi.impl.expression with parameters of type SelectExpressionModifierConstructorDescriptionCast(SelectExpression target, @Nullable String alias, int dataType, @Nullable Integer size, LabelGenerator labelGenerator) -
Uses of SelectExpression in org.litebridge.db.spi.impl.expression.function
Classes in org.litebridge.db.spi.impl.expression.function that implement SelectExpressionModifier and TypeClassDescriptionclassBase class for function expressions operating on a column.Methods in org.litebridge.db.spi.impl.expression.function that return SelectExpressionConstructors in org.litebridge.db.spi.impl.expression.function with parameters of type SelectExpressionModifierConstructorDescriptionprotectedFunctionExpression(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Constructor. -
Uses of SelectExpression in org.litebridge.db.spi.impl.expression.function.aggregate
Classes in org.litebridge.db.spi.impl.expression.function.aggregate that implement SelectExpressionModifier and TypeClassDescriptionclassAVG(column)aggregate function.classCOUNT(*)aggregate function.classMAX(column)aggregate function.classMIN(column)aggregate function.Constructors in org.litebridge.db.spi.impl.expression.function.aggregate with parameters of type SelectExpressionModifierConstructorDescriptionAvg(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Constructs a newAVGfunction expression.Max(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Creates a newMaxfunction.Min(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Creates a newMINaggregate function. -
Uses of SelectExpression in org.litebridge.db.spi.impl.expression.function.date
Classes in org.litebridge.db.spi.impl.expression.function.date that implement SelectExpression -
Uses of SelectExpression in org.litebridge.db.spi.impl.expression.function.scalar
Classes in org.litebridge.db.spi.impl.expression.function.scalar that implement SelectExpressionModifier and TypeClassDescriptionclassABS(column)scalar function.classLOWER(column)scalar function.classSUBSTRING(column, start, length)scalar function.classUPPER(column)scalar function.Constructors in org.litebridge.db.spi.impl.expression.function.scalar with parameters of type SelectExpressionModifierConstructorDescriptionAbs(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Constructs a newABSfunction expression.Lower(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Creates a newLOWERscalar function expression.Substring(SelectExpression target, int start, @Nullable Integer length, @Nullable String alias, LabelGenerator labelGenerator) Construct aSUBSTRINGfunction.Upper(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Creates a newUPPERfunction. -
Uses of SelectExpression in org.litebridge.db.spi.query
Methods in org.litebridge.db.spi.query that return SelectExpressionModifier and TypeMethodDescriptionOrderBy.expression()Returns the value of theexpressionrecord component.@Nullable SelectExpressionCondition.lhs()Returns the value of thelhsrecord component.@Nullable SelectExpressionCondition.rhs()Returns the value of therhsrecord component.Methods in org.litebridge.db.spi.query that return types with arguments of type SelectExpressionModifier and TypeMethodDescriptionList<? extends SelectExpression> Select.expressions()Returns the value of theexpressionsrecord component.@Nullable List<SelectExpression> Select.groupBy()Returns the value of thegroupByrecord component.Constructors in org.litebridge.db.spi.query with parameters of type SelectExpressionModifierConstructorDescriptionCondition(@Nullable SelectExpression lhs, Operator operator, @Nullable SelectExpression rhs) Creates an instance of aConditionrecord class.Condition(SelectExpression lhs, Operator operator) Convenience constructor forOperator.IS_NULLand @{code Operator.IS_NOT_NULL} operators.LogicCondition(SelectExpression lhs, Operator operator, @Nullable SelectExpression rhs) Constructs a logical condition with the specified left-hand side (LHS) expression, operator, and value.OrderBy(SelectExpression expression, boolean asc) Creates an instance of aOrderByrecord class.Constructor parameters in org.litebridge.db.spi.query with type arguments of type SelectExpressionModifierConstructorDescriptionSelect(SelectTarget from, List<? extends SelectExpression> expressions) Select(SelectTarget from, List<? extends SelectExpression> expressions, @Nullable List<Join> joins, @Nullable ConditionGroup where, @Nullable List<SelectExpression> groupBy, @Nullable ConditionGroup having, @Nullable List<OrderBy> orderBy, @Nullable Limit limit) Creates an instance of aSelectrecord class. -
Uses of SelectExpression in org.litebridge.db.spi.update
Methods in org.litebridge.db.spi.update that return SelectExpressionModifier and TypeMethodDescription@Nullable SelectExpressionUpdateColumn.staticValue()Returns the value of thestaticValuerecord component.Constructors in org.litebridge.db.spi.update with parameters of type SelectExpressionModifierConstructorDescriptionUpdateColumn(String name, @Nullable SelectExpression staticValue) UpdateColumn(String name, @Nullable ColumnValueGenerator generator, @Nullable MathOperator mathOperator, @Nullable Integer bindValueIndex, @Nullable SelectExpression staticValue) Creates an instance of aUpdateColumnrecord class. -
Uses of SelectExpression in org.litebridge.orm.api.select.model
Methods in org.litebridge.orm.api.select.model that return SelectExpressionModifier and TypeMethodDescriptionSelectExpressionMapper.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 SelectExpressionModifier and TypeMethodDescriptionSelectExpressionMapper.toSelectExpression(ExpressionSpec expressionSpec, Map<String, SelectExpression> selectExpressionAliasMap) Converts anExpressionSpecinto a dialect-specificSelectExpression.