|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.tableindexed.IndexSpecification
public class IndexSpecification
Holds the specification for a single secondary index.
Constructor Summary | |
---|---|
IndexSpecification()
|
|
IndexSpecification(String indexId,
byte[] indexedColumn)
Construct an "simple" index spec for a single column. |
|
IndexSpecification(String indexId,
byte[][] indexedColumns,
byte[][] additionalColumns,
IndexKeyGenerator keyGenerator)
Construct an index spec by specifying everything. |
Method Summary | |
---|---|
boolean |
containsColumn(byte[] column)
|
byte[][] |
getAdditionalColumns()
Get the additionalColumns. |
byte[][] |
getAllColumns()
|
byte[][] |
getIndexedColumns()
Get the indexedColumns. |
byte[] |
getIndexedTableName(byte[] baseTableName)
|
String |
getIndexId()
Get the indexId. |
IndexKeyGenerator |
getKeyGenerator()
Get the keyGenerator. |
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndexSpecification(String indexId, byte[] indexedColumn)
indexId
- indexedColumn
- public IndexSpecification(String indexId, byte[][] indexedColumns, byte[][] additionalColumns, IndexKeyGenerator keyGenerator)
indexId
- indexedColumns
- additionalColumns
- keyGenerator
- public IndexSpecification()
Method Detail |
---|
public byte[][] getIndexedColumns()
public IndexKeyGenerator getKeyGenerator()
public byte[][] getAdditionalColumns()
public String getIndexId()
public byte[][] getAllColumns()
public boolean containsColumn(byte[] column)
public byte[] getIndexedTableName(byte[] baseTableName)
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |