Scan Filter (Embedded)
Scan Filter (Embedded) is used to set a few elements for scan. Note this is mainly used for the primary keys. For example if we wish to scan data like following:
See below for API details.
C++
Java
To create scanFilter object
ScanFilter();
To set ScanOperator for skey
void set_skey_op(ScanOperator skey_op);
To get ScanOperator for skey
ScanOperator get_skey_op();
To set ScanOperator for ekey
void set_ekey_op(ScanOperator ekey_op);
To get ScanOperator for ekey
ScanOperator get_ekey_op();
To set ScanLimitBy
void set_limit_by(ScanLimitBy limitby);
To get the set ScanLimitBy value
ScanLimitBy get_limit_by();
To set limit
void set_limit(int limit);
To get the set limit value
int get_limit();
To set key flag
void set_only_key(short flag);
To get status of set key
short get_only_key();
To set reserved value
void set_reserved(int reserved);
To get the value of reserved set
int get_reserved();
To delete ScanFilter object
virtual ~ScanFilter();