public static class ValueExpressions.IntervalYearExpression extends LogicalExpressionBase
LogicalExpression.De, LogicalExpression.Se
Constructor and Description |
---|
IntervalYearExpression(int months) |
IntervalYearExpression(int months,
ExpressionPosition pos) |
Modifier and Type | Method and Description |
---|---|
<T,V,E extends Exception> |
accept(ExprVisitor<T,V,E> visitor,
V value) |
int |
getIntervalYear() |
TypeProtos.MajorType |
getMajorType() |
Iterator<LogicalExpression> |
iterator() |
getCumulativeCost, getDescription, getPosition, getSelfCost, i
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public IntervalYearExpression(int months)
public IntervalYearExpression(int months, ExpressionPosition pos)
public int getIntervalYear()
public TypeProtos.MajorType getMajorType()
getMajorType
in interface LogicalExpression
getMajorType
in class LogicalExpressionBase
public <T,V,E extends Exception> T accept(ExprVisitor<T,V,E> visitor, V value) throws E extends Exception
E extends Exception
public Iterator<LogicalExpression> iterator()
Copyright © 1970 The Apache Software Foundation. All rights reserved.