שתף באמצעות


FunctionOutput Class

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

Implements

public final class FunctionOutput
implements JsonSerializable<FunctionOutput>

Describes the output of a function.

Constructor Summary

Constructor Description
FunctionOutput()

Creates an instance of FunctionOutput class.

Method Summary

Modifier and Type Method and Description
String dataType()

Get the dataType property: The (Azure Stream Analytics supported) data type of the function output.

static FunctionOutput fromJson(JsonReader jsonReader)

Reads an instance of FunctionOutput from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FunctionOutput withDataType(String dataType)

Set the dataType property: The (Azure Stream Analytics supported) data type of the function output.

Methods inherited from java.lang.Object

Constructor Details

FunctionOutput

public FunctionOutput()

Creates an instance of FunctionOutput class.

Method Details

dataType

public String dataType()

Get the dataType property: The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx.

Returns:

the dataType value.

fromJson

public static FunctionOutput fromJson(JsonReader jsonReader)

Reads an instance of FunctionOutput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FunctionOutput 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 FunctionOutput.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDataType

public FunctionOutput withDataType(String dataType)

Set the dataType property: The (Azure Stream Analytics supported) data type of the function output. A list of valid Azure Stream Analytics data types are described at https://msdn.microsoft.com/en-us/library/azure/dn835065.aspx.

Parameters:

dataType - the dataType value to set.

Returns:

the FunctionOutput object itself.

Applies to