Cumulus4j API
(1.0.1)

Package org.cumulus4j.store.query.method

Package providing handlers for various JDOQL/JPQL methods, utilising the index information and querying the backend datastore as necessary to access the DataEntry objects matching the particular method clause.

See:
          Description

Interface Summary
MethodEvaluator Interface for the evaluator for a method.
 

Class Summary
AbstractMethodEvaluator Abstract base for all method evaluators.
CollectionContainsEvaluator Evaluator for "Collection.contains(element)".
CollectionIsEmptyEvaluator Evaluator for "Collection.isEmpty()".
CollectionSizeEvaluator Evaluator for "Collection.size() {oper} {comparisonArg}".
DateGetDayEvaluator Evaluator for "Date.getDay() {oper} {compareTo}".
DateGetHourEvaluator Evaluator for "Date.getHour() {oper} {compareTo}".
DateGetMinuteEvaluator Evaluator for "Date.getMinute() {oper} {compareTo}".
DateGetMonthEvaluator Evaluator for "Date.getMonth() {oper} {compareTo}".
DateGetSecondEvaluator Evaluator for "Date.getSecond() {oper} {compareTo}".
DateGetYearEvaluator Evaluator for "Date.getYear() {oper} {compareTo}".
MapContainsKeyEvaluator Evaluator for "Map.containsKey(key)".
MapContainsValueEvaluator Evaluator for "Map.containsValue(val)".
MapIsEmptyEvaluator Evaluator for "Map.isEmpty()".
MapSizeEvaluator Evaluator for "Map.size() {oper} {comparisonArg}".
StringEndsWithEvaluator Evaluator for "{String}.endsWith(arg)".
StringEqualsEvaluator Evaluator for "{String}.equals(arg)".
StringEqualsIgnoreCaseEvaluator Evaluator for "{String}.equalsIgnoreCase(arg)".
StringIndexOfEvaluator Evaluator for "String.indexOf(str [,from]) {oper} {compareTo}".
StringLengthEvaluator Evaluator for "String.length(str) {oper} {compareTo}".
StringMatchesEvaluator Evaluator for "{String}.matches(arg)".
StringStartsWithEvaluator Evaluator for "{String}.startsWith(arg)".
StringSubstringEvaluator Evaluator for "String.substring(pos1 [, pos2]) {oper} {compareTo}".
StringToLowerCaseEvaluator Evaluator for "String.toLowerCase() {oper} {compareTo}".
StringToUpperCaseEvaluator Evaluator for "String.toUpperCase() {oper} {compareTo}".
 

Package org.cumulus4j.store.query.method Description

Package providing handlers for various JDOQL/JPQL methods, utilising the index information and querying the backend datastore as necessary to access the DataEntry objects matching the particular method clause. Note that each method handler will typically evaluate a Boolean clause. This is simple for things like "Collection.isEmpty" which returns boolean, but for methods like String.substring() it has to be part of a comparison with some other String, and consequently caters for a most-used subset of the possible combinations.


Cumulus4j API
(1.0.1)

Copyright © 2012 NightLabs Consulting GmbH. All Rights Reserved.