@InternalApi(value="For internal usage only") @NotThreadSafe public class FilterAdapterContext extends Object
For internal use only - public for technical reasons.
Modifier and Type | Class and Description |
---|---|
static interface |
FilterAdapterContext.ContextCloseable |
Constructor and Description |
---|
FilterAdapterContext(org.apache.hadoop.hbase.client.Scan scan,
ReadHooks readHooks)
Constructor for FilterAdapterContext.
|
Modifier and Type | Method and 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)
lst
- a FilterList
object.FilterAdapterContext.ContextCloseable
object.public int getFilterListDepth()
public com.google.common.base.Optional<org.apache.hadoop.hbase.filter.FilterList> getCurrentFilterList()
Optional
object.public ReadHooks getReadHooks()
readHooks
.ReadHooks
object.public String getNextUniqueId()
String
in this adapter context.String
object.public void addWhileMatchFilter(org.apache.hadoop.hbase.filter.WhileMatchFilter filter)
filter
- a WhileMatchFilter
object.public int getNumberOfWhileMatchFilters()