public class CreateIndexNode extends DDLStatementNode implements IndexDefinition
ADD_TYPE, DROP_TYPE, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPEAUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
CreateIndexNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
IndexColumnList |
getColumnList() |
ExistenceCheck |
getExistenceCheck() |
IndexColumnList |
getIndexColumnList() |
TableName |
getIndexName() |
TableName |
getIndexTableName() |
String |
getIndexType() |
JoinNode.JoinType |
getJoinType() |
Properties |
getProperties() |
StorageFormatNode |
getStorageFormat() |
boolean |
getUniqueness() |
void |
init(Object unique,
Object indexType,
Object indexName,
Object tableName,
Object columnList,
Object joinType,
Object properties,
Object existenceCheck,
Object storageFormat)
Initializer for a CreateIndexNode
|
void |
printSubNodes(int depth)
Print the sub-nodes of this node.
|
String |
statementToString() |
String |
toString()
Convert this object to a String.
|
getFullName, getObjectName, getRelativeName, init, initAndCheck, isAtomicaccept, 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, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrintclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetObjectNamepublic void init(Object unique, Object indexType, Object indexName, Object tableName, Object columnList, Object joinType, Object properties, Object existenceCheck, Object storageFormat) throws StandardException
init in class QueryTreeNodeunique - True means it's a unique indexindexType - The type of indexindexName - The name of the indextableName - The name of the table the index will be oncolumnList - A list of columns, in the order they
appear in the index.properties - The optional properties list associated with the index.StandardException - Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom in class DDLStatementNodeStandardExceptionpublic String toString()
toString in class DDLStatementNodepublic void printSubNodes(int depth)
QueryTreeNodeprintSubNodes in class QueryTreeNodedepth - The depth to indent the sub-nodespublic String statementToString()
statementToString in class StatementNodepublic boolean getUniqueness()
getUniqueness in interface IndexDefinitionpublic String getIndexType()
public TableName getIndexName()
public IndexColumnList getColumnList()
public IndexColumnList getIndexColumnList()
getIndexColumnList in interface IndexDefinitionpublic JoinNode.JoinType getJoinType()
getJoinType in interface IndexDefinitionpublic Properties getProperties()
public TableName getIndexTableName()
public ExistenceCheck getExistenceCheck()
public StorageFormatNode getStorageFormat()
Copyright © 2014 FoundationDB, LLC. All rights reserved.