Expression Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.Expression

Implements

public final class Expression
implements JsonSerializable<Expression>

Azure Synapse expression definition.

Constructor Summary

Constructor Description
Expression()

Creates an instance of Expression class.

Method Summary

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

Reads an instance of Expression from the JsonReader.

ExpressionType getType()

Get the type property: Expression type.

String getValue()

Get the value property: Expression value.

Expression setType(ExpressionType type)

Set the type property: Expression type.

Expression setValue(String value)

Set the value property: Expression value.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

Expression

public Expression()

Creates an instance of Expression class.

Method Details

fromJson

public static Expression fromJson(JsonReader jsonReader)

Reads an instance of Expression from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Expression if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getType

public ExpressionType getType()

Get the type property: Expression type.

Returns:

the type value.

getValue

public String getValue()

Get the value property: Expression value.

Returns:

the value value.

setType

public Expression setType(ExpressionType type)

Set the type property: Expression type.

Parameters:

type - the type value to set.

Returns:

the Expression object itself.

setValue

public Expression setValue(String value)

Set the value property: Expression value.

Parameters:

value - the value value to set.

Returns:

the Expression object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to