[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Check if the fields identified by their field names are valid numeric field according to the schema.

Namespace: net.esper.view
Assembly:   NEsper (in NEsper.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function CheckNumeric ( _
	type As EventType, _
	numericFieldNameX As String, _
	numericFieldNameY As String _
) As String
C#
public static string CheckNumeric (
	EventType type,
	string numericFieldNameX,
	string numericFieldNameY
)
Visual C++
public:
static String^ CheckNumeric (
	EventType^ type, 
	String^ numericFieldNameX, 
	String^ numericFieldNameY
)

Parameters

type
net.esper.events.EventType
contains metadata about fields
numericFieldNameX
System.String
is the first field's field name to test
numericFieldNameY
System.String
is the second field's field name to test

Return Value

a String error message if the field doesn't exist or is not numeric, or null to indicate success