CompileQuery Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. CompileQuery
- com.
Implements
public final class CompileQuery
implements JsonSerializable<CompileQuery>
The query compilation object which defines the input, output, and transformation for the query compilation.
Constructor Summary
| Constructor | Description |
|---|---|
| CompileQuery() |
Creates an instance of Compile |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Compatibility |
compatibilityLevel()
Get the compatibility |
|
static
Compile |
fromJson(JsonReader jsonReader)
Reads an instance of Compile |
|
List<Query |
functions()
Get the functions property: The functions for the query compilation. |
|
List<Query |
inputs()
Get the inputs property: The inputs for the query compilation. |
|
Job |
jobType()
Get the job |
| String |
query()
Get the query property: The query to compile. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Compile |
withCompatibilityLevel(CompatibilityLevel compatibilityLevel)
Set the compatibility |
|
Compile |
withFunctions(List<QueryFunction> functions)
Set the functions property: The functions for the query compilation. |
|
Compile |
withInputs(List<QueryInput> inputs)
Set the inputs property: The inputs for the query compilation. |
|
Compile |
withJobType(JobType jobType)
Set the job |
|
Compile |
withQuery(String query)
Set the query property: The query to compile. |
Methods inherited from java.lang.Object
Constructor Details
CompileQuery
public CompileQuery()
Creates an instance of CompileQuery class.
Method Details
compatibilityLevel
public CompatibilityLevel compatibilityLevel()
Get the compatibilityLevel property: The query to compile.
Returns:
fromJson
public static CompileQuery fromJson(JsonReader jsonReader)
Reads an instance of CompileQuery from the JsonReader.
Parameters:
Returns:
Throws:
functions
public List<QueryFunction> functions()
Get the functions property: The functions for the query compilation.
Returns:
inputs
public List<QueryInput> inputs()
Get the inputs property: The inputs for the query compilation.
Returns:
jobType
public JobType jobType()
Get the jobType property: Describes the type of the job. Valid values are `Cloud` and 'Edge'.
Returns:
query
public String query()
Get the query property: The query to compile.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCompatibilityLevel
public CompileQuery withCompatibilityLevel(CompatibilityLevel compatibilityLevel)
Set the compatibilityLevel property: The query to compile.
Parameters:
Returns:
withFunctions
public CompileQuery withFunctions(List<QueryFunction> functions)
Set the functions property: The functions for the query compilation.
Parameters:
Returns:
withInputs
public CompileQuery withInputs(List<QueryInput> inputs)
Set the inputs property: The inputs for the query compilation.
Parameters:
Returns:
withJobType
public CompileQuery withJobType(JobType jobType)
Set the jobType property: Describes the type of the job. Valid values are `Cloud` and 'Edge'.
Parameters:
Returns:
withQuery
public CompileQuery withQuery(String query)
Set the query property: The query to compile.
Parameters:
Returns: