planetj.database.sql
Class CreateIndexStatement

java.lang.Object
  extended byplanetj.database.sql.SQLStatement
      extended byplanetj.database.sql.CreateIndexStatement
All Implemented Interfaces:
java.io.Serializable, TableStatement

public class CreateIndexStatement
extends SQLStatement

Represents a SQL or JDBC CREATE INDEX statement. Create INDEX is used to create an index over a physical file. Creation date: (5/30/2005)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class planetj.database.sql.SQLStatement
CALL_STATEMENT, className, COMMENT_ON_STATEMENT, CREATE_ALIAS_STATEMENT, CREATE_INDEX_STATEMENT, CREATE_PROCEDURE_STATEMENT, CREATE_VIEW_STATEMENT, DELETE_STATEMENT, INSERT_STATEMENT, LABEL_ON_STATEMENT, SELECT_STATEMENT, UPDATE_STATEMENT
 
Constructor Summary
CreateIndexStatement()
          CreateIndexStatement constructor comment.
CreateIndexStatement(java.lang.String pOriginalSQLString, SQLContext context)
          CreateIndexStatement constructor comment.
 
Method Summary
 java.util.List getTableTokens()
          getTableTokens method comment.
 int getType()
          This is a CREATE INDEX
protected  void parseString(java.lang.String pSQLString)
          Statement subclasses are required to create themselves by parsing a sql String.
 
Methods inherited from class planetj.database.sql.SQLStatement
addExpressionToken, createExpressionToken, createStatement, getAlteredTable, getContext, getExpressionToken, getExpressionTokens, getExpressTokenClass, getLibrarySupportLevel, getOriginalSQLString, hasExpression, isAlterTableStatement, isCallStatement, isCommentOnStatement, isCreateAliasStatement, isCreateIndexStatement, isCreateProcedureStatement, isCreateViewStatement, isDeleteStatement, isDeleteStatement, isGroupByStatement, isInsertStatement, isInsertStatement, isLabelOnStatement, isOrderByStatement, isSelectStatement, isSelectStatement, isUnionStatement, isUpdateStatement, isUpdateStatement, setOriginalSQLString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateIndexStatement

public CreateIndexStatement()
CreateIndexStatement constructor comment.


CreateIndexStatement

public CreateIndexStatement(java.lang.String pOriginalSQLString,
                            SQLContext context)
CreateIndexStatement constructor comment.

Parameters:
pOriginalSQLString - java.lang.String
context - planetj.database.SQLContext
Method Detail

getTableTokens

public java.util.List getTableTokens()
getTableTokens method comment.


getType

public int getType()
This is a CREATE INDEX

Specified by:
getType in class SQLStatement

parseString

protected void parseString(java.lang.String pSQLString)
Statement subclasses are required to create themselves by parsing a sql String. Don't need to do anything here since we just run the statement.

Specified by:
parseString in class SQLStatement