Package org.datanucleus.query.evaluator.memory

Package providing the evaluation of in-memory queries.

See:
          Description

Interface Summary
InvocationEvaluator Interface representing an evaluator for an invocation of a method/function.
 

Class Summary
AbsFunctionEvaluator Evaluator for the function ABS(numExpr).
AggregateExpression  
BigDecimalAggregateExpression Expression representing a BigDecimal, used in evaluation of aggregates.
BigIntegerAggregateExpression Expression representing a BigInteger, used in evaluation of aggregates.
CoalesceFunctionEvaluator Evaluator for the function COALESCE(numExpr[, numExpr2[, numExpr3] etc]).
CollectionContainsMethodEvaluator Evaluator for the method "{collExpr}.contains(elemExpr)".
ConcatFunctionEvaluator Evaluator for the function CONCAT(strExpr1, strExpr2).
ContainerIsEmptyMethodEvaluator Evaluator for the method "{contExpr}.isEmpty()".
ContainerSizeMethodEvaluator Evaluator for the method "{contExpr}.size()".
CurrentDateFunctionEvaluator Evaluator for the function CURRENT_DATE().
CurrentTimeFunctionEvaluator Evaluator for the function CURRENT_TIME().
CurrentTimestampFunctionEvaluator Evaluator for the function CURRENT_TIMESTAMP().
DateAggregateExpression Expression representing a "java.util.Date" (and subclasses), used in evaluation of aggregates.
DateGetDayMethodEvaluator Evaluator for the method "{dateExpr}.getDay()".
DateGetHoursMethodEvaluator Evaluator for the method "{dateExpr}.getHours()".
DateGetMinutesMethodEvaluator Evaluator for the method "{dateExpr}.getMinutes()".
DateGetMonthMethodEvaluator Evaluator for the method "{dateExpr}.getMonth()".
DateGetSecondsMethodEvaluator Evaluator for the method "{dateExpr}.getSeconds()".
DateGetTimeMethodEvaluator Evaluator for the method "{dateExpr}.getTime()".
DateGetYearMethodEvaluator Evaluator for the method "{dateExpr}.getYear()".
DoubleAggregateExpression Expression representing a Double, used in evaluation of aggregates.
EnumMatchesMethodEvaluator Evaluator for the method "{enumExpr}.matches(expr)".
EnumOrdinalMethodEvaluator Evaluator for the method "{enumExpr}.ordinal()".
EnumToStringMethodEvaluator Evaluator for the method "{enumExpr}.toString()".
FloatAggregateExpression Expression representing a Float, used in evaluation of aggregates.
GetClassMethodEvaluator Evaluator for the function getClass(obj).
InMemoryExpressionEvaluator Class providing evaluation of java "string-based" queries in-memory.
InMemoryFailure Class representing a failure in the in-memory evaluation process.
IntegerAggregateExpression Expression representing an Integer, used in evaluation of aggregates.
JDOHelperGetObjectIdFunctionEvaluator Evaluator for the function JDOHelper.getObjectId(obj).
JDOHelperGetVersionFunctionEvaluator Evaluator for the function JDOHelper.getVersion(obj).
LengthFunctionEvaluator Evaluator for the function LENGTH(stringExpr).
ListGetMethodEvaluator Evaluator for the method "{listExpr}.get(idxExpr)".
LocateFunctionEvaluator Evaluator for the function LOCATE(strExpr1, strExpr2, pos).
LongAggregateExpression Expression representing a Long, used in evaluation of aggregates.
LowerFunctionEvaluator Evaluator for the function LOWER(stringExpr).
MapContainsKeyMethodEvaluator Evaluator for the method "{mapExpr}.containsKey(keyExpr)".
MapContainsValueMethodEvaluator Evaluator for the method "{mapExpr}.containsValue(valueExpr)".
MapGetMethodEvaluator Evaluator for the method "{mapExpr}.get(keyExpr)".
ModFunctionEvaluator Evaluator for the function MOD(numExpr1, numExpr2).
NullIfFunctionEvaluator Evaluator for the function NULLIF(numExpr, numExpr2).
NumericAggregateExpression  
SetExpression Expression for the aggregation of a set of object values.
ShortAggregateExpression Expression representing a Short, used in evaluation of aggregates.
SizeFunctionEvaluator Evaluator for the function SIZE(collExpr).
SqrtFunctionEvaluator Evaluator for the function SQRT(numExpr).
StringAggregateExpression Expression representing a String, used in evaluation of aggregates.
StringEndsWithMethodEvaluator Evaluator for the method "{stringExpr}.endsWith(strExpr)".
StringIndexOfMethodEvaluator Evaluator for the method "{stringExpr}.indexOf(strExpr [,numExpr])".
StringLengthMethodEvaluator Evaluator for the method "{stringExpr}.length()".
StringMatchesMethodEvaluator Evaluator for the method "{stringExpr}.matches(expr)".
StringStartsWithMethodEvaluator Evaluator for the method "{stringExpr}.startsWith(strExpr [,pos])".
StringSubstringMethodEvaluator Evaluator for the method "{stringExpr}.substring(stringExpr [,pos])".
StringToLowerCaseMethodEvaluator Evaluator for the method "{stringExpr}.toLowerCase()".
StringToUpperCaseMethodEvaluator Evaluator for the method "{stringExpr}.toUpperCase()".
StringTrimLeftMethodEvaluator Evaluator for the method "{stringExpr}.trimLeft([trimChar])".
StringTrimMethodEvaluator Evaluator for the method "{stringExpr}.trim()".
StringTrimRightMethodEvaluator Evaluator for the method "{stringExpr}.trimRight([trimChar])".
SubstringFunctionEvaluator Evaluator for the function SUBSTRING(str, num1, num2).
TrimFunctionEvaluator Evaluator for the function TRIM(strExpr).
UpperFunctionEvaluator Evaluator for the function UPPER(stringExpr).
 

Exception Summary
VariableNotSetException Exception representing a variable not having its value currently set in the query.
 

Package org.datanucleus.query.evaluator.memory Description

Package providing the evaluation of in-memory queries. Utilised by the classes in org.datanucleus.query.evaluator

Contains a series of classes implementing org.datanucleus.query.evaluator.memory.InvocationEvaluator providing support for particular functions (in JDOQL/JPQL).

Contains a series of classes implementing org.datanucleus.query.evaluator.memory.AggregateExpression providing support for aggregation of different java types.



Copyright © 2010. All Rights Reserved.