public class FilterParser
extends java.lang.Object
FilterParser.FilterBuilder
interface with two pop-ed operands.
a2c5o1a1c"abc"o2o7
which means column#2 < 5 AND column#1 > "abc"
FilterParser.FilterBuilder
implementer.
FilterParser makes sure column objects are always on the left of the expression (when relevant).Modifier and Type | Class and Description |
---|---|
static class |
FilterParser.BasicFilter
Basic filter provided for cases where the target storage system does not provide it own filter
For example: Hbase storage provides its own filter but for a Writable based record in a
SequenceFile there is no filter provided and so we need to have a default
|
class |
FilterParser.ColumnIndex
Represents a column index.
|
class |
FilterParser.Constant
Represents a constant object (String, Long, ...).
|
static interface |
FilterParser.FilterBuilder
Interface a user of FilterParser should implement.
|
static class |
FilterParser.Operation
Supported operations by the parser.
|
Constructor and Description |
---|
FilterParser(FilterParser.FilterBuilder eval)
Constructs a FilterParser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parse(java.lang.String filter)
Parses the string filter.
|
public FilterParser(FilterParser.FilterBuilder eval)
eval
- the filter builder