com.akiban.sql.parser
Class CreateAliasNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.StatementNode
com.akiban.sql.parser.DDLStatementNode
com.akiban.sql.parser.CreateAliasNode
- All Implemented Interfaces:
- Visitable
public class CreateAliasNode
- extends DDLStatementNode
A CreateAliasNode represents a CREATE ALIAS statement.
| 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, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
PARAMETER_ARRAY
public static final int PARAMETER_ARRAY
- See Also:
- Constant Field Values
TABLE_NAME
public static final int TABLE_NAME
- See Also:
- Constant Field Values
DYNAMIC_RESULT_SET_COUNT
public static final int DYNAMIC_RESULT_SET_COUNT
- See Also:
- Constant Field Values
LANGUAGE
public static final int LANGUAGE
- See Also:
- Constant Field Values
EXTERNAL_NAME
public static final int EXTERNAL_NAME
- See Also:
- Constant Field Values
PARAMETER_STYLE
public static final int PARAMETER_STYLE
- See Also:
- Constant Field Values
SQL_CONTROL
public static final int SQL_CONTROL
- See Also:
- Constant Field Values
DETERMINISTIC
public static final int DETERMINISTIC
- See Also:
- Constant Field Values
NULL_ON_NULL_INPUT
public static final int NULL_ON_NULL_INPUT
- See Also:
- Constant Field Values
RETURN_TYPE
public static final int RETURN_TYPE
- See Also:
- Constant Field Values
ROUTINE_SECURITY_DEFINER
public static final int ROUTINE_SECURITY_DEFINER
- See Also:
- Constant Field Values
INLINE_DEFINITION
public static final int INLINE_DEFINITION
- See Also:
- Constant Field Values
ROUTINE_ELEMENT_COUNT
public static final int ROUTINE_ELEMENT_COUNT
- See Also:
- Constant Field Values
CreateAliasNode
public CreateAliasNode()
init
public void init(Object aliasName,
Object targetObject,
Object methodName,
Object aliasSpecificInfo,
Object aliasType,
Object createOrReplace)
throws StandardException
- Initializer for a CreateAliasNode
- Overrides:
init in class QueryTreeNode
- Parameters:
aliasName - The name of the aliastargetObject - Target namemethodName - The method namealiasType - The alias type
- Throws:
StandardException - Thrown on error
getJavaClassName
public String getJavaClassName()
getMethodName
public String getMethodName()
getExternalName
public String getExternalName()
isCreateOrReplace
public boolean isCreateOrReplace()
getAliasType
public AliasInfo.Type getAliasType()
getAliasInfo
public AliasInfo getAliasInfo()
getDefinition
public String getDefinition()
toString
public String toString()
- Convert this object to a String. See comments in QueryTreeNode.java
for how this should be done for tree printing.
- Overrides:
toString in class DDLStatementNode
- Returns:
- This object as a String
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class DDLStatementNode
- Throws:
StandardException
statementToString
public String statementToString()
- Specified by:
statementToString in class StatementNode
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.