|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.server.core.partition.impl.btree.SubstringEvaluator
Evaluates substring filter assertions on an entry.
| Constructor Summary | |
SubstringEvaluator(BTreePartition db,
OidRegistry oidRegistry,
AttributeTypeRegistry attributeTypeRegistry)
Creates a new SubstringEvaluator for substring expressions. |
|
| Method Summary | |
boolean |
evaluate(ExprNode node,
IndexRecord record)
Evaluates a candidate to determine if a filter expression selects it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SubstringEvaluator(BTreePartition db,
OidRegistry oidRegistry,
AttributeTypeRegistry attributeTypeRegistry)
db - the database this evaluator usesoidRegistry - the OID registry for name to OID mappingattributeTypeRegistry - the attributeType registry| Method Detail |
public boolean evaluate(ExprNode node,
IndexRecord record)
throws javax.naming.NamingException
Evaluator
evaluate in interface Evaluatornode - the filter expression to evaluate on the candidaterecord - the index record of the entry to evaluate
javax.naming.NamingException - if there is a database fault during evaluationEvaluator.evaluate(ExprNode, IndexRecord)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||