QueryCompilationError Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.QueryCompilationError

Implements

public final class QueryCompilationError
implements JsonSerializable<QueryCompilationError>

An error produced by the compiler.

Constructor Summary

Constructor Description
QueryCompilationError()

Creates an instance of QueryCompilationError class.

Method Summary

Modifier and Type Method and Description
Integer endColumn()

Get the endColumn property: Describes the error location in the original query.

Integer endLine()

Get the endLine property: Describes the error location in the original query.

static QueryCompilationError fromJson(JsonReader jsonReader)

Reads an instance of QueryCompilationError from the JsonReader.

Boolean isGlobal()

Get the isGlobal property: Whether the error is not for a specific part but for the entire query.

String message()

Get the message property: The content of the error message.

Integer startColumn()

Get the startColumn property: Describes the error location in the original query.

Integer startLine()

Get the startLine property: Describes the error location in the original query.

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

the endColumn value.

endLine

public Integer endLine()

Get the endLine property: Describes the error location in the original query. Not set if isGlobal is true.

Returns:

the endLine value.

fromJson

public static QueryCompilationError fromJson(JsonReader jsonReader)

Reads an instance of QueryCompilationError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isGlobal

public Boolean isGlobal()

Get the isGlobal property: Whether the error is not for a specific part but for the entire query.

Returns:

the isGlobal value.

message

public String message()

Get the message property: The content of the error message.

Returns:

the message value.

startColumn

public Integer startColumn()

Get the startColumn property: Describes the error location in the original query. Not set if isGlobal is true.

Returns:

the startColumn value.

startLine

public Integer startLine()

Get the startLine property: Describes the error location in the original query. Not set if isGlobal is true.

Returns:

the startLine value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to