public class CreateIndexNode extends DDLStatementNode
QueryTreeNode.WordUtils
Modifier and Type | Field and Description |
---|---|
(package private) int[] |
boundColumnIDs |
(package private) java.lang.String |
characterDelimiter |
(package private) java.lang.String |
columnDelimiter |
(package private) java.util.Vector |
columnNameList |
(package private) java.lang.String[] |
columnNames |
(package private) java.lang.String |
dateFormat |
(package private) DataDictionary |
dd |
(package private) boolean |
excludeDefaults |
(package private) boolean |
excludeNulls |
(package private) java.lang.String |
hfilePath |
(package private) TableName |
indexName |
(package private) java.lang.String |
indexType |
(package private) boolean[] |
isAscending |
(package private) boolean |
preSplit |
(package private) java.util.Properties |
properties |
(package private) boolean |
sampling |
(package private) java.lang.String |
splitKeyPath |
(package private) TableName |
tableName |
(package private) TableDescriptor |
td |
(package private) java.lang.String |
timeFormat |
(package private) java.lang.String |
timestampFormat |
(package private) boolean |
unique |
(package private) boolean |
uniqueWithDuplicateNulls |
ADD_TYPE, DROP_STATISTICS, DROP_TYPE, implicitCreateSchema, LOCKING_TYPE, MODIFY_TYPE, objectName, UNKNOWN_TYPE, UPDATE_STATISTICS
EMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION, withParameterList
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, depth, isPrivilegeCollectionRequired
Constructor and Description |
---|
CreateIndexNode() |
Modifier and Type | Method and Description |
---|---|
void |
bindStatement()
Bind this CreateIndexNode.
|
UUID |
getBoundTableID() |
java.lang.String[] |
getColumnNames() |
TableName |
getIndexName() |
TableName |
getIndexTableName() |
java.lang.String |
getIndexType() |
boolean[] |
getIsAscending() |
int[] |
getKeyColumnIDs() |
java.util.Properties |
getProperties() |
boolean |
getUniqueness() |
void |
init(java.lang.Object unique,
java.lang.Object indexType,
java.lang.Object indexName,
java.lang.Object tableName,
java.lang.Object columnNameList,
java.lang.Object excludeNulls,
java.lang.Object excludeDefaults,
java.lang.Object preSplit,
java.lang.Object sampling,
java.lang.Object splitKeyPath,
java.lang.Object columnDelimiter,
java.lang.Object characterDelimite,
java.lang.Object timestampFormat,
java.lang.Object dateFormat,
java.lang.Object timeFormat,
java.lang.Object hfilePath,
java.lang.Object properties)
Initializer for a CreateIndexNode
|
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution.
|
boolean |
referencesSessionSchema()
Return true if the node references SESSION schema tables (temporary or permanent)
|
java.lang.String |
statementToString() |
java.lang.String |
toString()
Convert this object to a String.
|
activationKind, bindName, generate, getFullName, getObjectName, getRelativeName, getSchemaDescriptor, getSchemaDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, init, initAndCheck, makeFromList
bindAndOptimizeRealTimeViews, executeSchemaName, executeStatementName, generate, getSPSName, isAtomic, makeResultDescription, needsSavepoint, optimizeStatement, setWithVector, updateIndexStatisticsFor
accept, accept, acceptChildren, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, buildTree, checkReliability, checkReliability, childParentMap, collectReferencedColumns, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getConstantNode, getConstantNodeType, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getExtraInformation, getGenericConstantActionFactory, getHashableJoinColumnReference, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeTableName, makeTableName, markReferencedResultColumns, nodeHeader, orReliability, parseStatement, printExplainInformation, printExplainInformation, printExplainInformation, printExplainInformationForActivation, printLabel, printRuntimeInformation, printSubNodes, projectionListPruning, resolveTableToSynonym, rsnChainMap, setBeginOffset, setContextManager, setDepth, setEndOffset, setHashableJoinColumnReference, setNodeType, setRefActionInfo, spaceToLevel, toHTMLString, treePrint, treePrint, verifyClassExist
boolean unique
boolean uniqueWithDuplicateNulls
DataDictionary dd
java.util.Properties properties
java.lang.String indexType
TableName indexName
TableName tableName
java.util.Vector columnNameList
java.lang.String[] columnNames
boolean[] isAscending
int[] boundColumnIDs
boolean excludeNulls
boolean excludeDefaults
boolean preSplit
boolean sampling
java.lang.String splitKeyPath
java.lang.String hfilePath
java.lang.String columnDelimiter
java.lang.String characterDelimiter
java.lang.String timestampFormat
java.lang.String dateFormat
java.lang.String timeFormat
TableDescriptor td
public void init(java.lang.Object unique, java.lang.Object indexType, java.lang.Object indexName, java.lang.Object tableName, java.lang.Object columnNameList, java.lang.Object excludeNulls, java.lang.Object excludeDefaults, java.lang.Object preSplit, java.lang.Object sampling, java.lang.Object splitKeyPath, java.lang.Object columnDelimiter, java.lang.Object characterDelimite, java.lang.Object timestampFormat, java.lang.Object dateFormat, java.lang.Object timeFormat, java.lang.Object hfilePath, java.lang.Object properties) throws StandardException
init
in interface Node
init
in class QueryTreeNode
unique
- 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 oncolumnNameList
- A list of column names, in the order they
appear in the index.properties
- The optional properties list associated with the index.StandardException
- Thrown on errorpublic java.lang.String toString()
toString
in class DDLStatementNode
public java.lang.String statementToString()
statementToString
in class StatementNode
public boolean getUniqueness()
public java.lang.String getIndexType()
public TableName getIndexName()
public UUID getBoundTableID()
public java.util.Properties getProperties()
public TableName getIndexTableName()
public java.lang.String[] getColumnNames()
public int[] getKeyColumnIDs()
public boolean[] getIsAscending()
public void bindStatement() throws StandardException
bindStatement
in class StatementNode
StandardException
- Thrown on errorpublic boolean referencesSessionSchema() throws StandardException
referencesSessionSchema
in class QueryTreeNode
StandardException
- Thrown on errorpublic ConstantAction makeConstantAction() throws StandardException
makeConstantAction
in class QueryTreeNode
StandardException
- Thrown on failure