Apama API Reference for .NET
10.2.0.3
|
Provides factory methods and constants for getting all supported Apama event field types. More...
Static Public Member Functions | |
static ReferenceFieldType < IDictionary< TKey, TValue > > | Dictionary< TKey, TValue > (FieldType< TKey > keyType, FieldType< TValue > valueType) |
Create a new field type object for an Apama dictionary event field. More... | |
static FieldType< T?> | Optional< T > (PrimitiveFieldType< T > containedType) |
Create an optional field type object with a primitive containedType Apama event field. More... | |
static FieldType< T > | Optional< T > (ReferenceFieldType< T > containedType) |
Create an optional field type with a referenced containedType Apama event field. More... | |
static ReferenceFieldType < IList< E > > | Sequence< E > (FieldType< E > elementType) |
Create a new field type object for an Apama sequence event field. More... | |
Static Public Attributes | |
static readonly PrimitiveFieldType< Boolean > | Boolean = BooleanFieldType.Type |
Get the singleton field type object for the Apama boolean type, for which values are specified as .NET Boolean objects. More... | |
static readonly ReferenceFieldType< String > | Channel = ChannelFieldType.Type |
Get the singleton field type object for the Apama string type, for which values are specified as .NET Channel objects. More... | |
static readonly FieldType< String > | Context = ContextFieldType.Type |
Get the singleton field type object for the Apama string type, for which values are specified as .NET Context objects. More... | |
static readonly ReferenceFieldType < DecimalFieldValue > | Decimal = DecimalFieldType.Type |
Get the singleton field type object for the Apama decimal type, for which values are specified as .NET DecimalFieldValue objects. More... | |
static readonly PrimitiveFieldType< Double > | Float = FloatFieldType.Type |
Get the singleton field type object for the Apama float type, for which values are specified as .NET Double objects. More... | |
static readonly PrimitiveFieldType< Int64 > | Integer = IntegerFieldType.Type |
Get the singleton field type object for the Apama integer type, for which values are specified as .NET Int64 objects. More... | |
static readonly ReferenceFieldType < LocationType > | Location = LocationFieldType.Type |
Get the singleton field type object for the Apama location type, for which values are specified as .NET LocationType objects. More... | |
static readonly ReferenceFieldType< String > | String = StringFieldType.Type |
Get the singleton field type object for the Apama string type, for which values are specified as .NET String objects. More... | |
Provides factory methods and constants for getting all supported Apama event field types.
The following example shows how it is possible to create a field object whose type is an Apama sequence of integers: var myField = FieldTypes.Sequence(FieldTypes.Integer).NewField("myField");
|
static |
Create a new field type object for an Apama dictionary event field.
TKey | The .NET type used to represent the key of items in this dictionary. |
TValue | The .NET type used to represent the value of items in this dictionary. |
keyType | The event field type for the key of items in this dictionary. |
valueType | The event field type for the value of items in this dictionary. |
|
static |
Create an optional field type object with a primitive containedType Apama event field.
To create an optional event field of Integer, Boolean and Float fieldTypes with field names of "intField", "boolField" and "doubleField" respectively:
Field<long?> intField = FieldTypes.Optional(FieldTypes.Integer).NewField("intField");
Field<bool?> boolField = FieldTypes.Optional(FieldTypes.Boolean).NewField("boolField");
Field<double?> dblField = FieldTypes.Optional(FieldTypes.Float).NewField("doubleField");
T | The .NET type used to represent the value contained in this optional field. |
containedType | The event field type for the contained element in this field. |
T | : | struct |
|
static |
Create an optional field type with a referenced containedType Apama event field.
To create an optional event field of Decimal, Sequence of Integer and an EventType type with field names of "decField", "seqIntField" and "evtField" respectively:
Field<DecimalFieldValue> decField = FieldTypes.Optional(FieldTypes.Decimal).NewField("decField");
Field<IList<long>> optSeqIntField = FieldTypes.Optional(FieldTypes.Sequence(FieldTypes.Integer)).NewField("seqIntField");
Field<Event> optSubEventField = FieldTypes.Optional(subEventType).NewField("evtField");
T | The .NET type used to represent the value contained in this optional field. |
containedType | The event field type for the contained element in this field. |
T | : | class |
|
static |
Create a new field type object for an Apama sequence event field.
E | The .NET type used to represent values in this sequence. |
elementType | The event field type for the elements in this sequence. |
|
static |
|
static |
|
static |
|
static |
Get the singleton field type object for the Apama decimal
type, for which values are specified as .NET DecimalFieldValue objects.
|
static |
Get the singleton field type object for the Apama float
type, for which values are specified as .NET Double objects.
|
static |
Get the singleton field type object for the Apama integer
type, for which values are specified as .NET Int64 objects.
|
static |
Get the singleton field type object for the Apama location
type, for which values are specified as .NET LocationType objects.
|
static |