Package io.substrait.expression
Class Expression.NullLiteral
java.lang.Object
io.substrait.expression.Expression.NullLiteral
- All Implemented Interfaces:
Expression,Expression.Literal,FunctionArg
- Direct Known Subclasses:
ImmutableExpression.NullLiteral
- Enclosing interface:
- Expression
@Immutable
public abstract static class Expression.NullLiteral
extends Object
implements Expression.Literal
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,C extends VisitationContext, E extends Throwable>
Raccept(ExpressionVisitor<R, C, E> visitor, C context) builder()protected voidcheck()getType()booleannullable()A null literal is inherently nullable.abstract Typetype()withNullable(boolean nullable) Returns a copy of this literal with the specified nullability.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.substrait.expression.Expression
accept
-
Constructor Details
-
NullLiteral
public NullLiteral()
-
-
Method Details
-
type
-
nullable
public boolean nullable()A null literal is inherently nullable. You cannot have a null of a non nullable type.- Specified by:
nullablein interfaceExpression.Literal
-
withNullable
Description copied from interface:Expression.LiteralReturns a copy of this literal with the specified nullability.This method is implemented by all concrete Literal classes via Immutables code generation.
- Specified by:
withNullablein interfaceExpression.Literal
-
check
@Check protected void check() -
getType
- Specified by:
getTypein interfaceExpression
-
builder
-
accept
public <R,C extends VisitationContext, R acceptE extends Throwable> (ExpressionVisitor<R, C, throws EE> visitor, C context) - Specified by:
acceptin interfaceExpression- Throws:
E extends Throwable
-