ScalarFunctionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. FunctionProperties - com.
azure. resourcemanager. streamanalytics. models. ScalarFunctionProperties
- com.
- com.
public final class ScalarFunctionProperties
extends FunctionProperties
The properties that are associated with a scalar function.
Constructor Summary
| Constructor | Description |
|---|---|
| ScalarFunctionProperties() |
Creates an instance of Scalar |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Function |
binding()
Get the binding property: The physical binding of the function. |
|
static
Scalar |
fromJson(JsonReader jsonReader)
Reads an instance of Scalar |
|
List<Function |
inputs()
Get the inputs property: The inputs property. |
|
Function |
output()
Get the output property: Describes the output of a function. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Indicates the type of function. |
| void |
validate()
Validates the instance. |
|
Scalar |
withBinding(FunctionBinding binding)
Set the binding property: The physical binding of the function. |
|
Scalar |
withInputs(List<FunctionInput> inputs)
Set the inputs property: The inputs property. |
|
Scalar |
withOutput(FunctionOutput output)
Set the output property: Describes the output of a function. |
Methods inherited from FunctionProperties
Methods inherited from java.lang.Object
Constructor Details
ScalarFunctionProperties
public ScalarFunctionProperties()
Creates an instance of ScalarFunctionProperties class.
Method Details
binding
public FunctionBinding binding()
Get the binding property: The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint.
Overrides:
ScalarFunctionProperties.binding()Returns:
fromJson
public static ScalarFunctionProperties fromJson(JsonReader jsonReader)
Reads an instance of ScalarFunctionProperties from the JsonReader.
Parameters:
Returns:
Throws:
inputs
public List<FunctionInput> inputs()
Get the inputs property: The inputs property.
Overrides:
ScalarFunctionProperties.inputs()Returns:
output
public FunctionOutput output()
Get the output property: Describes the output of a function.
Overrides:
ScalarFunctionProperties.output()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ScalarFunctionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Indicates the type of function.
Overrides:
ScalarFunctionProperties.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ScalarFunctionProperties.validate()withBinding
public ScalarFunctionProperties withBinding(FunctionBinding binding)
Set the binding property: The physical binding of the function. For example, in the Azure Machine Learning web service’s case, this describes the endpoint.
Overrides:
ScalarFunctionProperties.withBinding(FunctionBinding binding)Parameters:
Returns:
withInputs
public ScalarFunctionProperties withInputs(List<FunctionInput> inputs)
Set the inputs property: The inputs property.
Overrides:
ScalarFunctionProperties.withInputs(List<FunctionInput> inputs)Parameters:
Returns:
withOutput
public ScalarFunctionProperties withOutput(FunctionOutput output)
Set the output property: Describes the output of a function.
Overrides:
ScalarFunctionProperties.withOutput(FunctionOutput output)Parameters:
Returns: