QueryFunction Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. QueryFunction
- com.
Implements
public final class QueryFunction
implements JsonSerializable<QueryFunction>
A function for the query compilation.
Constructor Summary
| Constructor | Description |
|---|---|
| QueryFunction() |
Creates an instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
bindingType()
Get the binding |
|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
|
List<Function |
inputs()
Get the inputs property: The inputs for the function. |
| String |
name()
Get the name property: The name of the function. |
|
Function |
output()
Get the output property: An output for the function. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the function. |
| void |
validate()
Validates the instance. |
|
Query |
withBindingType(String bindingType)
Set the binding |
|
Query |
withInputs(List<FunctionInput> inputs)
Set the inputs property: The inputs for the function. |
|
Query |
withName(String name)
Set the name property: The name of the function. |
|
Query |
withOutput(FunctionOutput output)
Set the output property: An output for the function. |
|
Query |
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:
fromJson
public static QueryFunction fromJson(JsonReader jsonReader)
Reads an instance of QueryFunction from the JsonReader.
Parameters:
Returns:
Throws:
inputs
public List<FunctionInput> inputs()
Get the inputs property: The inputs for the function.
Returns:
name
public String name()
Get the name property: The name of the function.
Returns:
output
public FunctionOutput output()
Get the output property: An output for the function.
Returns:
toJson
type
public String type()
Get the type property: The type of the function.
Returns:
validate
public void validate()
Validates the instance.
withBindingType
public QueryFunction withBindingType(String bindingType)
Set the bindingType property: The type of the function binding.
Parameters:
Returns:
withInputs
public QueryFunction withInputs(List<FunctionInput> inputs)
Set the inputs property: The inputs for the function.
Parameters:
Returns:
withName
public QueryFunction withName(String name)
Set the name property: The name of the function.
Parameters:
Returns:
withOutput
public QueryFunction withOutput(FunctionOutput output)
Set the output property: An output for the function.
Parameters:
Returns:
withType
public QueryFunction withType(String type)
Set the type property: The type of the function.
Parameters:
Returns: