org.cumulus4j.store.query.method
Class DateGetSecondEvaluator
java.lang.Object
org.cumulus4j.store.query.method.AbstractMethodEvaluator
org.cumulus4j.store.query.method.DateGetSecondEvaluator
- All Implemented Interfaces:
- MethodEvaluator
public class DateGetSecondEvaluator
- extends AbstractMethodEvaluator
Evaluator for "Date.getSecond() {oper} {compareTo}".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateGetSecondEvaluator
public DateGetSecondEvaluator()
requiresComparisonArgument
public boolean requiresComparisonArgument()
- Description copied from interface:
MethodEvaluator
- Whether this evaluator requires a comparison argument to perform its evaluation.
- Specified by:
requiresComparisonArgument
in interface MethodEvaluator
- Overrides:
requiresComparisonArgument
in class AbstractMethodEvaluator
- Returns:
- True if needing the comparison argument
evaluate
public Set<Long> evaluate(QueryEvaluator queryEval,
InvokeExpressionEvaluator invokeExprEval,
Expression invokedExpr,
ResultDescriptor resultDesc)
- Description copied from interface:
MethodEvaluator
- Method to evaluate the provided method invocation invoking on a PrimaryExpression.
- Parameters:
queryEval
- Query evaluatorinvokeExprEval
- Evaluator for the InvokeExpression that this is processinginvokedExpr
- Expression on which we are invoking the methodresultDesc
- Result descriptor
- Returns:
- those
dataEntryID
s that match the query
criteria for the specified resultSymbol
or null
, if the symbol is not supported
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.