co.cask.tephra.hbase96
Class SecondaryIndexTable

java.lang.Object
  extended by co.cask.tephra.hbase96.SecondaryIndexTable

public class SecondaryIndexTable
extends Object

A Transactional SecondaryIndexTable.


Constructor Summary
SecondaryIndexTable(TransactionServiceClient transactionServiceClient, org.apache.hadoop.hbase.client.HTable hTable, byte[] secondaryIndex)
           
 
Method Summary
 org.apache.hadoop.hbase.client.Result get(org.apache.hadoop.hbase.client.Get get)
           
 org.apache.hadoop.hbase.client.Result[] get(List<org.apache.hadoop.hbase.client.Get> gets)
           
 org.apache.hadoop.hbase.client.Result[] getByIndex(byte[] value)
           
 void put(List<org.apache.hadoop.hbase.client.Put> puts)
           
 void put(org.apache.hadoop.hbase.client.Put put)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondaryIndexTable

public SecondaryIndexTable(TransactionServiceClient transactionServiceClient,
                           org.apache.hadoop.hbase.client.HTable hTable,
                           byte[] secondaryIndex)
Method Detail

get

public org.apache.hadoop.hbase.client.Result get(org.apache.hadoop.hbase.client.Get get)
                                          throws IOException
Throws:
IOException

get

public org.apache.hadoop.hbase.client.Result[] get(List<org.apache.hadoop.hbase.client.Get> gets)
                                            throws IOException
Throws:
IOException

getByIndex

public org.apache.hadoop.hbase.client.Result[] getByIndex(byte[] value)
                                                   throws IOException
Throws:
IOException

put

public void put(org.apache.hadoop.hbase.client.Put put)
         throws IOException
Throws:
IOException

put

public void put(List<org.apache.hadoop.hbase.client.Put> puts)
         throws IOException
Throws:
IOException


Copyright © 2014. All Rights Reserved.