Package ai.rapids.cudf.ast
Class Literal
java.lang.Object
ai.rapids.cudf.ast.AstExpression
ai.rapids.cudf.ast.Literal
A literal value in an AST expression.
-
Nested Class Summary
Nested classes/interfaces inherited from class ai.rapids.cudf.ast.AstExpression
AstExpression.ExpressionType -
Method Summary
Modifier and TypeMethodDescriptionstatic LiteralofBoolean(boolean value) Construct a boolean literal with the specified value.static LiteralConstruct a boolean literal with the specified value or null.static LiteralofByte(byte value) Construct a byte literal with the specified value.static LiteralConstruct a byte literal with the specified value or null.static LiteralofDouble(double value) Construct a double literal with the specified value.static LiteralConstruct a double literal with the specified value or null.static LiteralofDurationDaysFromInt(int value) Construct a duration days literal with the specified value.static LiteralofDurationDaysFromInt(Integer value) Construct a duration days literal with the specified value or null.static LiteralofDurationFromLong(DType type, long value) Construct a long-based duration literal with the specified value.static LiteralofDurationFromLong(DType type, Long value) Construct a long-based duration literal with the specified value or null.static LiteralofFloat(float value) Construct a float literal with the specified value.static LiteralConstruct a float literal with the specified value or null.static LiteralofInt(int value) Construct an integer literal with the specified value.static LiteralConstruct an integer literal with the specified value or null.static LiteralofLong(long value) Construct a long literal with the specified value.static LiteralConstruct a long literal with the specified value or null.static LiteralConstruct a null literal of the specified type.static LiteralofShort(short value) Construct a short literal with the specified value.static LiteralConstruct a short literal with the specified value or null.static LiteralConstruct a string literal with the specified value or null.static LiteralofTimestampDaysFromInt(int value) Construct a timestamp days literal with the specified value.static LiteralofTimestampDaysFromInt(Integer value) Construct a timestamp days literal with the specified value or null.static LiteralofTimestampFromLong(DType type, long value) Construct a long-based timestamp literal with the specified value.static LiteralofTimestampFromLong(DType type, Long value) Construct a long-based timestamp literal with the specified value or null.static LiteralofUTF8String(byte[] stringBytes) Construct a string literal directly with byte array to skip transcoding.Methods inherited from class ai.rapids.cudf.ast.AstExpression
compile
-
Method Details
-
ofNull
Construct a null literal of the specified type. -
ofBoolean
Construct a boolean literal with the specified value. -
ofBoolean
Construct a boolean literal with the specified value or null. -
ofByte
Construct a byte literal with the specified value. -
ofByte
Construct a byte literal with the specified value or null. -
ofShort
Construct a short literal with the specified value. -
ofShort
Construct a short literal with the specified value or null. -
ofInt
Construct an integer literal with the specified value. -
ofInt
Construct an integer literal with the specified value or null. -
ofLong
Construct a long literal with the specified value. -
ofLong
Construct a long literal with the specified value or null. -
ofFloat
Construct a float literal with the specified value. -
ofFloat
Construct a float literal with the specified value or null. -
ofDouble
Construct a double literal with the specified value. -
ofDouble
Construct a double literal with the specified value or null. -
ofTimestampDaysFromInt
Construct a timestamp days literal with the specified value. -
ofTimestampDaysFromInt
Construct a timestamp days literal with the specified value or null. -
ofTimestampFromLong
Construct a long-based timestamp literal with the specified value. -
ofTimestampFromLong
Construct a long-based timestamp literal with the specified value or null. -
ofDurationDaysFromInt
Construct a duration days literal with the specified value. -
ofDurationDaysFromInt
Construct a duration days literal with the specified value or null. -
ofDurationFromLong
Construct a long-based duration literal with the specified value. -
ofDurationFromLong
Construct a long-based duration literal with the specified value or null. -
ofString
Construct a string literal with the specified value or null. -
ofUTF8String
Construct a string literal directly with byte array to skip transcoding.
-