|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.DataIndexDef
public class DataIndexDef
Represents index meta-information on a table. This information is part of DataIndexSetDef and is stored with the contents of a table.
Constructor Summary | |
---|---|
DataIndexDef(DataIndexDef def)
|
|
DataIndexDef(java.lang.String index_name,
java.lang.String[] column_names,
int index_pointer,
java.lang.String index_type,
boolean unique)
Constructor. |
Method Summary | |
---|---|
java.lang.String[] |
getColumnNames()
Returns the column names that make up this index. |
java.lang.String |
getName()
Returns the name of this index. |
int |
getPointer()
Returns the pointer to the index in the IndexSet. |
java.lang.String |
getType()
Returns a String that describes the type of index this is. |
boolean |
isUniqueIndex()
Returns true if this is a unique index. |
static DataIndexDef |
read(java.io.DataInput din)
Reads a DataIndexDef from the given DataInput object. |
void |
write(java.io.DataOutput dout)
Writes this object to the given DataOutputStream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataIndexDef(java.lang.String index_name, java.lang.String[] column_names, int index_pointer, java.lang.String index_type, boolean unique)
public DataIndexDef(DataIndexDef def)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String[] getColumnNames()
public int getPointer()
public java.lang.String getType()
public boolean isUniqueIndex()
public void write(java.io.DataOutput dout) throws java.io.IOException
java.io.IOException
public static DataIndexDef read(java.io.DataInput din) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |