CassandraTableDataset Class

public final class CassandraTableDataset
extends Dataset

The Cassandra database dataset.

Constructor Summary

Constructor Description
CassandraTableDataset()

Creates an instance of CassandraTableDataset class.

Method Summary

Modifier and Type Method and Description
Object keyspace()

Get the keyspace property: The keyspace of the Cassandra database.

Object tableName()

Get the tableName property: The table name of the Cassandra database.

String type()

Get the type property: Type of dataset.

void validate()

Validates the instance.

CassandraTableDataset withAnnotations(List<Object> annotations)

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

CassandraTableDataset withDescription(String description)

Set the description property: Dataset description.

CassandraTableDataset withFolder(DatasetFolder folder)

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

CassandraTableDataset withKeyspace(Object keyspace)

Set the keyspace property: The keyspace of the Cassandra database.

CassandraTableDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

CassandraTableDataset withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for dataset.

CassandraTableDataset withSchema(Object schema)

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

CassandraTableDataset withStructure(Object structure)

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

CassandraTableDataset withTableName(Object tableName)

Set the tableName property: The table name of the Cassandra database.

Methods inherited from Dataset

Methods inherited from java.lang.Object

Constructor Details

CassandraTableDataset

public CassandraTableDataset()

Creates an instance of CassandraTableDataset class.

Method Details

keyspace

public Object keyspace()

Get the keyspace property: The keyspace of the Cassandra database. Type: string (or Expression with resultType string).

Returns:

the keyspace value.

tableName

public Object tableName()

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

Returns:

the tableName value.

type

public String type()

Get the type property: Type of dataset.

Overrides:

CassandraTableDataset.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

CassandraTableDataset.validate()

withAnnotations

public CassandraTableDataset withAnnotations(List annotations)

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

Overrides:

CassandraTableDataset.withAnnotations(List<Object> annotations)

Parameters:

annotations

withDescription

public CassandraTableDataset withDescription(String description)

Set the description property: Dataset description.

Overrides:

CassandraTableDataset.withDescription(String description)

Parameters:

description

withFolder

public CassandraTableDataset 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:

CassandraTableDataset.withFolder(DatasetFolder folder)

Parameters:

folder

withKeyspace

public CassandraTableDataset withKeyspace(Object keyspace)

Set the keyspace property: The keyspace of the Cassandra database. Type: string (or Expression with resultType string).

Parameters:

keyspace - the keyspace value to set.

Returns:

the CassandraTableDataset object itself.

withLinkedServiceName

public CassandraTableDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

Overrides:

CassandraTableDataset.withLinkedServiceName(LinkedServiceReference linkedServiceName)

Parameters:

linkedServiceName

withParameters

public CassandraTableDataset withParameters(Map parameters)

Set the parameters property: Parameters for dataset.

Overrides:

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

Parameters:

parameters

withSchema

public CassandraTableDataset 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:

CassandraTableDataset.withSchema(Object schema)

Parameters:

schema

withStructure

public CassandraTableDataset 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:

CassandraTableDataset.withStructure(Object structure)

Parameters:

structure

withTableName

public CassandraTableDataset withTableName(Object tableName)

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

Parameters:

tableName - the tableName value to set.

Returns:

the CassandraTableDataset object itself.

Applies to