HiveObjectDataset Class

public class HiveObjectDataset
extends Dataset

Hive Server dataset.

Constructor Summary

Constructor Description
HiveObjectDataset()

Creates an instance of HiveObjectDataset class.

Method Summary

Modifier and Type Method and Description
Object getSchemaTypePropertiesSchema()

Get the schemaTypePropertiesSchema property: The schema name of the Hive.

Object getTable()

Get the table property: The table name of the Hive.

Object getTableName()

Get the tableName property: This property will be retired.

HiveObjectDataset setAnnotations(List<Object> annotations)

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

HiveObjectDataset setDescription(String description)

Set the description property: Dataset description.

HiveObjectDataset setFolder(DatasetFolder folder)

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

HiveObjectDataset setLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

HiveObjectDataset setParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for dataset.

HiveObjectDataset setSchema(Object schema)

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

HiveObjectDataset setSchemaTypePropertiesSchema(Object schemaTypePropertiesSchema)

Set the schemaTypePropertiesSchema property: The schema name of the Hive.

HiveObjectDataset setStructure(Object structure)

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

HiveObjectDataset setTable(Object table)

Set the table property: The table name of the Hive.

HiveObjectDataset setTableName(Object tableName)

Set the tableName property: This property will be retired.

Methods inherited from Dataset

Methods inherited from java.lang.Object

Constructor Details

HiveObjectDataset

public HiveObjectDataset()

Creates an instance of HiveObjectDataset class.

Method Details

getSchemaTypePropertiesSchema

public Object getSchemaTypePropertiesSchema()

Get the schemaTypePropertiesSchema property: The schema name of the Hive. Type: string (or Expression with resultType string).

Returns:

the schemaTypePropertiesSchema value.

getTable

public Object getTable()

Get the table property: The table name of the Hive. Type: string (or Expression with resultType string).

Returns:

the table value.

getTableName

public Object getTableName()

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

Returns:

the tableName value.

setAnnotations

public HiveObjectDataset setAnnotations(List annotations)

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

Overrides:

HiveObjectDataset.setAnnotations(List<Object> annotations)

Parameters:

annotations

setDescription

public HiveObjectDataset setDescription(String description)

Set the description property: Dataset description.

Overrides:

HiveObjectDataset.setDescription(String description)

Parameters:

description

setFolder

public HiveObjectDataset setFolder(DatasetFolder folder)

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

Overrides:

HiveObjectDataset.setFolder(DatasetFolder folder)

Parameters:

folder

setLinkedServiceName

public HiveObjectDataset setLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

Overrides:

HiveObjectDataset.setLinkedServiceName(LinkedServiceReference linkedServiceName)

Parameters:

linkedServiceName

setParameters

public HiveObjectDataset setParameters(Map parameters)

Set the parameters property: Parameters for dataset.

Overrides:

HiveObjectDataset.setParameters(Map<String,ParameterSpecification> parameters)

Parameters:

parameters

setSchema

public HiveObjectDataset setSchema(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:

HiveObjectDataset.setSchema(Object schema)

Parameters:

schema

setSchemaTypePropertiesSchema

public HiveObjectDataset setSchemaTypePropertiesSchema(Object schemaTypePropertiesSchema)

Set the schemaTypePropertiesSchema property: The schema name of the Hive. Type: string (or Expression with resultType string).

Parameters:

schemaTypePropertiesSchema - the schemaTypePropertiesSchema value to set.

Returns:

the HiveObjectDataset object itself.

setStructure

public HiveObjectDataset setStructure(Object structure)

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

Overrides:

HiveObjectDataset.setStructure(Object structure)

Parameters:

structure

setTable

public HiveObjectDataset setTable(Object table)

Set the table property: The table name of the Hive. Type: string (or Expression with resultType string).

Parameters:

table - the table value to set.

Returns:

the HiveObjectDataset object itself.

setTableName

public HiveObjectDataset setTableName(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 HiveObjectDataset object itself.

Applies to