simpledb.parse
Class CreateIndexData

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

public class CreateIndexData
extends Object

The parser for the create index statement.

Author:
Edward Sciore

Constructor Summary
CreateIndexData(String idxname, String tblname, String fldname)
          Saves the table and field names of the specified index.
 
Method Summary
 String fieldName()
          Returns the name of the indexed field.
 String indexName()
          Returns the name of the index.
 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(String idxname,
                       String tblname,
                       String fldname)
Saves the table and field names of the specified index.

Method Detail

indexName

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

Returns:
the name of the index

tableName

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

Returns:
the name of the indexed table

fieldName

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

Returns:
the name of the indexed field


Copyright © 2011. All Rights Reserved.