Package io.substrait.expression
Class Expression.IntervalCompoundLiteral
java.lang.Object
io.substrait.expression.Expression.IntervalCompoundLiteral
- All Implemented Interfaces:
Expression,Expression.Literal,FunctionArg
- Enclosing interface:
- Expression
@Immutable
public abstract static class Expression.IntervalCompoundLiteral
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.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.IntervalCompoundLiteral.Builderbuilder()abstract intdays()getType()abstract intmonths()abstract intabstract intseconds()abstract longabstract intyears()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
-
Constructor Details
-
IntervalCompoundLiteral
public IntervalCompoundLiteral()
-
-
Method Details
-
years
public abstract int years() -
months
public abstract int months() -
days
public abstract int days() -
seconds
public abstract int seconds() -
subseconds
public abstract long subseconds() -
precision
public abstract int precision() -
getType
- Specified by:
getTypein interfaceExpression
-
builder
public static io.substrait.expression.ImmutableExpression.IntervalCompoundLiteral.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
-