Package com.j_spaces.jdbc.builder.range
Class CriteriaRange
java.lang.Object
com.gigaspaces.internal.query.AbstractCustomQuery
com.j_spaces.jdbc.builder.range.Range
com.j_spaces.jdbc.builder.range.CriteriaRange
- All Implemented Interfaces:
ICustomQuery,SmartExternalizable,Externalizable,Serializable
- See Also:
-
Field Summary
Fields inherited from class com.j_spaces.jdbc.builder.range.Range
EMPTY_RANGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a range to the composite rangesbooleanevaluatePredicate(IEntryData entryData) intersection(EqualValueRange range) intersection(InRange range) intersection(IsNullRange range) intersection(NotEqualValueRange range) intersection(NotNullRange range) intersection(NotRegexRange range) intersection(Range range) intersection(RegexRange range) intersection(RelationRange range) intersection(SegmentRange range) booleanisUnion()voidvoidtoEntryPacket(QueryTemplatePacket e, int index) Convert the range to a single external entry expressiontoSQLQuery(ITypeDesc typeDesc) voidMethods inherited from class com.j_spaces.jdbc.builder.range.Range
chooseRange, getFunction, getFunctionCallDescription, getIndexScanner, getPath, getPredicate, getRightColumnPosition, hasFunctionCallDescription, hasFunctionOnlyOnOneSide, hasSameFunction, intersection, intersection, isComplex, isEmptyRange, isEqualValueRange, isIndexed, isInternalRange, isNestedQuery, isRelevantForAllIndexValuesOptimization, isSegmentRange, isUidsRange, matches, setFunction, setFunctionCallDescription, suitableAsCompoundIndexSegment, twoBuiltInFunctionsMethods inherited from class com.gigaspaces.internal.query.AbstractCustomQuery
addCustomIndex, getCustomIndexes, matchConvertingExceptionHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
CriteriaRange
public CriteriaRange(boolean isUnion)
-
-
Method Details
-
isUnion
public boolean isUnion() -
getRanges
-
add
Add a range to the composite ranges -
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
toEntryPacket
Description copied from class:RangeConvert the range to a single external entry expression- Overrides:
toEntryPacketin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classRange- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classRange- Throws:
IOException
-
toSQLQuery
- Parameters:
typeDesc- TODO- Returns:
- SQLQuery
-
evaluatePredicate
- Overrides:
evaluatePredicatein classRange
-