Struct hbase_thrift::hbase::HbaseSyncClient [−][src]
pub struct HbaseSyncClient<IP, OP> where
IP: TInputProtocol,
OP: TOutputProtocol, { /* fields omitted */ }
Implementations
Trait Implementations
type InputProtocol = IP
type OutputProtocol = OP
fn from_io_protocol(
input_protocol: Self::InputProtocol,
output_protocol: Self::OutputProtocol
) -> Self
impl<IP, OP> TThriftClient for HbaseSyncClient<IP, OP> where
IP: TInputProtocol,
OP: TOutputProtocol,
impl<IP, OP> TThriftClient for HbaseSyncClient<IP, OP> where
IP: TInputProtocol,
OP: TOutputProtocol,
Returns the input protocol used to read serialized Thrift messages from the Thrift server. Read more
Returns the output protocol used to write serialized Thrift messages to the Thrift server. Read more
Returns the sequence number of the last message written to the Thrift
server. Returns 0
if no messages have been written. Sequence
numbers should never be negative, and this method returns an i32
simply because the Thrift protocol encodes sequence numbers as i32
on
the wire. Read more
Increments the sequence number, indicating that a message with that number has been sent to the Thrift server. Read more
impl<IP, OP> THbaseSyncClientMarker for HbaseSyncClient<IP, OP> where
IP: TInputProtocol,
OP: TOutputProtocol,
Auto Trait Implementations
impl<IP, OP> RefUnwindSafe for HbaseSyncClient<IP, OP> where
IP: RefUnwindSafe,
OP: RefUnwindSafe,
impl<IP, OP> Send for HbaseSyncClient<IP, OP> where
IP: Send,
OP: Send,
impl<IP, OP> Sync for HbaseSyncClient<IP, OP> where
IP: Sync,
OP: Sync,
impl<IP, OP> Unpin for HbaseSyncClient<IP, OP> where
IP: Unpin,
OP: Unpin,
impl<IP, OP> UnwindSafe for HbaseSyncClient<IP, OP> where
IP: UnwindSafe,
OP: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Brings a table on-line (enables it)
Disables a table (takes it off-line) If it is being served, the master will tell the servers to stop serving it. Read more
@return true if table is on-line
List all the userspace tables. Read more
List all the userspace tables and their enabled or disabled flags. Read more
List all the column families assoicated with a table. Read more
List the regions associated with a table. Read more
Create a table with the specified column families. The name field for each ColumnDescriptor must be set and must end in a colon (:). All other fields are optional and will get default values if not explicitly specified. Read more
Get a single TCell for the specified table, row, and column at the latest timestamp. Returns an empty list if no such value exists. Read more
Get the specified number of versions for the specified table, row, and column. Read more
Get the specified number of versions for the specified table, row, and column. Only versions less than or equal to the specified timestamp will be returned. Read more
Get all the data for the specified table and row at the latest timestamp. Returns an empty list if the row does not exist. Read more
Get the specified columns for the specified table and row at the latest timestamp. Returns an empty list if the row does not exist. Read more
Get all the data for the specified table and row at the specified timestamp. Returns an empty list if the row does not exist. Read more
Get the specified columns for the specified table and row at the specified timestamp. Returns an empty list if the row does not exist. Read more
Get all the data for the specified table and rows at the latest timestamp. Returns an empty list if no rows exist. Read more
Get the specified columns for the specified table and rows at the latest timestamp. Returns an empty list if no rows exist. Read more
Get all the data for the specified table and rows at the specified timestamp. Returns an empty list if no rows exist. Read more
Get the specified columns for the specified table and rows at the specified timestamp. Returns an empty list if no rows exist. Read more
Apply a series of mutations (updates/deletes) to a row in a single transaction. If an exception is thrown, then the transaction is aborted. Default current timestamp is used, and all entries will have an identical timestamp. Read more
Apply a series of mutations (updates/deletes) to a row in a single transaction. If an exception is thrown, then the transaction is aborted. The specified timestamp is used, and all entries will have an identical timestamp. Read more
Apply a series of batches (each a series of mutations on a single row) in a single transaction. If an exception is thrown, then the transaction is aborted. Default current timestamp is used, and all entries will have an identical timestamp. Read more
Apply a series of batches (each a series of mutations on a single row) in a single transaction. If an exception is thrown, then the transaction is aborted. The specified timestamp is used, and all entries will have an identical timestamp. Read more
Atomically increment the column value specified. Returns the next value post increment.
Delete all cells that match the passed row and column.
Delete all cells that match the passed row and column and whose timestamp is equal-to or older than the passed timestamp. Read more
Completely delete the row’s cells.
Increment a cell by the ammount. Increments can be applied async if hbase.regionserver.thrift.coalesceIncrement is set to true. False is the default. Turn to true if you need the extra performance and can accept some data loss if a thrift server dies with increments still in the queue. Read more
Completely delete the row’s cells marked with a timestamp equal-to or older than the passed timestamp. Read more
Get a scanner on the current table, using the Scan instance for the scan parameters. Read more
Get a scanner on the current table starting at the specified row and ending at the last row in the table. Return the specified columns. Read more
Get a scanner on the current table starting and stopping at the specified rows. ending at the last row in the table. Return the specified columns. Read more
Open a scanner for a given prefix. That is all rows will have the specified prefix. No other rows will be returned. Read more
Get a scanner on the current table starting at the specified row and ending at the last row in the table. Return the specified columns. Only values with the specified timestamp are returned. Read more
Get a scanner on the current table starting and stopping at the specified rows. ending at the last row in the table. Return the specified columns. Only values with the specified timestamp are returned. Read more
Returns the scanner’s current row value and advances to the next row in the table. When there are no more rows in the table, or a key greater-than-or-equal-to the scanner’s specified stopRow is reached, an empty list is returned. Read more
Returns, starting at the scanner’s current row value nbRows worth of rows and advances to the next row in the table. When there are no more rows in the table, or a key greater-than-or-equal-to the scanner’s specified stopRow is reached, an empty list is returned. Read more
Closes the server-state associated with an open scanner. Read more
Get the regininfo for the specified row. It scans the metatable to find region’s start and end keys. Read more
Appends values to one or more columns within a single row. Read more
Atomically checks if a row/family/qualifier value matches the expected value. If it does, it adds the corresponding mutation operation for put. Read more
Get the type of this thrift server. Read more
Returns the cluster ID for this cluster.
Grant permissions in namespace or table level.