|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.ValueNode
com.akiban.sql.parser.UnaryOperatorNode
com.akiban.sql.parser.UnaryDateTimestampOperatorNode
public class UnaryDateTimestampOperatorNode
This class implements the timestamp(x) and date(x) functions. These two functions implement a few special cases of string conversions beyond the normal string to date/timestamp casts.
| Field Summary |
|---|
| Fields inherited from class com.akiban.sql.parser.UnaryOperatorNode |
|---|
methodName, operator, receiverInterfaceType, resultInterfaceType |
| Fields inherited from class com.akiban.sql.parser.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX |
| Constructor Summary | |
|---|---|
UnaryDateTimestampOperatorNode()
|
|
| Method Summary | |
|---|---|
void |
init(Object operand,
Object targetType)
Initialize a query tree node. |
| Methods inherited from class com.akiban.sql.parser.UnaryOperatorNode |
|---|
copyFrom, getMethodName, getOperand, getOperator, init, init, isEquivalent, printSubNodes, setOperand, toString |
| Methods inherited from class com.akiban.sql.parser.ValueNode |
|---|
getColumnName, getSchemaName, getSourceResultColumn, getTableName, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isConstantExpression, 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, 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 |
|---|
public UnaryDateTimestampOperatorNode()
| Method Detail |
|---|
public void init(Object operand,
Object targetType)
throws StandardException
QueryTreeNode
init in class QueryTreeNodeoperand - The operand of the functiontargetType - The type of the result. Timestamp or Date.
StandardException - Thrown on error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||