类 TablestorageTable
- java.lang.Object
-
- com.baidubce.services.tablestoragehbaseclient.hbase.TablestorageTable
-
- 所有已实现的接口:
Closeable,AutoCloseable,org.apache.hadoop.hbase.client.Table
public class TablestorageTable extends Object implements org.apache.hadoop.hbase.client.Table
TablestorageTable derived from hbase.client.Table, Used to communicate with a single TableStorage table. Obtain an instance from a Connection and call close() afterwards.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 classTablestorageTable.Scanner
-
构造器概要
构造器 构造器 说明 TablestorageTable(TablestorageConnection connection, org.apache.hadoop.hbase.TableName tableName)Construct a TableStorage Table with target table name.
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 org.apache.hadoop.hbase.client.Resultappend(org.apache.hadoop.hbase.client.Append append)Object[]batch(List<? extends org.apache.hadoop.hbase.client.Row> actions)已过时。voidbatch(List<? extends org.apache.hadoop.hbase.client.Row> actions, Object[] results)<R> voidbatchCallback(List<? extends org.apache.hadoop.hbase.client.Row> actions, Object[] results, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)<R> Object[]batchCallback(List<? extends org.apache.hadoop.hbase.client.Row> actions, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)已过时。<R extends com.google.protobuf.Message>
Map<byte[],R>batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, com.google.protobuf.Message request, byte[] startKey, byte[] endKey, R responsePrototype)<R extends com.google.protobuf.Message>
voidbatchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, com.google.protobuf.Message request, byte[] startKey, byte[] endKey, R responsePrototype, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)booleancheckAndDelete(byte[] row, byte[] family, byte[] qualifier, byte[] value, org.apache.hadoop.hbase.client.Delete delete)booleancheckAndDelete(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp, byte[] value, org.apache.hadoop.hbase.client.Delete delete)booleancheckAndMutate(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp, byte[] value, org.apache.hadoop.hbase.client.RowMutations mutation)booleancheckAndPut(byte[] row, byte[] family, byte[] qualifier, byte[] value, org.apache.hadoop.hbase.client.Put put)booleancheckAndPut(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp, byte[] value, org.apache.hadoop.hbase.client.Put put)voidclose()org.apache.hadoop.hbase.ipc.CoprocessorRpcChannelcoprocessorService(byte[] row)<T extends com.google.protobuf.Service,R>
Map<byte[],R>coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable)<T extends com.google.protobuf.Service,R>
voidcoprocessorService(Class<T> service, byte[] startKey, byte[] endKey, org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback)voiddelete(List<org.apache.hadoop.hbase.client.Delete> deletes)voiddelete(org.apache.hadoop.hbase.client.Delete delete)booleanexists(org.apache.hadoop.hbase.client.Get get)boolean[]existsAll(List<org.apache.hadoop.hbase.client.Get> gets)org.apache.hadoop.hbase.client.Result[]get(List<org.apache.hadoop.hbase.client.Get> gets)org.apache.hadoop.hbase.client.Resultget(org.apache.hadoop.hbase.client.Get get)org.apache.hadoop.conf.ConfigurationgetConfiguration()org.apache.hadoop.hbase.TableNamegetName()org.apache.hadoop.hbase.client.ResultScannergetScanner(byte[] family)org.apache.hadoop.hbase.client.ResultScannergetScanner(byte[] family, byte[] qualifier)org.apache.hadoop.hbase.client.ResultScannergetScanner(org.apache.hadoop.hbase.client.Scan scan)org.apache.hadoop.hbase.HTableDescriptorgetTableDescriptor()longgetWriteBufferSize()已过时。org.apache.hadoop.hbase.client.Resultincrement(org.apache.hadoop.hbase.client.Increment increment)longincrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount)longincrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount, org.apache.hadoop.hbase.client.Durability durability)voidmutateRow(org.apache.hadoop.hbase.client.RowMutations rm)voidput(List<org.apache.hadoop.hbase.client.Put> puts)voidput(org.apache.hadoop.hbase.client.Put put)voidsetWriteBufferSize(long writeBufferSize)已过时。
-
-
-
构造器详细资料
-
TablestorageTable
public TablestorageTable(TablestorageConnection connection, org.apache.hadoop.hbase.TableName tableName)
Construct a TableStorage Table with target table name.- 参数:
connection- the connection used to construct this TableStorageTable.tableName- the name of target table in TableStorage.
-
-
方法详细资料
-
getName
public org.apache.hadoop.hbase.TableName getName()
- 指定者:
getName在接口中org.apache.hadoop.hbase.client.Table
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()
- 指定者:
getConfiguration在接口中org.apache.hadoop.hbase.client.Table
-
getTableDescriptor
public org.apache.hadoop.hbase.HTableDescriptor getTableDescriptor() throws IOException- 指定者:
getTableDescriptor在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
exists
public boolean exists(org.apache.hadoop.hbase.client.Get get) throws IOException- 指定者:
exists在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
existsAll
public boolean[] existsAll(List<org.apache.hadoop.hbase.client.Get> gets) throws IOException
- 指定者:
existsAll在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
batch
public void batch(List<? extends org.apache.hadoop.hbase.client.Row> actions, Object[] results) throws IOException, InterruptedException
- 指定者:
batch在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOExceptionInterruptedException
-
batch
@Deprecated public Object[] batch(List<? extends org.apache.hadoop.hbase.client.Row> actions) throws IOException, InterruptedException
已过时。- 指定者:
batch在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOExceptionInterruptedException
-
batchCallback
public <R> void batchCallback(List<? extends org.apache.hadoop.hbase.client.Row> actions, Object[] results, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws IOException, InterruptedException
- 指定者:
batchCallback在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOExceptionInterruptedException
-
batchCallback
@Deprecated public <R> Object[] batchCallback(List<? extends org.apache.hadoop.hbase.client.Row> actions, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws IOException, InterruptedException
已过时。- 指定者:
batchCallback在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOExceptionInterruptedException
-
get
public org.apache.hadoop.hbase.client.Result get(org.apache.hadoop.hbase.client.Get get) throws IOException- 指定者:
get在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
get
public org.apache.hadoop.hbase.client.Result[] get(List<org.apache.hadoop.hbase.client.Get> gets) throws IOException
- 指定者:
get在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
getScanner
public org.apache.hadoop.hbase.client.ResultScanner getScanner(org.apache.hadoop.hbase.client.Scan scan) throws IOException- 指定者:
getScanner在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
getScanner
public org.apache.hadoop.hbase.client.ResultScanner getScanner(byte[] family) throws IOException- 指定者:
getScanner在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
getScanner
public org.apache.hadoop.hbase.client.ResultScanner getScanner(byte[] family, byte[] qualifier) throws IOException- 指定者:
getScanner在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
put
public void put(org.apache.hadoop.hbase.client.Put put) throws IOException- 指定者:
put在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
put
public void put(List<org.apache.hadoop.hbase.client.Put> puts) throws IOException
- 指定者:
put在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
checkAndPut
public boolean checkAndPut(byte[] row, byte[] family, byte[] qualifier, byte[] value, org.apache.hadoop.hbase.client.Put put) throws IOException- 指定者:
checkAndPut在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
checkAndPut
public boolean checkAndPut(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp, byte[] value, org.apache.hadoop.hbase.client.Put put) throws IOException- 指定者:
checkAndPut在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
delete
public void delete(org.apache.hadoop.hbase.client.Delete delete) throws IOException- 指定者:
delete在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
delete
public void delete(List<org.apache.hadoop.hbase.client.Delete> deletes) throws IOException
- 指定者:
delete在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
checkAndDelete
public boolean checkAndDelete(byte[] row, byte[] family, byte[] qualifier, byte[] value, org.apache.hadoop.hbase.client.Delete delete) throws IOException- 指定者:
checkAndDelete在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
checkAndDelete
public boolean checkAndDelete(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp, byte[] value, org.apache.hadoop.hbase.client.Delete delete) throws IOException- 指定者:
checkAndDelete在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
mutateRow
public void mutateRow(org.apache.hadoop.hbase.client.RowMutations rm) throws IOException- 指定者:
mutateRow在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
append
public org.apache.hadoop.hbase.client.Result append(org.apache.hadoop.hbase.client.Append append) throws IOException- 指定者:
append在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
increment
public org.apache.hadoop.hbase.client.Result increment(org.apache.hadoop.hbase.client.Increment increment) throws IOException- 指定者:
increment在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
incrementColumnValue
public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount) throws IOException- 指定者:
incrementColumnValue在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
incrementColumnValue
public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, long amount, org.apache.hadoop.hbase.client.Durability durability) throws IOException- 指定者:
incrementColumnValue在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
close
public void close() throws IOException- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
coprocessorService
public org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel coprocessorService(byte[] row)
- 指定者:
coprocessorService在接口中org.apache.hadoop.hbase.client.Table
-
coprocessorService
public <T extends com.google.protobuf.Service,R> Map<byte[],R> coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable) throws com.google.protobuf.ServiceException, Throwable
- 指定者:
coprocessorService在接口中org.apache.hadoop.hbase.client.Table- 抛出:
com.google.protobuf.ServiceExceptionThrowable
-
coprocessorService
public <T extends com.google.protobuf.Service,R> void coprocessorService(Class<T> service, byte[] startKey, byte[] endKey, org.apache.hadoop.hbase.client.coprocessor.Batch.Call<T,R> callable, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws com.google.protobuf.ServiceException, Throwable
- 指定者:
coprocessorService在接口中org.apache.hadoop.hbase.client.Table- 抛出:
com.google.protobuf.ServiceExceptionThrowable
-
getWriteBufferSize
@Deprecated public long getWriteBufferSize()
已过时。- 指定者:
getWriteBufferSize在接口中org.apache.hadoop.hbase.client.Table
-
setWriteBufferSize
@Deprecated public void setWriteBufferSize(long writeBufferSize) throws IOException
已过时。- 指定者:
setWriteBufferSize在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
batchCoprocessorService
public <R extends com.google.protobuf.Message> Map<byte[],R> batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, com.google.protobuf.Message request, byte[] startKey, byte[] endKey, R responsePrototype) throws com.google.protobuf.ServiceException, Throwable
- 指定者:
batchCoprocessorService在接口中org.apache.hadoop.hbase.client.Table- 抛出:
com.google.protobuf.ServiceExceptionThrowable
-
batchCoprocessorService
public <R extends com.google.protobuf.Message> void batchCoprocessorService(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor, com.google.protobuf.Message request, byte[] startKey, byte[] endKey, R responsePrototype, org.apache.hadoop.hbase.client.coprocessor.Batch.Callback<R> callback) throws com.google.protobuf.ServiceException, Throwable- 指定者:
batchCoprocessorService在接口中org.apache.hadoop.hbase.client.Table- 抛出:
com.google.protobuf.ServiceExceptionThrowable
-
checkAndMutate
public boolean checkAndMutate(byte[] row, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.filter.CompareFilter.CompareOp compareOp, byte[] value, org.apache.hadoop.hbase.client.RowMutations mutation) throws IOException- 指定者:
checkAndMutate在接口中org.apache.hadoop.hbase.client.Table- 抛出:
IOException
-
-