Class AbstractLiteral<T>
- java.lang.Object
-
- org.citydb.query.filter.selection.expression.AbstractLiteral<T>
-
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
BooleanLiteral
,DateLiteral
,DoubleLiteral
,IntegerLiteral
,LongLiteral
,StringLiteral
,TimestampLiteral
public abstract class AbstractLiteral<T> extends java.lang.Object implements Expression
-
-
Constructor Summary
Constructors Constructor Description AbstractLiteral(T value)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.citydb.sqlbuilder.expression.PlaceHolder<?>
convertToSQLPlaceHolder()
abstract boolean
evaluatesToSchemaType(SimpleType schemaType)
ExpressionName
getExpressionName()
abstract LiteralType
getLiteralType()
T
getValue()
-
-
-
Field Detail
-
value
protected T value
-
-
Constructor Detail
-
AbstractLiteral
public AbstractLiteral(T value)
-
-
Method Detail
-
getLiteralType
public abstract LiteralType getLiteralType()
-
evaluatesToSchemaType
public abstract boolean evaluatesToSchemaType(SimpleType schemaType)
-
convertToSQLPlaceHolder
public abstract org.citydb.sqlbuilder.expression.PlaceHolder<?> convertToSQLPlaceHolder()
-
getValue
public T getValue()
-
getExpressionName
public ExpressionName getExpressionName()
- Specified by:
getExpressionName
in interfaceExpression
-
-