public class BooleanConstantNode extends ConstantNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
BooleanConstantNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
boolean |
getBooleanValue() |
void |
init(java.lang.Object arg1)
Initializer for a BooleanConstantNode.
|
boolean |
isBooleanFalse()
Does this represent a false constant.
|
boolean |
isBooleanTrue()
Does this represent a true constant.
|
void |
setBooleanValue(boolean booleanValue) |
getValue, init, isConstantExpression, isEquivalent, setValue, toString
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType
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
public void init(java.lang.Object arg1) throws StandardException
init
in class QueryTreeNode
arg1
- A boolean containing the value of the constant OR The TypeId for the type of the nodeStandardException
public void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class ConstantNode
StandardException
public boolean getBooleanValue()
public void setBooleanValue(boolean booleanValue)
public boolean isBooleanTrue()
isBooleanTrue
in class ValueNode
public boolean isBooleanFalse()
isBooleanFalse
in class ValueNode
Copyright © 2013. All Rights Reserved.