Package io.substrait.expression
Interface Expression.Literal
- All Superinterfaces:
Expression,FunctionArg
- All Known Subinterfaces:
Expression.UserDefinedLiteral
- All Known Implementing Classes:
Expression.BinaryLiteral,Expression.BoolLiteral,Expression.DateLiteral,Expression.DecimalLiteral,Expression.EmptyListLiteral,Expression.EmptyMapLiteral,Expression.FixedBinaryLiteral,Expression.FixedCharLiteral,Expression.FP32Literal,Expression.FP64Literal,Expression.I16Literal,Expression.I32Literal,Expression.I64Literal,Expression.I8Literal,Expression.IntervalCompoundLiteral,Expression.IntervalDayLiteral,Expression.IntervalYearLiteral,Expression.ListLiteral,Expression.MapLiteral,Expression.NullLiteral,Expression.PrecisionTimeLiteral,Expression.PrecisionTimestampLiteral,Expression.PrecisionTimestampTZLiteral,Expression.StrLiteral,Expression.StructLiteral,Expression.TimeLiteral,Expression.TimestampLiteral,Expression.TimestampTZLiteral,Expression.UserDefinedAnyLiteral,Expression.UserDefinedStructLiteral,Expression.UUIDLiteral,Expression.VarCharLiteral,ImmutableExpression.BinaryLiteral,ImmutableExpression.BoolLiteral,ImmutableExpression.DateLiteral,ImmutableExpression.DecimalLiteral,ImmutableExpression.EmptyListLiteral,ImmutableExpression.EmptyMapLiteral,ImmutableExpression.FixedBinaryLiteral,ImmutableExpression.FixedCharLiteral,ImmutableExpression.FP32Literal,ImmutableExpression.FP64Literal,ImmutableExpression.I16Literal,ImmutableExpression.I32Literal,ImmutableExpression.I64Literal,ImmutableExpression.I8Literal,ImmutableExpression.IntervalCompoundLiteral,ImmutableExpression.IntervalDayLiteral,ImmutableExpression.IntervalYearLiteral,ImmutableExpression.ListLiteral,ImmutableExpression.MapLiteral,ImmutableExpression.NullLiteral,ImmutableExpression.PrecisionTimeLiteral,ImmutableExpression.PrecisionTimestampLiteral,ImmutableExpression.PrecisionTimestampTZLiteral,ImmutableExpression.StrLiteral,ImmutableExpression.StructLiteral,ImmutableExpression.TimeLiteral,ImmutableExpression.TimestampLiteral,ImmutableExpression.TimestampTZLiteral,ImmutableExpression.UserDefinedAnyLiteral,ImmutableExpression.UserDefinedStructLiteral,ImmutableExpression.UUIDLiteral,ImmutableExpression.VarCharLiteral
- Enclosing interface:
- Expression
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.substrait.expression.Expression
Expression.AggregationInvocation, Expression.AggregationPhase, Expression.BinaryLiteral, Expression.BoolLiteral, Expression.Cast, Expression.DateLiteral, Expression.DecimalLiteral, Expression.EmptyListLiteral, Expression.EmptyMapLiteral, Expression.FailureBehavior, Expression.FixedBinaryLiteral, Expression.FixedCharLiteral, Expression.FP32Literal, Expression.FP64Literal, Expression.I16Literal, Expression.I32Literal, Expression.I64Literal, Expression.I8Literal, Expression.IfClause, Expression.IfThen, Expression.InPredicate, Expression.IntervalCompoundLiteral, Expression.IntervalDayLiteral, Expression.IntervalYearLiteral, Expression.Lambda, Expression.ListLiteral, Expression.Literal, Expression.MapLiteral, Expression.MultiOrList, Expression.MultiOrListRecord, Expression.Nested, Expression.NestedList, Expression.NestedStruct, Expression.NullLiteral, Expression.PrecisionTimeLiteral, Expression.PrecisionTimestampLiteral, Expression.PrecisionTimestampTZLiteral, Expression.PredicateOp, Expression.ScalarFunctionInvocation, Expression.ScalarSubquery, Expression.SetPredicate, Expression.SingleOrList, Expression.SortDirection, Expression.SortField, Expression.StrLiteral, Expression.StructLiteral, Expression.Subquery, Expression.Switch, Expression.SwitchClause, Expression.TimeLiteral, Expression.TimestampLiteral, Expression.TimestampTZLiteral, Expression.UserDefinedAnyLiteral, Expression.UserDefinedLiteral, Expression.UserDefinedStructLiteral, Expression.UUIDLiteral, Expression.VarCharLiteral, Expression.WindowBoundsType, Expression.WindowFunctionInvocationNested classes/interfaces inherited from interface io.substrait.expression.FunctionArg
FunctionArg.FuncArgVisitor<R,C extends VisitationContext, E extends Throwable>, FunctionArg.ProtoFrom -
Method Summary
Modifier and TypeMethodDescriptiondefault booleannullable()withNullable(boolean nullable) Returns a copy of this literal with the specified nullability.Methods inherited from interface io.substrait.expression.Expression
accept, accept, getType
-
Method Details
-
nullable
@Default default boolean nullable() -
withNullable
Returns a copy of this literal with the specified nullability.This method is implemented by all concrete Literal classes via Immutables code generation.
-