Package io.substrait.expression
Class Expression.UserDefinedStructLiteral
java.lang.Object
io.substrait.expression.Expression.UserDefinedStructLiteral
- All Implemented Interfaces:
Expression,Expression.Literal,Expression.UserDefinedLiteral,FunctionArg
- Direct Known Subclasses:
ImmutableExpression.UserDefinedStructLiteral
- Enclosing interface:
- Expression
@Immutable
public abstract static class Expression.UserDefinedStructLiteral
extends Object
implements Expression.UserDefinedLiteral
User-defined literal with value encoded as
Expression.Literal.Struct.
This encoding uses a structured list of fields to represent the literal value.
-
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()abstract List<Expression.Literal>fields()getType()abstract Stringname()abstract List<Type.Parameter>abstract Stringurn()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
acceptMethods inherited from interface io.substrait.expression.Expression.Literal
nullable, withNullable
-
Constructor Details
-
UserDefinedStructLiteral
public UserDefinedStructLiteral()
-
-
Method Details
-
urn
- Specified by:
urnin interfaceExpression.UserDefinedLiteral
-
name
- Specified by:
namein interfaceExpression.UserDefinedLiteral
-
typeParameters
- Specified by:
typeParametersin interfaceExpression.UserDefinedLiteral
-
fields
-
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
-