Package io.substrait.expression
Class Expression.Switch
java.lang.Object
io.substrait.expression.Expression.Switch
- All Implemented Interfaces:
Expression,FunctionArg
- 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.ListLiteral, Expression.Literal, Expression.MapLiteral, Expression.MultiOrList, Expression.MultiOrListRecord, Expression.NullLiteral, 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.UserDefinedLiteral, 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) static io.substrait.expression.ImmutableExpression.Switch.Builderbuilder()abstract ExpressiongetType()abstract Expressionmatch()abstract List<Expression.SwitchClause>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
-
Switch
public Switch()
-
-
Method Details
-
match
-
switchClauses
-
defaultClause
-
getType
- Specified by:
getTypein interfaceExpression
-
builder
public static io.substrait.expression.ImmutableExpression.Switch.Builder 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
-