com.espertech.esper.epl.join.plan
Class CoercionUtil
java.lang.Object
com.espertech.esper.epl.join.plan.CoercionUtil
public class CoercionUtil
- extends java.lang.Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoercionUtil
public CoercionUtil()
getCoercionTypesRange
public static CoercionDesc getCoercionTypesRange(EventType[] typesPerStream,
int indexedStream,
java.lang.String[] indexedProp,
java.util.List<QueryGraphValueEntryRange> rangeEntries)
getCoercionTypesHash
public 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.
- Parameters:
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 on
- Returns:
- coercion types, or null if none required
getCoercionTypeRange
public static java.lang.Class getCoercionTypeRange(EventType indexedType,
java.lang.String indexedProp,
SubordPropRangeKey rangeKey)
getCoercionTypesRange
public static CoercionDesc getCoercionTypesRange(EventType viewableEventType,
java.util.Map<java.lang.String,SubordPropRangeKey> rangeProps,
EventType[] typesPerStream)
getCoercionTypesHash
public static CoercionDesc getCoercionTypesHash(EventType viewableEventType,
java.lang.String[] indexProps,
java.util.List<SubordPropHashKey> hashKeys)
getCoercionTypeRangeIn
public static java.lang.Class getCoercionTypeRangeIn(java.lang.Class valuePropType,
ExprNode exprStart,
ExprNode exprEnd)