public class DataIndexDef
extends java.lang.Object
Constructor | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
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)
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
Copyright © 2018. All rights reserved.