27 #ifndef Hypertable_Lib_ScanBlock_h
28 #define Hypertable_Lib_ScanBlock_h
53 typedef std::vector< std::pair<SerializedKey, ByteString> >
Vector;
135 #endif // Hypertable_Lib_ScanBlock_h
int get_scanner_id()
Returns scanner ID associated with this scanblock.
int32_t skipped_cells()
Gets skipped cell count.
size_t memory_used() const
Approximate estimate of memory used by scanblock (returns the size of the event payload) which contai...
const ProfileDataScanner & profile_data()
Returns reference to profile data.
void reset()
Resets iterator to first key/value pair in the scanblock.
bool eos()
Returns true if this is the final scanblock returned by the scanner.
int get_skipped_cells()
Returns number of skipped rows because of a CELL_OFFSET predicate.
int32_t id()
Gets scanner ID.
std::shared_ptr< Event > EventPtr
Smart pointer to Event.
const ProfileDataScanner & profile_data()
Gets profile data.
A class managing one or more serializable ByteStrings.
Response parameters for acknowledge load function.
Lib::RangeServer::Response::Parameters::CreateScanner m_response
std::shared_ptr< ScanBlock > ScanBlockPtr
Smart pointer to ScanBlock.
std::vector< std::pair< SerializedKey, ByteString > > Vector
Encapsulates a block of scan results.
bool next(SerializedKey &key, ByteString &value)
Returns the next key/value pair in the scanblock.
int get_skipped_rows()
Returns number of skipped rows because of an OFFSET predicate.
A serializable ByteString.
Declarations for CreateScanner response parameters.
bool more()
Indicates whether or not there are more key/value pairs in block.
bool more()
Gets more flag.
int load(EventPtr &event)
Loads scanblock data returned from RangeServer.
int32_t skipped_rows()
Gets skipped row count.
size_t size()
Returns the number of key/value pairs in the scanblock.