Class Abs
java.lang.Object
io.github.torand.fastersql.function.singlerow.Abs
- All Implemented Interfaces:
Expression
,ColumnFunction
,Function
,SingleRowFunction
,OrderExpression
,LeftOperand
,Projection
,Sql
Implements the absolute value numeric function.
-
Method Summary
Modifier and TypeMethodDescriptionalias()
Gets the column alias (label) assigned for this projection.Gets the column aliases referenced by this fragment.Assigns a column alias (label) for this projection.Gets the columns referenced by this fragment.Gets the statement parameters introduced by this fragment.Formats object as an SQL fragment.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.torand.fastersql.expression.Expression
dividedBy, dividedBy, minus, minus, mod, mod, plus, plus, times, times
Methods inherited from interface io.github.torand.fastersql.predicate.LeftOperand
eq, eq, eq, eq, ge, ge, ge, ge, gt, gt, gt, gt, in, in, in, in, isNull, le, le, le, le, like, like, lt, lt, lt, lt
Methods inherited from interface io.github.torand.fastersql.order.OrderExpression
asc, ascIf, desc
-
Method Details
-
sql
Description copied from interface:Sql
Formats object as an SQL fragment. -
params
Description copied from interface:Sql
Gets the statement parameters introduced by this fragment. -
columnRefs
Description copied from interface:Sql
Gets the columns referenced by this fragment. For validation purposes.- Specified by:
columnRefs
in interfaceSql
- Returns:
- the columns referenced by this fragment.
-
aliasRefs
Description copied from interface:Sql
Gets the column aliases referenced by this fragment. For validation purposes. -
as
Description copied from interface:Projection
Assigns a column alias (label) for this projection.- Specified by:
as
in interfaceProjection
- Parameters:
alias
- the column alias or label.- Returns:
- the projection with specified alias assigned.
-
alias
Description copied from interface:Projection
Gets the column alias (label) assigned for this projection.- Specified by:
alias
in interfaceProjection
- Returns:
- the column alias (label) assigned for this projection.
-