@InterfaceAudience.Private public class ThriftTable extends Object implements Table
Table.CheckAndMutateBuilder| Constructor and Description |
|---|
ThriftTable(TableName tableName,
THBaseService.Client client,
org.apache.thrift.transport.TTransport tTransport,
org.apache.hadoop.conf.Configuration conf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchCoprocessorService, batchCoprocessorService, checkAndDelete, checkAndDelete, checkAndDelete, checkAndMutate, checkAndPut, checkAndPut, checkAndPut, coprocessorService, coprocessorService, existsAll, getOperationTimeout, getReadRpcTimeout, getRpcTimeout, getTableDescriptor, getWriteRpcTimeout, incrementColumnValue, incrementColumnValue, setOperationTimeout, setReadRpcTimeout, setRpcTimeout, setWriteRpcTimeoutpublic ThriftTable(TableName tableName, THBaseService.Client client, org.apache.thrift.transport.TTransport tTransport, org.apache.hadoop.conf.Configuration conf)
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in interface Tablepublic TableDescriptor getDescriptor() throws IOException
getDescriptor in interface TableIOExceptionpublic boolean exists(Get get) throws IOException
exists in interface TableIOExceptionpublic boolean[] exists(List<Get> gets) throws IOException
exists in interface TableIOExceptionpublic void batch(List<? extends Row> actions, Object[] results) throws IOException
batch in interface TableIOExceptionpublic <R> void batchCallback(List<? extends Row> actions, Object[] results, Batch.Callback<R> callback) throws IOException
batchCallback in interface TableIOExceptionpublic Result get(Get get) throws IOException
get in interface TableIOExceptionpublic Result[] get(List<Get> gets) throws IOException
get in interface TableIOExceptionpublic ResultScanner getScanner(Scan scan) throws IOException
getScanner in interface TableIOExceptionpublic ResultScanner getScanner(byte[] family) throws IOException
getScanner in interface TableIOExceptionpublic ResultScanner getScanner(byte[] family, byte[] qualifier) throws IOException
getScanner in interface TableIOExceptionpublic void put(Put put) throws IOException
put in interface TableIOExceptionpublic void put(List<Put> puts) throws IOException
put in interface TableIOExceptionpublic void delete(Delete delete) throws IOException
delete in interface TableIOExceptionpublic void delete(List<Delete> deletes) throws IOException
delete in interface TableIOExceptionpublic boolean checkAndMutate(byte[] row,
byte[] family,
byte[] qualifier,
CompareOperator op,
byte[] value,
RowMutations mutation)
throws IOException
checkAndMutate in interface TableIOExceptionpublic Table.CheckAndMutateBuilder checkAndMutate(byte[] row, byte[] family)
checkAndMutate in interface Tablepublic void mutateRow(RowMutations rm) throws IOException
mutateRow in interface TableIOExceptionpublic Result append(Append append) throws IOException
append in interface TableIOExceptionpublic Result increment(Increment increment) throws IOException
increment in interface TableIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface TableIOExceptionpublic long getRpcTimeout(TimeUnit unit)
getRpcTimeout in interface Tablepublic long getReadRpcTimeout(TimeUnit unit)
getReadRpcTimeout in interface Tablepublic long getWriteRpcTimeout(TimeUnit unit)
getWriteRpcTimeout in interface Tablepublic long getOperationTimeout(TimeUnit unit)
getOperationTimeout in interface Tablepublic CoprocessorRpcChannel coprocessorService(byte[] row)
coprocessorService in interface TableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.