@NotThreadSafe public class FilterAdapterContext extends Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
FilterAdapterContext.ContextCloseable |
Constructor | Description |
---|---|
FilterAdapterContext(org.apache.hadoop.hbase.client.Scan scan,
ReadHooks readHooks) |
Constructor for FilterAdapterContext.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addWhileMatchFilter(org.apache.hadoop.hbase.filter.WhileMatchFilter filter) |
addWhileMatchFilter.
|
FilterAdapterContext.ContextCloseable |
beginFilterList(org.apache.hadoop.hbase.filter.FilterList lst) |
beginFilterList.
|
com.google.common.base.Optional<org.apache.hadoop.hbase.filter.FilterList> |
getCurrentFilterList() |
getCurrentFilterList.
|
int |
getFilterListDepth() |
getFilterListDepth.
|
String |
getNextUniqueId() |
Returns the next unique ID as a
String in this adapter context. |
int |
getNumberOfWhileMatchFilters() |
getNumberOfWhileMatchFilters.
|
ReadHooks |
getReadHooks() |
Getter for the field
readHooks . |
public FilterAdapterContext.ContextCloseable beginFilterList(org.apache.hadoop.hbase.filter.FilterList lst)
beginFilterList.
lst
- a FilterList
object.FilterAdapterContext.ContextCloseable
object.public int getFilterListDepth()
getFilterListDepth.
public com.google.common.base.Optional<org.apache.hadoop.hbase.filter.FilterList> getCurrentFilterList()
getCurrentFilterList.
Optional
object.public ReadHooks getReadHooks()
Getter for the field readHooks
.
ReadHooks
object.public String getNextUniqueId()
String
in this adapter context.String
object.public void addWhileMatchFilter(org.apache.hadoop.hbase.filter.WhileMatchFilter filter)
addWhileMatchFilter.
filter
- a WhileMatchFilter
object.public int getNumberOfWhileMatchFilters()
getNumberOfWhileMatchFilters.