public interface StreamTypeService
Modifier and Type | Method and Description |
---|---|
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.
|
String[] |
getStreamNames()
Returns an array of event stream names in the order declared.
|
int |
getStreamNumForStreamName(String streamWildcard) |
boolean |
hasPropertyAgnosticType() |
boolean |
hasTableTypes() |
boolean |
isOnDemandStreams() |
boolean |
isOptionalStreams() |
boolean |
isStreamZeroUnambigous() |
PropertyResolutionDescriptor |
resolveByPropertyName(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(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(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(String streamName,
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(String streamName,
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.
|
PropertyResolutionDescriptor resolveByPropertyName(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
- indicator whether fragment should be returnedDuplicatePropertyException
- to indicate property was found twicePropertyNotFoundException
- to indicate property could not be resolvedPropertyResolutionDescriptor resolveByPropertyNameExplicitProps(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
- indicator whether fragment should be returnedDuplicatePropertyException
- to indicate property was found twicePropertyNotFoundException
- to indicate property could not be resolvedPropertyResolutionDescriptor resolveByStreamAndPropName(String streamName, 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
- indicator whether fragment should be returnedPropertyNotFoundException
- to indicate property could not be resolvedStreamNotFoundException
- to indicate stream name could not be resolvedPropertyResolutionDescriptor resolveByStreamAndPropNameExplicitProps(String streamName, 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
- indicator whether fragment should be returnedPropertyNotFoundException
- to indicate property could not be resolvedStreamNotFoundException
- to indicate stream name could not be resolvedPropertyResolutionDescriptor resolveByStreamAndPropName(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
- indicator whether fragment should be returnedDuplicatePropertyException
- to indicate property was found twicePropertyNotFoundException
- to indicate property could not be resolvedString[] getStreamNames()
EventType[] getEventTypes()
boolean[] getIStreamOnly()
int getStreamNumForStreamName(String streamWildcard)
boolean isOnDemandStreams()
boolean hasPropertyAgnosticType()
boolean hasTableTypes()
boolean isStreamZeroUnambigous()
boolean isOptionalStreams()
Copyright © 2005–2020. All rights reserved.