Module litebridge.db.spi.impl
Class Upper
java.lang.Object
org.litebridge.db.spi.impl.expression.AbstractExpression
org.litebridge.db.spi.impl.expression.AbstractAliasedExpression
org.litebridge.db.spi.impl.expression.function.FunctionExpression
org.litebridge.db.spi.impl.expression.function.scalar.Upper
- All Implemented Interfaces:
AliasedExpression,DelegateExpression,SelectExpression
UPPER(column) scalar function.-
Field Summary
Fields inherited from class org.litebridge.db.spi.impl.expression.AbstractAliasedExpression
alias, tableAliasFields inherited from class org.litebridge.db.spi.impl.expression.AbstractExpression
labelGenerator -
Constructor Summary
ConstructorsConstructorDescriptionUpper(SelectExpression target, @Nullable String alias, LabelGenerator labelGenerator) Creates a newUPPERfunction. -
Method Summary
Methods inherited from class org.litebridge.db.spi.impl.expression.function.FunctionExpression
target, toSqlMethods inherited from class org.litebridge.db.spi.impl.expression.AbstractAliasedExpression
addAliasAs, alias, equals, hashCode, tableAlias, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.litebridge.db.spi.expression.SelectExpression
toSql
-
Constructor Details
-
Upper
Creates a newUPPERfunction.- Parameters:
target- the target column expressionalias- the alias for the column expressionlabelGenerator- the label generator for rendering aliases/identifiers
-
-
Method Details
-
template
Description copied from class:FunctionExpressionGets the template for the SQL representation of the function.The template should contain a single "%s" placeholder for the column identifier.
- Specified by:
templatein classFunctionExpression- Returns:
- SQL representation template
-