Apama API Reference for .NET  10.15.4.0
Apama.Event.Parser.AnyFieldType Class Reference

Represents the Apama any type, for which values are specified as AnyFieldValue objects. More...

Inherits Apama.Event.Parser.ReferenceFieldType< T >.

Public Member Functions

 AnyFieldType ()
 Construct a new instance of AnyFieldType More...
 
override AnyFieldValue DefaultValue ()
 Get the default value for AnyFieldType which is an empty 'any'. More...
 
override AnyFieldValue Parse (String value)
 Parse a token according to syntax rules of this type. More...
 
- Public Member Functions inherited from Apama.Event.Parser.FieldType< T >
virtual string Format (Object value)
 Format the given value in MonitorScript representation. More...
 
abstract object GetDefaultValue ()
 Get the default value for this field type. More...
 
Field< T > NewField (string name)
 Creates a new Field object with the specified name, using this field type. More...
 
abstract object ParseObject (String value)
 Parse a value from this type's Apama event string representation into the .NET object representation of the value. More...
 
override string ToString ()
 For Internal use only More...
 

Additional Inherited Members

- Protected Member Functions inherited from Apama.Event.Parser.FieldType< T >
 FieldType (string typeName, Type clazz)
 Create a new FieldType. More...
 
- Properties inherited from Apama.Event.Parser.FieldType< T >
virtual string Name [get]
 Return the name of this type. More...
 
Type TypeClass [get]
 Return the .NET type used to express values of this Apama field type. More...
 

Detailed Description

Represents the Apama any type, for which values are specified as AnyFieldValue objects.

Constructor & Destructor Documentation

◆ AnyFieldType()

Apama.Event.Parser.AnyFieldType.AnyFieldType ( )

Construct a new instance of AnyFieldType

Member Function Documentation

◆ DefaultValue()

override AnyFieldValue Apama.Event.Parser.AnyFieldType.DefaultValue ( )
virtual

Get the default value for AnyFieldType which is an empty 'any'.

Returns
empty 'any'

Implements Apama.Event.Parser.FieldType< T >.

◆ Parse()

override AnyFieldValue Apama.Event.Parser.AnyFieldType.Parse ( String  value)
virtual

Parse a token according to syntax rules of this type.

Parameters
valueThe value to parse
Returns
An object of AnyFieldValue type.
Exceptions
ParserRuntimeExceptionIf some problem occurs

Implements Apama.Event.Parser.FieldType< T >.