com.akiban.sql.parser
Class CharConstantNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ValueNode
com.akiban.sql.parser.ConstantNode
com.akiban.sql.parser.CharConstantNode
- All Implemented Interfaces:
- Visitable
public final class CharConstantNode
- extends ConstantNode
|
Method Summary |
String |
getString()
Return the value from this CharConstantNode |
void |
init(Object arg1)
Initializer for a CharConstantNode. |
void |
init(Object newValue,
Object newLength)
Initializer for a CharConstantNode of a specific length. |
| Methods inherited from class com.akiban.sql.parser.ValueNode |
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, 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, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
CharConstantNode
public CharConstantNode()
init
public void init(Object arg1)
throws StandardException
- Initializer for a CharConstantNode.
- Overrides:
init in class QueryTreeNode
- Parameters:
arg1 - A String containing the value of the constant OR The TypeId for the type of the node
- Throws:
StandardException
init
public void init(Object newValue,
Object newLength)
throws StandardException
- Initializer for a CharConstantNode of a specific length.
- Overrides:
init in class QueryTreeNode
- Parameters:
newValue - A String containing the value of the constantnewLength - The length of the new value of the constant
- Throws:
StandardException
getString
public String getString()
throws StandardException
- Return the value from this CharConstantNode
- Returns:
- The value of this CharConstantNode.
- Throws:
StandardException - Thrown on error
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.