| 
 | Cumulus4j API (1.1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cumulus4j.store.query.eval.AbstractExpressionEvaluator<PrimaryExpression>
org.cumulus4j.store.query.eval.PrimaryExpressionEvaluator
public class PrimaryExpressionEvaluator
Evaluator representing PrimaryExpressions.
PrimaryExpression| Constructor Summary | |
|---|---|
| PrimaryExpressionEvaluator(QueryEvaluator queryEvaluator,
                                                     AbstractExpressionEvaluator<?> parent,
                                                     PrimaryExpression expression) | |
| Method Summary | |
|---|---|
| protected  Set<Symbol> | _getResultSymbols()Get the Symbols for whichAbstractExpressionEvaluator.queryResultDataEntryIDs(ResultDescriptor)(and thusAbstractExpressionEvaluator.queryResultObjects(ResultDescriptor)) can return a result. | 
| protected  Set<Long> | _queryResultDataEntryIDs(ResultDescriptor resultDescriptor)Execute a query for the given resultDescriptor. | 
| Methods inherited from class org.cumulus4j.store.query.eval.AbstractExpressionEvaluator | 
|---|
| _queryResultObjects, getExpression, getFieldType, getLeft, getParent, getQueryEvaluator, getResultSymbols, getRight, queryResultDataEntryIDs, queryResultObjects, setLeft, setRight | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PrimaryExpressionEvaluator(QueryEvaluator queryEvaluator,
                                  AbstractExpressionEvaluator<?> parent,
                                  PrimaryExpression expression)
| Method Detail | 
|---|
protected Set<Long> _queryResultDataEntryIDs(ResultDescriptor resultDescriptor)
AbstractExpressionEvaluatorresultDescriptor. This method should contain
 the concrete logic for AbstractExpressionEvaluator.queryResultDataEntryIDs(ResultDescriptor) and must be implemented
 by subclasses.
_queryResultDataEntryIDs in class AbstractExpressionEvaluator<PrimaryExpression>resultDescriptor - the descriptor specifying what candidates (usually "this" or a variable) the
 caller is interested in as well as modifiers (e.g. negation)
 affecting the query.
dataEntryIDs that match the query
 criteria for the specified resultSymbol or null, if the symbol is not
 supported (this should be consistent with the implementation of AbstractExpressionEvaluator._getResultSymbols()).AbstractExpressionEvaluator.queryResultDataEntryIDs(ResultDescriptor)protected Set<Symbol> _getResultSymbols()
AbstractExpressionEvaluator
 Get the Symbols for which AbstractExpressionEvaluator.queryResultDataEntryIDs(ResultDescriptor) (and thus
 AbstractExpressionEvaluator.queryResultObjects(ResultDescriptor)) can return a result. For all other Symbols,
 said methods return null.
 
 The default implementation in AbstractExpressionEvaluator collects the result-symbols
 from its left and its right side and returns this combined
 Set.
 
 This is the actual implementation of AbstractExpressionEvaluator.getResultSymbols() and should be overridden
 instead of the non-"_"-prefixed version, in most cases.
 
_getResultSymbols in class AbstractExpressionEvaluator<PrimaryExpression>Symbols or null (null is equivalent to an
 empty Set).AbstractExpressionEvaluator.getResultSymbols()| 
 | Cumulus4j API (1.1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||