CSharpFunctionBinding Class

public final class CSharpFunctionBinding
extends FunctionBinding

The binding to a CSharp function.

Constructor Summary

Constructor Description
CSharpFunctionBinding()

Creates an instance of CSharpFunctionBinding class.

Method Summary

Modifier and Type Method and Description
String classProperty()

Get the classProperty property: The Csharp code containing a single function definition.

String dllPath()

Get the dllPath property: The Csharp code containing a single function definition.

static CSharpFunctionBinding fromJson(JsonReader jsonReader)

Reads an instance of CSharpFunctionBinding from the JsonReader.

String method()

Get the method property: The Csharp code containing a single function definition.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the function binding type.

UpdateMode updateMode()

Get the updateMode property: Refresh modes for Stream Analytics functions.

void validate()

Validates the instance.

CSharpFunctionBinding withClassProperty(String classProperty)

Set the classProperty property: The Csharp code containing a single function definition.

CSharpFunctionBinding withDllPath(String dllPath)

Set the dllPath property: The Csharp code containing a single function definition.

CSharpFunctionBinding withMethod(String method)

Set the method property: The Csharp code containing a single function definition.

CSharpFunctionBinding withUpdateMode(UpdateMode updateMode)

Set the updateMode property: Refresh modes for Stream Analytics functions.

Methods inherited from FunctionBinding

Methods inherited from java.lang.Object

Constructor Details

CSharpFunctionBinding

public CSharpFunctionBinding()

Creates an instance of CSharpFunctionBinding class.

Method Details

classProperty

public String classProperty()

Get the classProperty property: The Csharp code containing a single function definition.

Returns:

the classProperty value.

dllPath

public String dllPath()

Get the dllPath property: The Csharp code containing a single function definition.

Returns:

the dllPath value.

fromJson

public static CSharpFunctionBinding fromJson(JsonReader jsonReader)

Reads an instance of CSharpFunctionBinding from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CSharpFunctionBinding if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CSharpFunctionBinding.

method

public String method()

Get the method property: The Csharp code containing a single function definition.

Returns:

the method value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CSharpFunctionBinding.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the function binding type.

Overrides:

CSharpFunctionBinding.type()

Returns:

the type value.

updateMode

public UpdateMode updateMode()

Get the updateMode property: Refresh modes for Stream Analytics functions.

Returns:

the updateMode value.

validate

public void validate()

Validates the instance.

Overrides:

CSharpFunctionBinding.validate()

withClassProperty

public CSharpFunctionBinding withClassProperty(String classProperty)

Set the classProperty property: The Csharp code containing a single function definition.

Parameters:

classProperty - the classProperty value to set.

Returns:

the CSharpFunctionBinding object itself.

withDllPath

public CSharpFunctionBinding withDllPath(String dllPath)

Set the dllPath property: The Csharp code containing a single function definition.

Parameters:

dllPath - the dllPath value to set.

Returns:

the CSharpFunctionBinding object itself.

withMethod

public CSharpFunctionBinding withMethod(String method)

Set the method property: The Csharp code containing a single function definition.

Parameters:

method - the method value to set.

Returns:

the CSharpFunctionBinding object itself.

withUpdateMode

public CSharpFunctionBinding withUpdateMode(UpdateMode updateMode)

Set the updateMode property: Refresh modes for Stream Analytics functions.

Parameters:

updateMode - the updateMode value to set.

Returns:

the CSharpFunctionBinding object itself.

Applies to