Share via


OracleTableDataset Class

public final class OracleTableDataset
extends Dataset

The on-premises Oracle database dataset.

Constructor Summary

Constructor Description
OracleTableDataset()

Creates an instance of OracleTableDataset class.

Method Summary

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

Reads an instance of OracleTableDataset from the JsonReader.

Object schemaTypePropertiesSchema()

Get the schema property: The schema name of the on-premises Oracle database.

Object table()

Get the table property: The table name of the on-premises Oracle database.

Object tableName()

Get the tableName property: This property will be retired.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of dataset.

void validate()

Validates the instance.

OracleTableDataset withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the Dataset.

OracleTableDataset withDescription(String description)

Set the description property: Dataset description.

OracleTableDataset withFolder(DatasetFolder folder)

Set the folder property: The folder that this Dataset is in.

OracleTableDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

OracleTableDataset withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for dataset.

OracleTableDataset withSchema(Object schema)

Set the schema property: Columns that define the physical type schema of the dataset.

OracleTableDataset withSchemaTypePropertiesSchema(Object schema)

Set the schema property: The schema name of the on-premises Oracle database.

OracleTableDataset withStructure(Object structure)

Set the structure property: Columns that define the structure of the dataset.

OracleTableDataset withTable(Object table)

Set the table property: The table name of the on-premises Oracle database.

OracleTableDataset withTableName(Object tableName)

Set the tableName property: This property will be retired.

Methods inherited from Dataset

Methods inherited from java.lang.Object

Constructor Details

OracleTableDataset

public OracleTableDataset()

Creates an instance of OracleTableDataset class.

Method Details

fromJson

public static OracleTableDataset fromJson(JsonReader jsonReader)

Reads an instance of OracleTableDataset from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

schemaTypePropertiesSchema

public Object schemaTypePropertiesSchema()

Get the schema property: The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string).

Returns:

the schema value.

table

public Object table()

Get the table property: The table name of the on-premises Oracle database. Type: string (or Expression with resultType string).

Returns:

the table value.

tableName

public Object tableName()

Get the tableName property: This property will be retired. Please consider using schema + table properties instead.

Returns:

the tableName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OracleTableDataset.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of dataset.

Overrides:

OracleTableDataset.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

OracleTableDataset.validate()

withAnnotations

public OracleTableDataset withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the Dataset.

Overrides:

OracleTableDataset.withAnnotations(List<Object> annotations)

Parameters:

annotations

withDescription

public OracleTableDataset withDescription(String description)

Set the description property: Dataset description.

Overrides:

OracleTableDataset.withDescription(String description)

Parameters:

description

withFolder

public OracleTableDataset withFolder(DatasetFolder folder)

Set the folder property: The folder that this Dataset is in. If not specified, Dataset will appear at the root level.

Overrides:

OracleTableDataset.withFolder(DatasetFolder folder)

Parameters:

folder

withLinkedServiceName

public OracleTableDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

Overrides:

OracleTableDataset.withLinkedServiceName(LinkedServiceReference linkedServiceName)

Parameters:

linkedServiceName

withParameters

public OracleTableDataset withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for dataset.

Overrides:

OracleTableDataset.withParameters(Map<String,ParameterSpecification> parameters)

Parameters:

parameters

withSchema

public OracleTableDataset withSchema(Object schema)

Set the schema property: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.

Overrides:

OracleTableDataset.withSchema(Object schema)

Parameters:

schema

withSchemaTypePropertiesSchema

public OracleTableDataset withSchemaTypePropertiesSchema(Object schema)

Set the schema property: The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string).

Parameters:

schema - the schema value to set.

Returns:

the OracleTableDataset object itself.

withStructure

public OracleTableDataset withStructure(Object structure)

Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.

Overrides:

OracleTableDataset.withStructure(Object structure)

Parameters:

structure

withTable

public OracleTableDataset withTable(Object table)

Set the table property: The table name of the on-premises Oracle database. Type: string (or Expression with resultType string).

Parameters:

table - the table value to set.

Returns:

the OracleTableDataset object itself.

withTableName

public OracleTableDataset withTableName(Object tableName)

Set the tableName property: This property will be retired. Please consider using schema + table properties instead.

Parameters:

tableName - the tableName value to set.

Returns:

the OracleTableDataset object itself.

Applies to