|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.thrift.TServiceClient
org.apache.hadoop.hbase.thrift.generated.Hbase.Client
public static class Hbase.Client
| Nested Class Summary | |
|---|---|
static class |
Hbase.Client.Factory
|
| Field Summary |
|---|
| Fields inherited from class org.apache.thrift.TServiceClient |
|---|
iprot_, oprot_, seqid_ |
| Constructor Summary | |
|---|---|
Hbase.Client(org.apache.thrift.protocol.TProtocol prot)
|
|
Hbase.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
|
|
| Method Summary | |
|---|---|
long |
atomicIncrement(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long value)
Atomically increment the column value specified. |
void |
compact(ByteBuffer tableNameOrRegionName)
|
void |
createTable(ByteBuffer tableName,
List<ColumnDescriptor> columnFamilies)
Create a table with the specified column families. |
void |
deleteAll(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
Delete all cells that match the passed row and column. |
void |
deleteAllRow(ByteBuffer tableName,
ByteBuffer row)
Completely delete the row's cells. |
void |
deleteAllRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
Completely delete the row's cells marked with a timestamp equal-to or older than the passed timestamp. |
void |
deleteAllTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp)
Delete all cells that match the passed row and column and whose timestamp is equal-to or older than the passed timestamp. |
void |
deleteTable(ByteBuffer tableName)
Deletes a table |
void |
disableTable(ByteBuffer tableName)
Disables a table (takes it off-line) If it is being served, the master will tell the servers to stop serving it. |
void |
enableTable(ByteBuffer tableName)
Brings a table on-line (enables it) |
List<TCell> |
get(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
Get a single TCell for the specified table, row, and column at the latest timestamp. |
Map<ByteBuffer,ColumnDescriptor> |
getColumnDescriptors(ByteBuffer tableName)
List all the column families assoicated with a table. |
List<TRowResult> |
getRow(ByteBuffer tableName,
ByteBuffer row)
Get all the data for the specified table and row at the latest timestamp. |
List<TRowResult> |
getRows(ByteBuffer tableName,
List<ByteBuffer> rows)
Get all the data for the specified table and rows at the latest timestamp. |
List<TRowResult> |
getRowsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
long timestamp)
Get all the data for the specified table and rows at the specified timestamp. |
List<TRowResult> |
getRowsWithColumns(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns)
Get the specified columns for the specified table and rows at the latest timestamp. |
List<TRowResult> |
getRowsWithColumnsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns,
long timestamp)
Get the specified columns for the specified table and rows at the specified timestamp. |
List<TRowResult> |
getRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
Get all the data for the specified table and row at the specified timestamp. |
List<TRowResult> |
getRowWithColumns(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns)
Get the specified columns for the specified table and row at the latest timestamp. |
List<TRowResult> |
getRowWithColumnsTs(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns,
long timestamp)
Get the specified columns for the specified table and row at the specified timestamp. |
List<ByteBuffer> |
getTableNames()
List all the userspace tables. |
List<TRegionInfo> |
getTableRegions(ByteBuffer tableName)
List the regions associated with a table. |
List<TCell> |
getVer(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
int numVersions)
Get the specified number of versions for the specified table, row, and column. |
List<TCell> |
getVerTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp,
int numVersions)
Get the specified number of versions for the specified table, row, and column. |
boolean |
isTableEnabled(ByteBuffer tableName)
|
void |
majorCompact(ByteBuffer tableNameOrRegionName)
|
void |
mutateRow(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations)
Apply a series of mutations (updates/deletes) to a row in a single transaction. |
void |
mutateRows(ByteBuffer tableName,
List<BatchMutation> rowBatches)
Apply a series of batches (each a series of mutations on a single row) in a single transaction. |
void |
mutateRowsTs(ByteBuffer tableName,
List<BatchMutation> rowBatches,
long timestamp)
Apply a series of batches (each a series of mutations on a single row) in a single transaction. |
void |
mutateRowTs(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations,
long timestamp)
Apply a series of mutations (updates/deletes) to a row in a single transaction. |
long |
recv_atomicIncrement()
|
void |
recv_compact()
|
void |
recv_createTable()
|
void |
recv_deleteAll()
|
void |
recv_deleteAllRow()
|
void |
recv_deleteAllRowTs()
|
void |
recv_deleteAllTs()
|
void |
recv_deleteTable()
|
void |
recv_disableTable()
|
void |
recv_enableTable()
|
List<TCell> |
recv_get()
|
Map<ByteBuffer,ColumnDescriptor> |
recv_getColumnDescriptors()
|
List<TRowResult> |
recv_getRow()
|
List<TRowResult> |
recv_getRows()
|
List<TRowResult> |
recv_getRowsTs()
|
List<TRowResult> |
recv_getRowsWithColumns()
|
List<TRowResult> |
recv_getRowsWithColumnsTs()
|
List<TRowResult> |
recv_getRowTs()
|
List<TRowResult> |
recv_getRowWithColumns()
|
List<TRowResult> |
recv_getRowWithColumnsTs()
|
List<ByteBuffer> |
recv_getTableNames()
|
List<TRegionInfo> |
recv_getTableRegions()
|
List<TCell> |
recv_getVer()
|
List<TCell> |
recv_getVerTs()
|
boolean |
recv_isTableEnabled()
|
void |
recv_majorCompact()
|
void |
recv_mutateRow()
|
void |
recv_mutateRows()
|
void |
recv_mutateRowsTs()
|
void |
recv_mutateRowTs()
|
void |
recv_scannerClose()
|
List<TRowResult> |
recv_scannerGet()
|
List<TRowResult> |
recv_scannerGetList()
|
int |
recv_scannerOpen()
|
int |
recv_scannerOpenTs()
|
int |
recv_scannerOpenWithPrefix()
|
int |
recv_scannerOpenWithScan()
|
int |
recv_scannerOpenWithStop()
|
int |
recv_scannerOpenWithStopTs()
|
void |
scannerClose(int id)
Closes the server-state associated with an open scanner. |
List<TRowResult> |
scannerGet(int id)
Returns the scanner's current row value and advances to the next row in the table. |
List<TRowResult> |
scannerGetList(int id,
int nbRows)
Returns, starting at the scanner's current row value nbRows worth of rows and advances to the next row in the table. |
int |
scannerOpen(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns)
Get a scanner on the current table starting at the specified row and ending at the last row in the table. |
int |
scannerOpenTs(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns,
long timestamp)
Get a scanner on the current table starting at the specified row and ending at the last row in the table. |
int |
scannerOpenWithPrefix(ByteBuffer tableName,
ByteBuffer startAndPrefix,
List<ByteBuffer> columns)
Open a scanner for a given prefix. |
int |
scannerOpenWithScan(ByteBuffer tableName,
TScan scan)
Get a scanner on the current table, using the Scan instance for the scan parameters. |
int |
scannerOpenWithStop(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns)
Get a scanner on the current table starting and stopping at the specified rows. |
int |
scannerOpenWithStopTs(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns,
long timestamp)
Get a scanner on the current table starting and stopping at the specified rows. |
void |
send_atomicIncrement(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long value)
|
void |
send_compact(ByteBuffer tableNameOrRegionName)
|
void |
send_createTable(ByteBuffer tableName,
List<ColumnDescriptor> columnFamilies)
|
void |
send_deleteAll(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
|
void |
send_deleteAllRow(ByteBuffer tableName,
ByteBuffer row)
|
void |
send_deleteAllRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
|
void |
send_deleteAllTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp)
|
void |
send_deleteTable(ByteBuffer tableName)
|
void |
send_disableTable(ByteBuffer tableName)
|
void |
send_enableTable(ByteBuffer tableName)
|
void |
send_get(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
|
void |
send_getColumnDescriptors(ByteBuffer tableName)
|
void |
send_getRow(ByteBuffer tableName,
ByteBuffer row)
|
void |
send_getRows(ByteBuffer tableName,
List<ByteBuffer> rows)
|
void |
send_getRowsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
long timestamp)
|
void |
send_getRowsWithColumns(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns)
|
void |
send_getRowsWithColumnsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns,
long timestamp)
|
void |
send_getRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
|
void |
send_getRowWithColumns(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns)
|
void |
send_getRowWithColumnsTs(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns,
long timestamp)
|
void |
send_getTableNames()
|
void |
send_getTableRegions(ByteBuffer tableName)
|
void |
send_getVer(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
int numVersions)
|
void |
send_getVerTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp,
int numVersions)
|
void |
send_isTableEnabled(ByteBuffer tableName)
|
void |
send_majorCompact(ByteBuffer tableNameOrRegionName)
|
void |
send_mutateRow(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations)
|
void |
send_mutateRows(ByteBuffer tableName,
List<BatchMutation> rowBatches)
|
void |
send_mutateRowsTs(ByteBuffer tableName,
List<BatchMutation> rowBatches,
long timestamp)
|
void |
send_mutateRowTs(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations,
long timestamp)
|
void |
send_scannerClose(int id)
|
void |
send_scannerGet(int id)
|
void |
send_scannerGetList(int id,
int nbRows)
|
void |
send_scannerOpen(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns)
|
void |
send_scannerOpenTs(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns,
long timestamp)
|
void |
send_scannerOpenWithPrefix(ByteBuffer tableName,
ByteBuffer startAndPrefix,
List<ByteBuffer> columns)
|
void |
send_scannerOpenWithScan(ByteBuffer tableName,
TScan scan)
|
void |
send_scannerOpenWithStop(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns)
|
void |
send_scannerOpenWithStopTs(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns,
long timestamp)
|
| Methods inherited from class org.apache.thrift.TServiceClient |
|---|
getInputProtocol, getOutputProtocol, receiveBase, sendBase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Hbase.Client(org.apache.thrift.protocol.TProtocol prot)
public Hbase.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
| Method Detail |
|---|
public void enableTable(ByteBuffer tableName)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
enableTable in interface Hbase.IfacetableName - name of the table
IOError
org.apache.thrift.TException
public void send_enableTable(ByteBuffer tableName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_enableTable()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void disableTable(ByteBuffer tableName)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
disableTable in interface Hbase.IfacetableName - name of the table
IOError
org.apache.thrift.TException
public void send_disableTable(ByteBuffer tableName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_disableTable()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public boolean isTableEnabled(ByteBuffer tableName)
throws IOError,
org.apache.thrift.TException
isTableEnabled in interface Hbase.IfacetableName - name of the table to check
IOError
org.apache.thrift.TException
public void send_isTableEnabled(ByteBuffer tableName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public boolean recv_isTableEnabled()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void compact(ByteBuffer tableNameOrRegionName)
throws IOError,
org.apache.thrift.TException
compact in interface Hbase.IfaceIOError
org.apache.thrift.TException
public void send_compact(ByteBuffer tableNameOrRegionName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_compact()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void majorCompact(ByteBuffer tableNameOrRegionName)
throws IOError,
org.apache.thrift.TException
majorCompact in interface Hbase.IfaceIOError
org.apache.thrift.TException
public void send_majorCompact(ByteBuffer tableNameOrRegionName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_majorCompact()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<ByteBuffer> getTableNames()
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getTableNames in interface Hbase.IfaceIOError
org.apache.thrift.TException
public void send_getTableNames()
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<ByteBuffer> recv_getTableNames()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public Map<ByteBuffer,ColumnDescriptor> getColumnDescriptors(ByteBuffer tableName)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getColumnDescriptors in interface Hbase.IfacetableName - table name
IOError
org.apache.thrift.TException
public void send_getColumnDescriptors(ByteBuffer tableName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public Map<ByteBuffer,ColumnDescriptor> recv_getColumnDescriptors()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRegionInfo> getTableRegions(ByteBuffer tableName)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getTableRegions in interface Hbase.IfacetableName - table name
IOError
org.apache.thrift.TException
public void send_getTableRegions(ByteBuffer tableName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRegionInfo> recv_getTableRegions()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void createTable(ByteBuffer tableName,
List<ColumnDescriptor> columnFamilies)
throws IOError,
IllegalArgument,
AlreadyExists,
org.apache.thrift.TException
Hbase.Iface
createTable in interface Hbase.IfacetableName - name of table to createcolumnFamilies - list of column family descriptors
IllegalArgument - if an input parameter is invalid
AlreadyExists - if the table name already exists
IOError
org.apache.thrift.TException
public void send_createTable(ByteBuffer tableName,
List<ColumnDescriptor> columnFamilies)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_createTable()
throws IOError,
IllegalArgument,
AlreadyExists,
org.apache.thrift.TException
IOError
IllegalArgument
AlreadyExists
org.apache.thrift.TException
public void deleteTable(ByteBuffer tableName)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
deleteTable in interface Hbase.IfacetableName - name of table to delete
IOError - if table doesn't exist on server or there was some other
problem
org.apache.thrift.TException
public void send_deleteTable(ByteBuffer tableName)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deleteTable()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TCell> get(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
get in interface Hbase.IfacetableName - name of tablerow - row keycolumn - column name
IOError
org.apache.thrift.TException
public void send_get(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TCell> recv_get()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TCell> getVer(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
int numVersions)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getVer in interface Hbase.IfacetableName - name of tablerow - row keycolumn - column namenumVersions - number of versions to retrieve
IOError
org.apache.thrift.TException
public void send_getVer(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
int numVersions)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TCell> recv_getVer()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TCell> getVerTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp,
int numVersions)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getVerTs in interface Hbase.IfacetableName - name of tablerow - row keycolumn - column nametimestamp - timestampnumVersions - number of versions to retrieve
IOError
org.apache.thrift.TException
public void send_getVerTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp,
int numVersions)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TCell> recv_getVerTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRow(ByteBuffer tableName,
ByteBuffer row)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRow in interface Hbase.IfacetableName - name of tablerow - row key
IOError
org.apache.thrift.TException
public void send_getRow(ByteBuffer tableName,
ByteBuffer row)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRow()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRowWithColumns(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRowWithColumns in interface Hbase.IfacetableName - name of tablerow - row keycolumns - List of columns to return, null for all columns
IOError
org.apache.thrift.TException
public void send_getRowWithColumns(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRowWithColumns()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRowTs in interface Hbase.IfacetableName - name of the tablerow - row keytimestamp - timestamp
IOError
org.apache.thrift.TException
public void send_getRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRowTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRowWithColumnsTs(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRowWithColumnsTs in interface Hbase.IfacetableName - name of tablerow - row keycolumns - List of columns to return, null for all columns
IOError
org.apache.thrift.TException
public void send_getRowWithColumnsTs(ByteBuffer tableName,
ByteBuffer row,
List<ByteBuffer> columns,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRowWithColumnsTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRows(ByteBuffer tableName,
List<ByteBuffer> rows)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRows in interface Hbase.IfacetableName - name of tablerows - row keys
IOError
org.apache.thrift.TException
public void send_getRows(ByteBuffer tableName,
List<ByteBuffer> rows)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRows()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRowsWithColumns(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRowsWithColumns in interface Hbase.IfacetableName - name of tablerows - row keyscolumns - List of columns to return, null for all columns
IOError
org.apache.thrift.TException
public void send_getRowsWithColumns(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRowsWithColumns()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRowsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRowsTs in interface Hbase.IfacetableName - name of the tablerows - row keystimestamp - timestamp
IOError
org.apache.thrift.TException
public void send_getRowsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRowsTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> getRowsWithColumnsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
getRowsWithColumnsTs in interface Hbase.IfacetableName - name of tablerows - row keyscolumns - List of columns to return, null for all columns
IOError
org.apache.thrift.TException
public void send_getRowsWithColumnsTs(ByteBuffer tableName,
List<ByteBuffer> rows,
List<ByteBuffer> columns,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_getRowsWithColumnsTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void mutateRow(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
mutateRow in interface Hbase.IfacetableName - name of tablerow - row keymutations - list of mutation commands
IOError
IllegalArgument
org.apache.thrift.TException
public void send_mutateRow(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_mutateRow()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public void mutateRowTs(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations,
long timestamp)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
mutateRowTs in interface Hbase.IfacetableName - name of tablerow - row keymutations - list of mutation commandstimestamp - timestamp
IOError
IllegalArgument
org.apache.thrift.TException
public void send_mutateRowTs(ByteBuffer tableName,
ByteBuffer row,
List<Mutation> mutations,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_mutateRowTs()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public void mutateRows(ByteBuffer tableName,
List<BatchMutation> rowBatches)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
mutateRows in interface Hbase.IfacetableName - name of tablerowBatches - list of row batches
IOError
IllegalArgument
org.apache.thrift.TException
public void send_mutateRows(ByteBuffer tableName,
List<BatchMutation> rowBatches)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_mutateRows()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public void mutateRowsTs(ByteBuffer tableName,
List<BatchMutation> rowBatches,
long timestamp)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
mutateRowsTs in interface Hbase.IfacetableName - name of tablerowBatches - list of row batchestimestamp - timestamp
IOError
IllegalArgument
org.apache.thrift.TException
public void send_mutateRowsTs(ByteBuffer tableName,
List<BatchMutation> rowBatches,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_mutateRowsTs()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public long atomicIncrement(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long value)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
atomicIncrement in interface Hbase.IfacetableName - name of tablerow - row to incrementcolumn - name of columnvalue - amount to increment by
IOError
IllegalArgument
org.apache.thrift.TException
public void send_atomicIncrement(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long value)
throws org.apache.thrift.TException
org.apache.thrift.TException
public long recv_atomicIncrement()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public void deleteAll(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
deleteAll in interface Hbase.IfacetableName - name of tablerow - Row to updatecolumn - name of column whose value is to be deleted
IOError
org.apache.thrift.TException
public void send_deleteAll(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deleteAll()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void deleteAllTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
deleteAllTs in interface Hbase.IfacetableName - name of tablerow - Row to updatecolumn - name of column whose value is to be deletedtimestamp - timestamp
IOError
org.apache.thrift.TException
public void send_deleteAllTs(ByteBuffer tableName,
ByteBuffer row,
ByteBuffer column,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deleteAllTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void deleteAllRow(ByteBuffer tableName,
ByteBuffer row)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
deleteAllRow in interface Hbase.IfacetableName - name of tablerow - key of the row to be completely deleted.
IOError
org.apache.thrift.TException
public void send_deleteAllRow(ByteBuffer tableName,
ByteBuffer row)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deleteAllRow()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public void deleteAllRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
deleteAllRowTs in interface Hbase.IfacetableName - name of tablerow - key of the row to be completely deleted.timestamp - timestamp
IOError
org.apache.thrift.TException
public void send_deleteAllRowTs(ByteBuffer tableName,
ByteBuffer row,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_deleteAllRowTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public int scannerOpenWithScan(ByteBuffer tableName,
TScan scan)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
scannerOpenWithScan in interface Hbase.IfacetableName - name of tablescan - Scan instance
IOError
org.apache.thrift.TException
public void send_scannerOpenWithScan(ByteBuffer tableName,
TScan scan)
throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_scannerOpenWithScan()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public int scannerOpen(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
scannerOpen in interface Hbase.IfacetableName - name of tablestartRow - Starting row in table to scan.
Send "" (empty string) to start at the first row.columns - columns to scan. If column name is a column family, all
columns of the specified column family are returned. It's also possible
to pass a regex in the column qualifier.
IOError
org.apache.thrift.TException
public void send_scannerOpen(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns)
throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_scannerOpen()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public int scannerOpenWithStop(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
scannerOpenWithStop in interface Hbase.IfacetableName - name of tablestartRow - Starting row in table to scan.
Send "" (empty string) to start at the first row.stopRow - row to stop scanning on. This row is *not* included in the
scanner's resultscolumns - columns to scan. If column name is a column family, all
columns of the specified column family are returned. It's also possible
to pass a regex in the column qualifier.
IOError
org.apache.thrift.TException
public void send_scannerOpenWithStop(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns)
throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_scannerOpenWithStop()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public int scannerOpenWithPrefix(ByteBuffer tableName,
ByteBuffer startAndPrefix,
List<ByteBuffer> columns)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
scannerOpenWithPrefix in interface Hbase.IfacetableName - name of tablestartAndPrefix - the prefix (and thus start row) of the keys you wantcolumns - the columns you want returned
IOError
org.apache.thrift.TException
public void send_scannerOpenWithPrefix(ByteBuffer tableName,
ByteBuffer startAndPrefix,
List<ByteBuffer> columns)
throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_scannerOpenWithPrefix()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public int scannerOpenTs(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
scannerOpenTs in interface Hbase.IfacetableName - name of tablestartRow - Starting row in table to scan.
Send "" (empty string) to start at the first row.columns - columns to scan. If column name is a column family, all
columns of the specified column family are returned. It's also possible
to pass a regex in the column qualifier.timestamp - timestamp
IOError
org.apache.thrift.TException
public void send_scannerOpenTs(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_scannerOpenTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public int scannerOpenWithStopTs(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns,
long timestamp)
throws IOError,
org.apache.thrift.TException
Hbase.Iface
scannerOpenWithStopTs in interface Hbase.IfacetableName - name of tablestartRow - Starting row in table to scan.
Send "" (empty string) to start at the first row.stopRow - row to stop scanning on. This row is *not* included in the
scanner's resultscolumns - columns to scan. If column name is a column family, all
columns of the specified column family are returned. It's also possible
to pass a regex in the column qualifier.timestamp - timestamp
IOError
org.apache.thrift.TException
public void send_scannerOpenWithStopTs(ByteBuffer tableName,
ByteBuffer startRow,
ByteBuffer stopRow,
List<ByteBuffer> columns,
long timestamp)
throws org.apache.thrift.TException
org.apache.thrift.TException
public int recv_scannerOpenWithStopTs()
throws IOError,
org.apache.thrift.TException
IOError
org.apache.thrift.TException
public List<TRowResult> scannerGet(int id)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
scannerGet in interface Hbase.Ifaceid - id of a scanner returned by scannerOpen
IllegalArgument - if ScannerID is invalid
IOError
org.apache.thrift.TException
public void send_scannerGet(int id)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_scannerGet()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public List<TRowResult> scannerGetList(int id,
int nbRows)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
scannerGetList in interface Hbase.Ifaceid - id of a scanner returned by scannerOpennbRows - number of results to return
IllegalArgument - if ScannerID is invalid
IOError
org.apache.thrift.TException
public void send_scannerGetList(int id,
int nbRows)
throws org.apache.thrift.TException
org.apache.thrift.TException
public List<TRowResult> recv_scannerGetList()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
public void scannerClose(int id)
throws IOError,
IllegalArgument,
org.apache.thrift.TException
Hbase.Iface
scannerClose in interface Hbase.Ifaceid - id of a scanner returned by scannerOpen
IllegalArgument - if ScannerID is invalid
IOError
org.apache.thrift.TException
public void send_scannerClose(int id)
throws org.apache.thrift.TException
org.apache.thrift.TException
public void recv_scannerClose()
throws IOError,
IllegalArgument,
org.apache.thrift.TException
IOError
IllegalArgument
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||