public class DataIndexDef extends Object
Constructor and Description |
---|
DataIndexDef(DataIndexDef def) |
DataIndexDef(String index_name,
String[] column_names,
int index_pointer,
String index_type,
boolean unique)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getColumnNames()
Returns the column names that make up this index.
|
String |
getName()
Returns the name of this index.
|
int |
getPointer()
Returns the pointer to the index in the IndexSet.
|
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(DataInput din)
Reads a DataIndexDef from the given DataInput object.
|
void |
write(DataOutput dout)
Writes this object to the given DataOutputStream.
|
public DataIndexDef(String index_name, String[] column_names, int index_pointer, String index_type, boolean unique)
public DataIndexDef(DataIndexDef def)
public String getName()
public String[] getColumnNames()
public int getPointer()
public String getType()
public boolean isUniqueIndex()
public void write(DataOutput dout) throws IOException
IOException
public static DataIndexDef read(DataInput din) throws IOException
IOException
Copyright © 2015. All rights reserved.