public class CoercionUtil
extends java.lang.Object
Constructor and Description |
---|
CoercionUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
getCoercionTypeRange(EventType indexedType,
java.lang.String indexedProp,
SubordPropRangeKey rangeKey) |
static java.lang.Class |
getCoercionTypeRangeIn(java.lang.Class valuePropType,
ExprNode exprStart,
ExprNode exprEnd) |
static CoercionDesc |
getCoercionTypesHash(EventType[] typesPerStream,
int lookupStream,
int indexedStream,
java.util.List<QueryGraphValueEntryHashKeyed> keyProps,
java.lang.String[] indexProps)
Returns null if no coercion is required, or an array of classes for use in coercing the
lookup keys and index keys into a common type.
|
static CoercionDesc |
getCoercionTypesHash(EventType viewableEventType,
java.lang.String[] indexProps,
java.util.List<SubordPropHashKey> hashKeys) |
static CoercionDesc |
getCoercionTypesRange(EventType[] typesPerStream,
int indexedStream,
java.lang.String[] indexedProp,
java.util.List<QueryGraphValueEntryRange> rangeEntries) |
static CoercionDesc |
getCoercionTypesRange(EventType viewableEventType,
java.util.Map<java.lang.String,SubordPropRangeKey> rangeProps,
EventType[] typesPerStream) |
public static CoercionDesc getCoercionTypesRange(EventType[] typesPerStream, int indexedStream, java.lang.String[] indexedProp, java.util.List<QueryGraphValueEntryRange> rangeEntries)
public static CoercionDesc getCoercionTypesHash(EventType[] typesPerStream, int lookupStream, int indexedStream, java.util.List<QueryGraphValueEntryHashKeyed> keyProps, java.lang.String[] indexProps)
typesPerStream
- is the event types for each streamlookupStream
- is the stream looked up fromindexedStream
- is the indexed streamkeyProps
- is the properties to use to look upindexProps
- is the properties to index onpublic static java.lang.Class getCoercionTypeRange(EventType indexedType, java.lang.String indexedProp, SubordPropRangeKey rangeKey)
public static CoercionDesc getCoercionTypesRange(EventType viewableEventType, java.util.Map<java.lang.String,SubordPropRangeKey> rangeProps, EventType[] typesPerStream)
public static CoercionDesc getCoercionTypesHash(EventType viewableEventType, java.lang.String[] indexProps, java.util.List<SubordPropHashKey> hashKeys)