com.akiban.sql.parser
Class BooleanConstantNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ValueNode
com.akiban.sql.parser.ConstantNode
com.akiban.sql.parser.BooleanConstantNode
- All Implemented Interfaces:
- Visitable
public class BooleanConstantNode
- extends ConstantNode
| Methods inherited from class com.akiban.sql.parser.ValueNode |
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
BooleanConstantNode
public BooleanConstantNode()
init
public void init(Object arg1)
throws StandardException
- Initializer for a BooleanConstantNode.
- Overrides:
init in class QueryTreeNode
- Parameters:
arg1 - A boolean containing the value of the constant OR The TypeId for the type of the node
- Throws:
StandardException
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class ConstantNode
- Throws:
StandardException
getBooleanValue
public boolean getBooleanValue()
setBooleanValue
public void setBooleanValue(boolean booleanValue)
isBooleanTrue
public boolean isBooleanTrue()
- Does this represent a true constant.
- Overrides:
isBooleanTrue in class ValueNode
- Returns:
- Whether or not this node represents a true constant.
isBooleanFalse
public boolean isBooleanFalse()
- Does this represent a false constant.
- Overrides:
isBooleanFalse in class ValueNode
- Returns:
- Whether or not this node represents a false constant.
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.