public class ReturnValueExpression extends Object implements LogicalExpression
LogicalExpression.De, LogicalExpression.Se| Constructor and Description |
|---|
ReturnValueExpression(LogicalExpression child) |
ReturnValueExpression(LogicalExpression child,
boolean returnTrueOnOne) |
| Modifier and Type | Method and Description |
|---|---|
<T,V,E extends Exception> |
accept(ExprVisitor<T,V,E> visitor,
V value) |
LogicalExpression |
getChild() |
int |
getCumulativeCost() |
TypeProtos.MajorType |
getMajorType() |
ExpressionPosition |
getPosition() |
int |
getSelfCost() |
boolean |
isReturnTrueOnOne() |
Iterator<LogicalExpression> |
iterator() |
public ReturnValueExpression(LogicalExpression child)
public ReturnValueExpression(LogicalExpression child, boolean returnTrueOnOne)
public LogicalExpression getChild()
public TypeProtos.MajorType getMajorType()
getMajorType in interface LogicalExpressionpublic <T,V,E extends Exception> T accept(ExprVisitor<T,V,E> visitor, V value) throws E extends Exception
accept in interface LogicalExpressionE extends Exceptionpublic ExpressionPosition getPosition()
getPosition in interface LogicalExpressionpublic Iterator<LogicalExpression> iterator()
iterator in interface Iterable<LogicalExpression>public boolean isReturnTrueOnOne()
public int getSelfCost()
getSelfCost in interface LogicalExpressionpublic int getCumulativeCost()
getCumulativeCost in interface LogicalExpressionCopyright © 2017 The Apache Software Foundation. All rights reserved.