|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamTypeService
Service supplying stream number and property type information.
Method Summary | |
---|---|
java.lang.String |
getEngineURIQualifier()
|
EventType[] |
getEventTypes()
Returns an array of event types for each event stream in the order declared. |
boolean[] |
getIStreamOnly()
Returns true for each stream without a data window. |
java.lang.String[] |
getStreamNames()
Returns an array of event stream names in the order declared. |
int |
getStreamNumForStreamName(java.lang.String streamWildcard)
|
boolean |
hasPropertyAgnosticType()
|
boolean |
isOnDemandStreams()
|
PropertyResolutionDescriptor |
resolveByPropertyName(java.lang.String propertyName,
boolean obtainFragment)
Returns the offset of the stream and the type of the property for the given property name, by looking through the types offered and matching up. |
PropertyResolutionDescriptor |
resolveByPropertyNameExplicitProps(java.lang.String propertyName,
boolean obtainFragment)
Returns the offset of the stream and the type of the property for the given property name, by looking through the types offered considering only explicitly listed properties and matching up. |
PropertyResolutionDescriptor |
resolveByStreamAndPropName(java.lang.String streamAndPropertyName,
boolean obtainFragment)
Returns the offset of the stream and the type of the property for the given property name, by looking through the types offered and matching up. |
PropertyResolutionDescriptor |
resolveByStreamAndPropName(java.lang.String streamName,
java.lang.String propertyName,
boolean obtainFragment)
Returns the offset of the stream and the type of the property for the given property name, by using the specified stream name to resolve the property. |
PropertyResolutionDescriptor |
resolveByStreamAndPropNameExplicitProps(java.lang.String streamName,
java.lang.String propertyName,
boolean obtainFragment)
Returns the offset of the stream and the type of the property for the given property name, by using the specified stream name to resolve the property and considering only explicitly listed properties. |
Method Detail |
---|
PropertyResolutionDescriptor resolveByPropertyName(java.lang.String propertyName, boolean obtainFragment) throws DuplicatePropertyException, PropertyNotFoundException
This method considers only a property name and looks at all streams to resolve the property name.
propertyName
- - property name in eventobtainFragment
-
DuplicatePropertyException
- to indicate property was found twice
PropertyNotFoundException
- to indicate property could not be resolvedPropertyResolutionDescriptor resolveByPropertyNameExplicitProps(java.lang.String propertyName, boolean obtainFragment) throws PropertyNotFoundException, DuplicatePropertyException
This method considers only a property name and looks at all streams to resolve the property name.
propertyName
- - property name in eventobtainFragment
-
DuplicatePropertyException
- to indicate property was found twice
PropertyNotFoundException
- to indicate property could not be resolvedPropertyResolutionDescriptor resolveByStreamAndPropName(java.lang.String streamName, java.lang.String propertyName, boolean obtainFragment) throws PropertyNotFoundException, StreamNotFoundException
This method considers and explicit stream name and property name, both parameters are required.
streamName
- - name of stream, requiredpropertyName
- - property name in event, , requiredobtainFragment
-
PropertyNotFoundException
- to indicate property could not be resolved
StreamNotFoundException
- to indicate stream name could not be resolvedPropertyResolutionDescriptor resolveByStreamAndPropNameExplicitProps(java.lang.String streamName, java.lang.String propertyName, boolean obtainFragment) throws PropertyNotFoundException, StreamNotFoundException
This method considers and explicit stream name and property name, both parameters are required.
streamName
- - name of stream, requiredpropertyName
- - property name in event, , requiredobtainFragment
-
PropertyNotFoundException
- to indicate property could not be resolved
StreamNotFoundException
- to indicate stream name could not be resolvedPropertyResolutionDescriptor resolveByStreamAndPropName(java.lang.String streamAndPropertyName, boolean obtainFragment) throws DuplicatePropertyException, PropertyNotFoundException
This method considers a single property name that may or may not be prefixed by a stream name. The resolution first attempts to find the property name itself, then attempts to consider a stream name that may be part of the property name.
streamAndPropertyName
- - stream name and property name (e.g. s0.p0) or just a property name (p0)obtainFragment
-
DuplicatePropertyException
- to indicate property was found twice
PropertyNotFoundException
- to indicate property could not be resolvedjava.lang.String[] getStreamNames()
EventType[] getEventTypes()
boolean[] getIStreamOnly()
int getStreamNumForStreamName(java.lang.String streamWildcard)
boolean isOnDemandStreams()
java.lang.String getEngineURIQualifier()
boolean hasPropertyAgnosticType()
|
© 2006-2011 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 |