Class NullConstant
java.lang.Object
io.github.torand.fastersql.constant.NullConstant
- All Implemented Interfaces:
Constant
,Expression
,Projection
,Sql
Represents the 'null' constant value.
-
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.Creates a projection of the constant.Gets the statement parameters introduced by this fragment.Formats object as an SQL fragment.value()
Gets the constant value.
-
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.
-
value
Description copied from interface:Constant
Gets the constant value. -
forColumn
Description copied from interface:Constant
Creates a projection of the constant.
-