QueryCompilationError Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. QueryCompilationError
- com.
Implements
public final class QueryCompilationError
implements JsonSerializable<QueryCompilationError>
An error produced by the compiler.
Constructor Summary
| Constructor | Description |
|---|---|
| QueryCompilationError() |
Creates an instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
endColumn()
Get the end |
| Integer |
endLine()
Get the end |
|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
| Boolean |
isGlobal()
Get the is |
| String |
message()
Get the message property: The content of the error message. |
| Integer |
startColumn()
Get the start |
| Integer |
startLine()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
QueryCompilationError
public QueryCompilationError()
Creates an instance of QueryCompilationError class.
Method Details
endColumn
public Integer endColumn()
Get the endColumn property: Describes the error location in the original query. Not set if isGlobal is true.
Returns:
endLine
public Integer endLine()
Get the endLine property: Describes the error location in the original query. Not set if isGlobal is true.
Returns:
fromJson
public static QueryCompilationError fromJson(JsonReader jsonReader)
Reads an instance of QueryCompilationError from the JsonReader.
Parameters:
Returns:
Throws:
isGlobal
public Boolean isGlobal()
Get the isGlobal property: Whether the error is not for a specific part but for the entire query.
Returns:
message
public String message()
Get the message property: The content of the error message.
Returns:
startColumn
public Integer startColumn()
Get the startColumn property: Describes the error location in the original query. Not set if isGlobal is true.
Returns:
startLine
public Integer startLine()
Get the startLine property: Describes the error location in the original query. Not set if isGlobal is true.
Returns:
toJson
validate
public void validate()
Validates the instance.