public abstract class BaseCriteria extends Object implements Criteria
Constructor and Description |
---|
BaseCriteria() |
Modifier and Type | Method and Description |
---|---|
Criteria |
and(Criteria other)
Produce a criteria that is the boolean "and" of this and the given other criteria
|
static AttributeExtractor |
getExtractor(String attrName,
Map<String,AttributeExtractor> knownExtractors)
For given attribute name, return its corresponding extractors from supplied map, if it exists.
|
Criteria |
not()
Produce a criteria that is the boolean "not" of this
|
Criteria |
or(Criteria other)
Produce a criteria that is the boolean "or" of this and the given other criteria
|
public Criteria and(Criteria other)
public Criteria not()
public Criteria or(Criteria other)
public static AttributeExtractor getExtractor(String attrName, Map<String,AttributeExtractor> knownExtractors) throws SearchException
attrName
- knownExtractors
- SearchException
Copyright © 2017. All rights reserved.