Class IndexedPropDesc
java.lang.Object
com.espertech.esper.common.internal.epl.join.lookup.IndexedPropDesc
- All Implemented Interfaces:
Comparable
Holds property information for joined properties in a lookup.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compare
(List<IndexedPropDesc> first, List<IndexedPropDesc> second) int
boolean
Returns the coercion type of key to index field.static EPTypeClass[]
getCoercionTypes
(IndexedPropDesc[] descList) Returns the key coercion types.static String[]
getIndexProperties
(IndexedPropDesc[] descList) Returns the index property names given an array of descriptors.static String[]
getIndexProperties
(List<IndexedPropDesc> descList) Returns the property name of the indexed field.static int
getPropertyIndex
(String propertyName, IndexedPropDesc[] descList) int
hashCode()
make()
static CodegenExpression
makeArray
(IndexedPropDesc[] items) static CodegenExpression
makeArray
(Collection<IndexedPropDesc> items) static void
toQueryPlan
(StringWriter writer, IndexedPropDesc[] indexedProps)
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
IndexedPropDesc
Ctor.- Parameters:
indexPropName
- is the property name of the indexed fieldcoercionType
- is the type to coerce to
-
-
Method Details
-
make
-
getIndexPropName
Returns the property name of the indexed field.- Returns:
- property name of indexed field
-
getCoercionType
Returns the coercion type of key to index field.- Returns:
- type to coerce to
-
getIndexProperties
Returns the index property names given an array of descriptors.- Parameters:
descList
- descriptors of joined properties- Returns:
- array of index property names
-
getIndexProperties
-
getPropertyIndex
-
getCoercionTypes
Returns the key coercion types.- Parameters:
descList
- a list of descriptors- Returns:
- key coercion types
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
equals
-
compare
-
hashCode
public int hashCode() -
toQueryPlan
-
makeArray
-
makeArray
-