|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.property.PropertyBase
com.espertech.esper.event.property.DynamicIndexedProperty
public class DynamicIndexedProperty
Represents a dynamic indexed property of a given name.
Dynamic properties always exist, have an Object type and are resolved to a method during runtime.
Field Summary |
---|
Fields inherited from class com.espertech.esper.event.property.PropertyBase |
---|
propertyNameAtomic |
Constructor Summary | |
---|---|
DynamicIndexedProperty(String propertyName,
int index)
Ctor. |
Method Summary | |
---|---|
EventPropertyGetter |
getGetter(BeanEventType eventType)
Returns value getter for the property of an event of the given event type. |
EventPropertyGetter |
getGetterMap(Map optionalMapPropTypes)
Returns the getter-method for use with Map event representations. |
Class |
getPropertyType(BeanEventType eventType)
Returns the property type. |
Class |
getPropertyTypeMap(Map optionalMapPropTypes)
Returns the property type for use with Map event representations. |
void |
toPropertyEPL(StringWriter writer)
Write the EPL-representation of the property. |
Methods inherited from class com.espertech.esper.event.property.PropertyBase |
---|
getPropertyNameAtomic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicIndexedProperty(String propertyName, int index)
propertyName
- is the property nameindex
- is the index of the array or indexed propertyMethod Detail |
---|
public EventPropertyGetter getGetter(BeanEventType eventType)
Property
getGetter
in interface Property
eventType
- is the type of event to make a getter for
public Class getPropertyType(BeanEventType eventType)
Property
getPropertyType
in interface Property
eventType
- is the event type representing the JavaBean
public Class getPropertyTypeMap(Map optionalMapPropTypes)
Property
getPropertyTypeMap
in interface Property
optionalMapPropTypes
- a map-within-map type definition, if supplied, or null if not supplied
public EventPropertyGetter getGetterMap(Map optionalMapPropTypes)
Property
getGetterMap
in interface Property
optionalMapPropTypes
- a map-within-map type definition, if supplied, or null if not supplied
public void toPropertyEPL(StringWriter writer)
Property
toPropertyEPL
in interface Property
writer
- to write to
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |