QueryFunction Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.QueryFunction

Implements

public final class QueryFunction
implements JsonSerializable<QueryFunction>

A function for the query compilation.

Constructor Summary

Constructor Description
QueryFunction()

Creates an instance of QueryFunction class.

Method Summary

Modifier and Type Method and Description
String bindingType()

Get the bindingType property: The type of the function binding.

static QueryFunction fromJson(JsonReader jsonReader)

Reads an instance of QueryFunction from the JsonReader.

List<FunctionInput> inputs()

Get the inputs property: The inputs for the function.

String name()

Get the name property: The name of the function.

FunctionOutput output()

Get the output property: An output for the function.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the function.

void validate()

Validates the instance.

QueryFunction withBindingType(String bindingType)

Set the bindingType property: The type of the function binding.

QueryFunction withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs for the function.

QueryFunction withName(String name)

Set the name property: The name of the function.

QueryFunction withOutput(FunctionOutput output)

Set the output property: An output for the function.

QueryFunction withType(String type)

Set the type property: The type of the function.

Methods inherited from java.lang.Object

Constructor Details

QueryFunction

public QueryFunction()

Creates an instance of QueryFunction class.

Method Details

bindingType

public String bindingType()

Get the bindingType property: The type of the function binding.

Returns:

the bindingType value.

fromJson

public static QueryFunction fromJson(JsonReader jsonReader)

Reads an instance of QueryFunction from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

inputs

public List<FunctionInput> inputs()

Get the inputs property: The inputs for the function.

Returns:

the inputs value.

name

public String name()

Get the name property: The name of the function.

Returns:

the name value.

output

public FunctionOutput output()

Get the output property: An output for the function.

Returns:

the output value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the function.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBindingType

public QueryFunction withBindingType(String bindingType)

Set the bindingType property: The type of the function binding.

Parameters:

bindingType - the bindingType value to set.

Returns:

the QueryFunction object itself.

withInputs

public QueryFunction withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs for the function.

Parameters:

inputs - the inputs value to set.

Returns:

the QueryFunction object itself.

withName

public QueryFunction withName(String name)

Set the name property: The name of the function.

Parameters:

name - the name value to set.

Returns:

the QueryFunction object itself.

withOutput

public QueryFunction withOutput(FunctionOutput output)

Set the output property: An output for the function.

Parameters:

output - the output value to set.

Returns:

the QueryFunction object itself.

withType

public QueryFunction withType(String type)

Set the type property: The type of the function.

Parameters:

type - the type value to set.

Returns:

the QueryFunction object itself.

Applies to