Del via


QueryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.QueryProperties

Implements

public final class QueryProperties
implements JsonSerializable<QueryProperties>

Properties of a database query.

Constructor Summary

Constructor Description
QueryProperties()

Creates an instance of QueryProperties class.

Method Summary

Modifier and Type Method and Description
static QueryProperties fromJson(JsonReader jsonReader)

Reads an instance of QueryProperties from the JsonReader.

String queryText()

Get the queryText property: Query text.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

QueryProperties withQueryText(String queryText)

Set the queryText property: Query text.

Methods inherited from java.lang.Object

Constructor Details

QueryProperties

public QueryProperties()

Creates an instance of QueryProperties class.

Method Details

fromJson

public static QueryProperties fromJson(JsonReader jsonReader)

Reads an instance of QueryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

queryText

public String queryText()

Get the queryText property: Query text.

Returns:

the queryText value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withQueryText

public QueryProperties withQueryText(String queryText)

Set the queryText property: Query text.

Parameters:

queryText - the queryText value to set.

Returns:

the QueryProperties object itself.

Applies to