public class CoercionUtil extends Object
Constructor and Description |
---|
CoercionUtil() |
Modifier and Type | Method and Description |
---|---|
static Class |
getCoercionTypeRange(EventType indexedType,
String indexedProp,
SubordPropRangeKey rangeKey) |
static Class |
getCoercionTypeRangeIn(Class valuePropType,
ExprNode exprStart,
ExprNode exprEnd) |
static CoercionDesc |
getCoercionTypesHash(EventType[] typesPerStream,
int lookupStream,
int indexedStream,
List<QueryGraphValueEntryHashKeyed> keyProps,
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,
String[] indexProps,
List<SubordPropHashKey> hashKeys) |
static CoercionDesc |
getCoercionTypesRange(EventType[] typesPerStream,
int indexedStream,
String[] indexedProp,
List<QueryGraphValueEntryRange> rangeEntries) |
static CoercionDesc |
getCoercionTypesRange(EventType viewableEventType,
Map<String,SubordPropRangeKey> rangeProps,
EventType[] typesPerStream) |
public static CoercionDesc getCoercionTypesRange(EventType[] typesPerStream, int indexedStream, String[] indexedProp, List<QueryGraphValueEntryRange> rangeEntries)
public static CoercionDesc getCoercionTypesHash(EventType[] typesPerStream, int lookupStream, int indexedStream, List<QueryGraphValueEntryHashKeyed> keyProps, 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 Class getCoercionTypeRange(EventType indexedType, String indexedProp, SubordPropRangeKey rangeKey)
public static CoercionDesc getCoercionTypesRange(EventType viewableEventType, Map<String,SubordPropRangeKey> rangeProps, EventType[] typesPerStream)
public static CoercionDesc getCoercionTypesHash(EventType viewableEventType, String[] indexProps, List<SubordPropHashKey> hashKeys)