| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private List | |
| private String[] | |
| private TableName | |
| private String | |
| private boolean[] | |
| private Properties | |
| private TableName | |
| private TableDescriptor | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | CreateIndexNode(boolean
True means it's a unique index unique, String The type of index indexType, TableName The name of the index indexName, TableName The name of the table the index will be on tableName, List<String> A list of column names, in the order they
appear in the index. columnNameList, Properties The optional properties list associated with the index. properties, ContextManager Context manager cm)Constructor for a CreateIndexNode |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | acceptChildren(Visitor
the visitor v)Overrides org. Accept a visitor on all child nodes. |
| public void | bindStatement()
Overrides org. Bind this CreateIndexNode. |
| public ConstantAction | makeConstantAction()
Overrides org. Create the Constant information that will drive the guts of Execution. |
| public boolean | Returns: true if references SESSION schema tables, else falseOverrides org. Return true if the node references SESSION schema tables (temporary or permanent) |
| pack-priv String | statementToString()
Implements abstract org.
|
| public String | Returns: This object as a StringOverrides org. Convert this object to a String. |
| private void |
| boundColumnIDs | back to summary |
|---|---|
| private int[] boundColumnIDs | |
| columnNameList | back to summary |
|---|---|
| private List<String> columnNameList | |
| columnNames | back to summary |
|---|---|
| private String[] columnNames | |
| indexName | back to summary |
|---|---|
| private TableName indexName | |
| indexType | back to summary |
|---|---|
| private String indexType | |
| isAscending | back to summary |
|---|---|
| private boolean[] isAscending | |
| properties | back to summary |
|---|---|
| private Properties properties | |
| tableName | back to summary |
|---|---|
| private TableName tableName Hides org. | |
| td | back to summary |
|---|---|
| private TableDescriptor td | |
| unique | back to summary |
|---|---|
| private boolean unique | |
| CreateIndexNode | back to summary |
|---|---|
| pack-priv CreateIndexNode(boolean unique, String indexType, TableName indexName, TableName tableName, List<String> columnNameList, Properties properties, ContextManager cm) throws StandardException Constructor for a CreateIndexNode
| |
| acceptChildren | back to summary |
|---|---|
| pack-priv void acceptChildren(Visitor v) throws StandardException Overrides org. Doc from org. Accept a visitor on all child nodes. All sub-classes that add fields
that should be visited, should override this method and call
| |
| bindStatement | back to summary |
|---|---|
| public void bindStatement() throws StandardException Overrides org. Bind this CreateIndexNode. This means doing any static error checking that can be done before actually creating the table. For example, verifying that the column name list does not contain any duplicate column names.
| |
| makeConstantAction | back to summary |
|---|---|
| public ConstantAction makeConstantAction() throws StandardException Overrides org. Create the Constant information that will drive the guts of Execution.
| |
| referencesSessionSchema | back to summary |
|---|---|
| public boolean referencesSessionSchema() throws StandardException Overrides org. Return true if the node references SESSION schema tables (temporary or permanent)
| |
| statementToString | back to summary |
|---|---|
| pack-priv String statementToString() Implements abstract org. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. | |
| verifyAndGetUniqueNames | back to summary |
|---|---|
| private void verifyAndGetUniqueNames() throws StandardException Check the uniqueness of the column names within the derived column list.
| |