|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.client.FragmentEventType
public class FragmentEventType
Provides an event type for a property of an event.
A fragment is a property value that is itself an event, or that can be represented as an event. Thereby a fragment comes with event type metadata and means of querying the fragment's properties.
A array or collection of property values that is an array of events or that can be represented as an array of events has the indexed flag set.
A map of property values that is an map of events or that can be represented as a map of events has the mapped flag set.
Constructor Summary | |
---|---|
FragmentEventType(EventType fragmentType,
boolean indexed,
boolean isNative)
Ctor. |
Method Summary | |
---|---|
EventType |
getFragmentType()
Returns the type of the fragment. |
boolean |
isIndexed()
Returns true if the fragment type is an array. |
boolean |
isNative()
Returns true if the fragment is a native representation, i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FragmentEventType(EventType fragmentType, boolean indexed, boolean isNative)
fragmentType
- the event type for a property value for an event.indexed
- true to indicate that property value is an array of eventsisNative
- trueMethod Detail |
---|
public boolean isIndexed()
If a property value is an array and thereby a fragment array, this flag is set to true.
public EventType getFragmentType()
public boolean isNative()
|
© 2006-2015 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 |