|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.Hbase.Client
public static class Hbase.Client
Field Summary | |
---|---|
protected com.facebook.thrift.protocol.TProtocol |
iprot_
|
protected com.facebook.thrift.protocol.TProtocol |
oprot_
|
protected int |
seqid_
|
Constructor Summary | |
---|---|
Hbase.Client(com.facebook.thrift.protocol.TProtocol prot)
|
|
Hbase.Client(com.facebook.thrift.protocol.TProtocol iprot,
com.facebook.thrift.protocol.TProtocol oprot)
|
Method Summary | |
---|---|
long |
atomicIncrement(byte[] tableName,
byte[] row,
byte[] column,
long value)
|
void |
createTable(byte[] tableName,
List<ColumnDescriptor> columnFamilies)
Create a table with the specified column families. |
void |
deleteAll(byte[] tableName,
byte[] row,
byte[] column)
Delete all cells that match the passed row and column. |
void |
deleteAllRow(byte[] tableName,
byte[] row)
Completely delete the row's cells. |
void |
deleteAllRowTs(byte[] tableName,
byte[] row,
long timestamp)
Completely delete the row's cells marked with a timestamp equal-to or older than the passed timestamp. |
void |
deleteAllTs(byte[] tableName,
byte[] row,
byte[] 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(byte[] tableName)
Deletes a table |
void |
disableTable(byte[] 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(byte[] tableName)
Brings a table on-line (enables it) |
TCell |
get(byte[] tableName,
byte[] row,
byte[] column)
Get a single TCell for the specified table, row, and column at the latest timestamp. |
Map<byte[],ColumnDescriptor> |
getColumnDescriptors(byte[] tableName)
List all the column families assoicated with a table. |
com.facebook.thrift.protocol.TProtocol |
getInputProtocol()
|
com.facebook.thrift.protocol.TProtocol |
getOutputProtocol()
|
TRowResult |
getRow(byte[] tableName,
byte[] row)
Get all the data for the specified table and row at the latest timestamp. |
TRowResult |
getRowTs(byte[] tableName,
byte[] row,
long timestamp)
Get all the data for the specified table and row at the specified timestamp. |
TRowResult |
getRowWithColumns(byte[] tableName,
byte[] row,
List<byte[]> columns)
Get the specified columns for the specified table and row at the latest timestamp. |
TRowResult |
getRowWithColumnsTs(byte[] tableName,
byte[] row,
List<byte[]> columns,
long timestamp)
Get the specified columns for the specified table and row at the specified timestamp. |
List<byte[]> |
getTableNames()
List all the userspace tables. |
List<TRegionInfo> |
getTableRegions(byte[] tableName)
List the regions associated with a table. |
List<TCell> |
getVer(byte[] tableName,
byte[] row,
byte[] column,
int numVersions)
Get the specified number of versions for the specified table, row, and column. |
List<TCell> |
getVerTs(byte[] tableName,
byte[] row,
byte[] column,
long timestamp,
int numVersions)
Get the specified number of versions for the specified table, row, and column. |
boolean |
isTableEnabled(byte[] tableName)
|
void |
mutateRow(byte[] tableName,
byte[] row,
List<Mutation> mutations)
Apply a series of mutations (updates/deletes) to a row in a single transaction. |
void |
mutateRows(byte[] tableName,
List<BatchMutation> rowBatches)
Apply a series of batches (each a series of mutations on a single row) in a single transaction. |
void |
mutateRowsTs(byte[] 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(byte[] tableName,
byte[] 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_createTable()
|
void |
recv_deleteAll()
|
void |
recv_deleteAllRow()
|
void |
recv_deleteAllRowTs()
|
void |
recv_deleteAllTs()
|
void |
recv_deleteTable()
|
void |
recv_disableTable()
|
void |
recv_enableTable()
|
TCell |
recv_get()
|
Map<byte[],ColumnDescriptor> |
recv_getColumnDescriptors()
|
TRowResult |
recv_getRow()
|
TRowResult |
recv_getRowTs()
|
TRowResult |
recv_getRowWithColumns()
|
TRowResult |
recv_getRowWithColumnsTs()
|
List<byte[]> |
recv_getTableNames()
|
List<TRegionInfo> |
recv_getTableRegions()
|
List<TCell> |
recv_getVer()
|
List<TCell> |
recv_getVerTs()
|
boolean |
recv_isTableEnabled()
|
void |
recv_mutateRow()
|
void |
recv_mutateRows()
|
void |
recv_mutateRowsTs()
|
void |
recv_mutateRowTs()
|
void |
recv_scannerClose()
|
TRowResult |
recv_scannerGet()
|
int |
recv_scannerOpen()
|
int |
recv_scannerOpenTs()
|
int |
recv_scannerOpenWithStop()
|
int |
recv_scannerOpenWithStopTs()
|
void |
scannerClose(int id)
Closes the server-state associated with an open scanner. |
TRowResult |
scannerGet(int id)
Returns the scanner's current row value and advances to the next row in the table. |
int |
scannerOpen(byte[] tableName,
byte[] startRow,
List<byte[]> columns)
Get a scanner on the current table starting at the specified row and ending at the last row in the table. |
int |
scannerOpenTs(byte[] tableName,
byte[] startRow,
List<byte[]> 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 |
scannerOpenWithStop(byte[] tableName,
byte[] startRow,
byte[] stopRow,
List<byte[]> columns)
Get a scanner on the current table starting and stopping at the specified rows. |
int |
scannerOpenWithStopTs(byte[] tableName,
byte[] startRow,
byte[] stopRow,
List<byte[]> columns,
long timestamp)
Get a scanner on the current table starting and stopping at the specified rows. |
void |
send_atomicIncrement(byte[] tableName,
byte[] row,
byte[] column,
long value)
|
void |
send_createTable(byte[] tableName,
List<ColumnDescriptor> columnFamilies)
|
void |
send_deleteAll(byte[] tableName,
byte[] row,
byte[] column)
|
void |
send_deleteAllRow(byte[] tableName,
byte[] row)
|
void |
send_deleteAllRowTs(byte[] tableName,
byte[] row,
long timestamp)
|
void |
send_deleteAllTs(byte[] tableName,
byte[] row,
byte[] column,
long timestamp)
|
void |
send_deleteTable(byte[] tableName)
|
void |
send_disableTable(byte[] tableName)
|
void |
send_enableTable(byte[] tableName)
|
void |
send_get(byte[] tableName,
byte[] row,
byte[] column)
|
void |
send_getColumnDescriptors(byte[] tableName)
|
void |
send_getRow(byte[] tableName,
byte[] row)
|
void |
send_getRowTs(byte[] tableName,
byte[] row,
long timestamp)
|
void |
send_getRowWithColumns(byte[] tableName,
byte[] row,
List<byte[]> columns)
|
void |
send_getRowWithColumnsTs(byte[] tableName,
byte[] row,
List<byte[]> columns,
long timestamp)
|
void |
send_getTableNames()
|
void |
send_getTableRegions(byte[] tableName)
|
void |
send_getVer(byte[] tableName,
byte[] row,
byte[] column,
int numVersions)
|
void |
send_getVerTs(byte[] tableName,
byte[] row,
byte[] column,
long timestamp,
int numVersions)
|
void |
send_isTableEnabled(byte[] tableName)
|
void |
send_mutateRow(byte[] tableName,
byte[] row,
List<Mutation> mutations)
|
void |
send_mutateRows(byte[] tableName,
List<BatchMutation> rowBatches)
|
void |
send_mutateRowsTs(byte[] tableName,
List<BatchMutation> rowBatches,
long timestamp)
|
void |
send_mutateRowTs(byte[] tableName,
byte[] row,
List<Mutation> mutations,
long timestamp)
|
void |
send_scannerClose(int id)
|
void |
send_scannerGet(int id)
|
void |
send_scannerOpen(byte[] tableName,
byte[] startRow,
List<byte[]> columns)
|
void |
send_scannerOpenTs(byte[] tableName,
byte[] startRow,
List<byte[]> columns,
long timestamp)
|
void |
send_scannerOpenWithStop(byte[] tableName,
byte[] startRow,
byte[] stopRow,
List<byte[]> columns)
|
void |
send_scannerOpenWithStopTs(byte[] tableName,
byte[] startRow,
byte[] stopRow,
List<byte[]> columns,
long timestamp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.facebook.thrift.protocol.TProtocol iprot_
protected com.facebook.thrift.protocol.TProtocol oprot_
protected int seqid_
Constructor Detail |
---|
public Hbase.Client(com.facebook.thrift.protocol.TProtocol prot)
public Hbase.Client(com.facebook.thrift.protocol.TProtocol iprot, com.facebook.thrift.protocol.TProtocol oprot)
Method Detail |
---|
public com.facebook.thrift.protocol.TProtocol getInputProtocol()
public com.facebook.thrift.protocol.TProtocol getOutputProtocol()
public void enableTable(byte[] tableName) throws IOError, com.facebook.thrift.TException
Hbase.Iface
enableTable
in interface Hbase.Iface
tableName
- name of the table
IOError
com.facebook.thrift.TException
public void send_enableTable(byte[] tableName) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_enableTable() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public void disableTable(byte[] tableName) throws IOError, com.facebook.thrift.TException
Hbase.Iface
disableTable
in interface Hbase.Iface
tableName
- name of the table
IOError
com.facebook.thrift.TException
public void send_disableTable(byte[] tableName) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_disableTable() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public boolean isTableEnabled(byte[] tableName) throws IOError, com.facebook.thrift.TException
isTableEnabled
in interface Hbase.Iface
tableName
- name of table to check
IOError
com.facebook.thrift.TException
public void send_isTableEnabled(byte[] tableName) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public boolean recv_isTableEnabled() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public List<byte[]> getTableNames() throws IOError, com.facebook.thrift.TException
Hbase.Iface
getTableNames
in interface Hbase.Iface
IOError
com.facebook.thrift.TException
public void send_getTableNames() throws com.facebook.thrift.TException
com.facebook.thrift.TException
public List<byte[]> recv_getTableNames() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public Map<byte[],ColumnDescriptor> getColumnDescriptors(byte[] tableName) throws IOError, com.facebook.thrift.TException
Hbase.Iface
getColumnDescriptors
in interface Hbase.Iface
tableName
- table name
IOError
com.facebook.thrift.TException
public void send_getColumnDescriptors(byte[] tableName) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public Map<byte[],ColumnDescriptor> recv_getColumnDescriptors() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public List<TRegionInfo> getTableRegions(byte[] tableName) throws IOError, com.facebook.thrift.TException
Hbase.Iface
getTableRegions
in interface Hbase.Iface
tableName
- table name
IOError
com.facebook.thrift.TException
public void send_getTableRegions(byte[] tableName) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public List<TRegionInfo> recv_getTableRegions() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public void createTable(byte[] tableName, List<ColumnDescriptor> columnFamilies) throws IOError, IllegalArgument, AlreadyExists, com.facebook.thrift.TException
Hbase.Iface
createTable
in interface Hbase.Iface
tableName
- 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
com.facebook.thrift.TException
public void send_createTable(byte[] tableName, List<ColumnDescriptor> columnFamilies) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_createTable() throws IOError, IllegalArgument, AlreadyExists, com.facebook.thrift.TException
IOError
IllegalArgument
AlreadyExists
com.facebook.thrift.TException
public void deleteTable(byte[] tableName) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
deleteTable
in interface Hbase.Iface
tableName
- name of table to delete
NotFound
- if table doesn't exist on server
IOError
com.facebook.thrift.TException
public void send_deleteTable(byte[] tableName) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_deleteTable() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public TCell get(byte[] tableName, byte[] row, byte[] column) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
get
in interface Hbase.Iface
tableName
- name of tablerow
- row keycolumn
- column name
IOError
NotFound
com.facebook.thrift.TException
public void send_get(byte[] tableName, byte[] row, byte[] column) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public TCell recv_get() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public List<TCell> getVer(byte[] tableName, byte[] row, byte[] column, int numVersions) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
getVer
in interface Hbase.Iface
tableName
- name of tablerow
- row keycolumn
- column namenumVersions
- number of versions to retrieve
IOError
NotFound
com.facebook.thrift.TException
public void send_getVer(byte[] tableName, byte[] row, byte[] column, int numVersions) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public List<TCell> recv_getVer() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public List<TCell> getVerTs(byte[] tableName, byte[] row, byte[] column, long timestamp, int numVersions) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
getVerTs
in interface Hbase.Iface
tableName
- name of tablerow
- row keycolumn
- column nametimestamp
- timestampnumVersions
- number of versions to retrieve
IOError
NotFound
com.facebook.thrift.TException
public void send_getVerTs(byte[] tableName, byte[] row, byte[] column, long timestamp, int numVersions) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public List<TCell> recv_getVerTs() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public TRowResult getRow(byte[] tableName, byte[] row) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
getRow
in interface Hbase.Iface
tableName
- name of tablerow
- row key
NotFound
- if the row does not exist
IOError
com.facebook.thrift.TException
public void send_getRow(byte[] tableName, byte[] row) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public TRowResult recv_getRow() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public TRowResult getRowWithColumns(byte[] tableName, byte[] row, List<byte[]> columns) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
getRowWithColumns
in interface Hbase.Iface
tableName
- name of tablerow
- row keycolumns
- List of columns to return, null for all columns
NotFound
- if the row does not exist
IOError
com.facebook.thrift.TException
public void send_getRowWithColumns(byte[] tableName, byte[] row, List<byte[]> columns) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public TRowResult recv_getRowWithColumns() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public TRowResult getRowTs(byte[] tableName, byte[] row, long timestamp) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
getRowTs
in interface Hbase.Iface
tableName
- of tablerow
- row keytimestamp
- timestamp
NotFound
- if the row does not exist
IOError
com.facebook.thrift.TException
public void send_getRowTs(byte[] tableName, byte[] row, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public TRowResult recv_getRowTs() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public TRowResult getRowWithColumnsTs(byte[] tableName, byte[] row, List<byte[]> columns, long timestamp) throws IOError, NotFound, com.facebook.thrift.TException
Hbase.Iface
getRowWithColumnsTs
in interface Hbase.Iface
tableName
- name of tablerow
- row keycolumns
- List of columns to return, null for all columns
NotFound
- if the row does not exist
IOError
com.facebook.thrift.TException
public void send_getRowWithColumnsTs(byte[] tableName, byte[] row, List<byte[]> columns, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public TRowResult recv_getRowWithColumnsTs() throws IOError, NotFound, com.facebook.thrift.TException
IOError
NotFound
com.facebook.thrift.TException
public void mutateRow(byte[] tableName, byte[] row, List<Mutation> mutations) throws IOError, IllegalArgument, com.facebook.thrift.TException
Hbase.Iface
mutateRow
in interface Hbase.Iface
tableName
- name of tablerow
- row keymutations
- list of mutation commands
IOError
IllegalArgument
com.facebook.thrift.TException
public void send_mutateRow(byte[] tableName, byte[] row, List<Mutation> mutations) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_mutateRow() throws IOError, IllegalArgument, com.facebook.thrift.TException
IOError
IllegalArgument
com.facebook.thrift.TException
public void mutateRowTs(byte[] tableName, byte[] row, List<Mutation> mutations, long timestamp) throws IOError, IllegalArgument, com.facebook.thrift.TException
Hbase.Iface
mutateRowTs
in interface Hbase.Iface
tableName
- name of tablerow
- row keymutations
- list of mutation commandstimestamp
- timestamp
IOError
IllegalArgument
com.facebook.thrift.TException
public void send_mutateRowTs(byte[] tableName, byte[] row, List<Mutation> mutations, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_mutateRowTs() throws IOError, IllegalArgument, com.facebook.thrift.TException
IOError
IllegalArgument
com.facebook.thrift.TException
public void mutateRows(byte[] tableName, List<BatchMutation> rowBatches) throws IOError, IllegalArgument, com.facebook.thrift.TException
Hbase.Iface
mutateRows
in interface Hbase.Iface
tableName
- name of tablerowBatches
- list of row batches
IOError
IllegalArgument
com.facebook.thrift.TException
public void send_mutateRows(byte[] tableName, List<BatchMutation> rowBatches) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_mutateRows() throws IOError, IllegalArgument, com.facebook.thrift.TException
IOError
IllegalArgument
com.facebook.thrift.TException
public void mutateRowsTs(byte[] tableName, List<BatchMutation> rowBatches, long timestamp) throws IOError, IllegalArgument, com.facebook.thrift.TException
Hbase.Iface
mutateRowsTs
in interface Hbase.Iface
tableName
- name of tablerowBatches
- list of row batchestimestamp
- timestamp
IOError
IllegalArgument
com.facebook.thrift.TException
public void send_mutateRowsTs(byte[] tableName, List<BatchMutation> rowBatches, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_mutateRowsTs() throws IOError, IllegalArgument, com.facebook.thrift.TException
IOError
IllegalArgument
com.facebook.thrift.TException
public long atomicIncrement(byte[] tableName, byte[] row, byte[] column, long value) throws IOError, IllegalArgument, com.facebook.thrift.TException
atomicIncrement
in interface Hbase.Iface
IOError
IllegalArgument
com.facebook.thrift.TException
public void send_atomicIncrement(byte[] tableName, byte[] row, byte[] column, long value) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public long recv_atomicIncrement() throws IOError, IllegalArgument, com.facebook.thrift.TException
IOError
IllegalArgument
com.facebook.thrift.TException
public void deleteAll(byte[] tableName, byte[] row, byte[] column) throws IOError, com.facebook.thrift.TException
Hbase.Iface
deleteAll
in interface Hbase.Iface
tableName
- name of tablerow
- Row to updatecolumn
- name of column whose value is to be deleted
IOError
com.facebook.thrift.TException
public void send_deleteAll(byte[] tableName, byte[] row, byte[] column) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_deleteAll() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public void deleteAllTs(byte[] tableName, byte[] row, byte[] column, long timestamp) throws IOError, com.facebook.thrift.TException
Hbase.Iface
deleteAllTs
in interface Hbase.Iface
tableName
- name of tablerow
- Row to updatecolumn
- name of column whose value is to be deletedtimestamp
- timestamp
IOError
com.facebook.thrift.TException
public void send_deleteAllTs(byte[] tableName, byte[] row, byte[] column, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_deleteAllTs() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public void deleteAllRow(byte[] tableName, byte[] row) throws IOError, com.facebook.thrift.TException
Hbase.Iface
deleteAllRow
in interface Hbase.Iface
tableName
- name of tablerow
- key of the row to be completely deleted.
IOError
com.facebook.thrift.TException
public void send_deleteAllRow(byte[] tableName, byte[] row) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_deleteAllRow() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public void deleteAllRowTs(byte[] tableName, byte[] row, long timestamp) throws IOError, com.facebook.thrift.TException
Hbase.Iface
deleteAllRowTs
in interface Hbase.Iface
tableName
- name of tablerow
- key of the row to be completely deleted.timestamp
- timestamp
IOError
com.facebook.thrift.TException
public void send_deleteAllRowTs(byte[] tableName, byte[] row, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_deleteAllRowTs() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public int scannerOpen(byte[] tableName, byte[] startRow, List<byte[]> columns) throws IOError, com.facebook.thrift.TException
Hbase.Iface
scannerOpen
in interface Hbase.Iface
tableName
- 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. Its also possible
to pass a regex in the column qualifier.
IOError
com.facebook.thrift.TException
public void send_scannerOpen(byte[] tableName, byte[] startRow, List<byte[]> columns) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public int recv_scannerOpen() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public int scannerOpenWithStop(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns) throws IOError, com.facebook.thrift.TException
Hbase.Iface
scannerOpenWithStop
in interface Hbase.Iface
tableName
- 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. Its also possible
to pass a regex in the column qualifier.
IOError
com.facebook.thrift.TException
public void send_scannerOpenWithStop(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public int recv_scannerOpenWithStop() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public int scannerOpenTs(byte[] tableName, byte[] startRow, List<byte[]> columns, long timestamp) throws IOError, com.facebook.thrift.TException
Hbase.Iface
scannerOpenTs
in interface Hbase.Iface
tableName
- 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. Its also possible
to pass a regex in the column qualifier.timestamp
- timestamp
IOError
com.facebook.thrift.TException
public void send_scannerOpenTs(byte[] tableName, byte[] startRow, List<byte[]> columns, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public int recv_scannerOpenTs() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public int scannerOpenWithStopTs(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns, long timestamp) throws IOError, com.facebook.thrift.TException
Hbase.Iface
scannerOpenWithStopTs
in interface Hbase.Iface
tableName
- 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. Its also possible
to pass a regex in the column qualifier.timestamp
- timestamp
IOError
com.facebook.thrift.TException
public void send_scannerOpenWithStopTs(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns, long timestamp) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public int recv_scannerOpenWithStopTs() throws IOError, com.facebook.thrift.TException
IOError
com.facebook.thrift.TException
public TRowResult scannerGet(int id) throws IOError, IllegalArgument, NotFound, com.facebook.thrift.TException
Hbase.Iface
scannerGet
in interface Hbase.Iface
id
- id of a scanner returned by scannerOpen
IllegalArgument
- if ScannerID is invalid
NotFound
- when the scanner reaches the end
IOError
com.facebook.thrift.TException
public void send_scannerGet(int id) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public TRowResult recv_scannerGet() throws IOError, IllegalArgument, NotFound, com.facebook.thrift.TException
IOError
IllegalArgument
NotFound
com.facebook.thrift.TException
public void scannerClose(int id) throws IOError, IllegalArgument, com.facebook.thrift.TException
Hbase.Iface
scannerClose
in interface Hbase.Iface
id
- id of a scanner returned by scannerOpen
IllegalArgument
- if ScannerID is invalid
IOError
com.facebook.thrift.TException
public void send_scannerClose(int id) throws com.facebook.thrift.TException
com.facebook.thrift.TException
public void recv_scannerClose() throws IOError, IllegalArgument, com.facebook.thrift.TException
IOError
IllegalArgument
com.facebook.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |