Click or drag to resize

EventTypeGetFragmentType Method

Returns the event type of the fragment that is the value of a property name or property expression.

Returns null if the property name or property expression is not valid or does not return a fragment for the event type.

The provides a flag that indicates which properties provide fragment events.

This is useful for navigating properties that are itself events or other well-defined types that the underlying event representation may represent as an event type. It is up to each event representation to determine what properties can be represented as event types themselves.

The method takes a property name or property expression as a parameter. Property expressions may include indexed properties via the syntax "name[index]", mapped properties via the syntax "name('key')", nested properties via the syntax "outer.inner" or combinations thereof.

The underlying event representation may not support providing fragments or therefore fragment event types for any or all properties, in which case the method returns null.

Use the method to obtain a list of properties for which a fragment event type may be retrieved by this method.

Namespace:  com.espertech.esper.common.client
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
FragmentEventType GetFragmentType(
	string propertyExpression
)

Parameters

propertyExpression
Type: SystemString
is the name of the property to return the fragment event type

Return Value

Type: FragmentEventType
fragment event type of the property
See Also