שתף באמצעות


ScalarFunctionProperties Class

public final class ScalarFunctionProperties
extends FunctionProperties

The properties that are associated with a scalar function.

Constructor Summary

Constructor Description
ScalarFunctionProperties()

Creates an instance of ScalarFunctionProperties class.

Method Summary

Modifier and Type Method and Description
FunctionBinding binding()

Get the binding property: The physical binding of the function.

static ScalarFunctionProperties fromJson(JsonReader jsonReader)

Reads an instance of ScalarFunctionProperties from the JsonReader.

List<FunctionInput> inputs()

Get the inputs property: The inputs property.

FunctionOutput output()

Get the output property: Describes the output of a function.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Indicates the type of function.

void validate()

Validates the instance.

ScalarFunctionProperties withBinding(FunctionBinding binding)

Set the binding property: The physical binding of the function.

ScalarFunctionProperties withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs property.

ScalarFunctionProperties 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:

the binding value.

fromJson

public static ScalarFunctionProperties fromJson(JsonReader jsonReader)

Reads an instance of ScalarFunctionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inputs

public List<FunctionInput> inputs()

Get the inputs property: The inputs property.

Overrides:

ScalarFunctionProperties.inputs()

Returns:

the inputs value.

output

public FunctionOutput output()

Get the output property: Describes the output of a function.

Overrides:

ScalarFunctionProperties.output()

Returns:

the output value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ScalarFunctionProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Indicates the type of function.

Overrides:

ScalarFunctionProperties.type()

Returns:

the type value.

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:

binding - the binding value to set.

Returns:

the ScalarFunctionProperties object itself.

withInputs

public ScalarFunctionProperties withInputs(List<FunctionInput> inputs)

Set the inputs property: The inputs property.

Overrides:

ScalarFunctionProperties.withInputs(List<FunctionInput> inputs)

Parameters:

inputs - the inputs value to set.

Returns:

the ScalarFunctionProperties object itself.

withOutput

public ScalarFunctionProperties withOutput(FunctionOutput output)

Set the output property: Describes the output of a function.

Overrides:

ScalarFunctionProperties.withOutput(FunctionOutput output)

Parameters:

output - the output value to set.

Returns:

the ScalarFunctionProperties object itself.

Applies to