simpledb.parse
Class CreateIndexData

java.lang.Object
  extended by simpledb.parse.CreateIndexData

public class CreateIndexData
extends java.lang.Object

The parser for the create index statement.

Author:
Edward Sciore

Constructor Summary
CreateIndexData(java.lang.String idxname, java.lang.String tblname, java.lang.String fldname)
          Saves the table and field names of the specified index.
 
Method Summary
 java.lang.String fieldName()
          Returns the name of the indexed field.
 java.lang.String indexName()
          Returns the name of the index.
 java.lang.String tableName()
          Returns the name of the indexed table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateIndexData

public CreateIndexData(java.lang.String idxname,
                       java.lang.String tblname,
                       java.lang.String fldname)
Saves the table and field names of the specified index.

Method Detail

indexName

public java.lang.String indexName()
Returns the name of the index.

Returns:
the name of the index

tableName

public java.lang.String tableName()
Returns the name of the indexed table.

Returns:
the name of the indexed table

fieldName

public java.lang.String fieldName()
Returns the name of the indexed field.

Returns:
the name of the indexed field