com.akiban.sql.parser
Class CharConstantNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.ValueNode
          extended by com.akiban.sql.parser.ConstantNode
              extended by com.akiban.sql.parser.CharConstantNode
All Implemented Interfaces:
Visitable

public final class CharConstantNode
extends ConstantNode


Field Summary
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
CharConstantNode()
           
 
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.ConstantNode
copyFrom, getValue, init, isConstantExpression, isEquivalent, setValue, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CharConstantNode

public CharConstantNode()
Method Detail

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 constant
newLength - 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.