次の方法で共有


MagentoObjectDataset Class

public final class MagentoObjectDataset
extends Dataset

Magento server dataset.

Constructor Summary

Constructor Description
MagentoObjectDataset()

Creates an instance of MagentoObjectDataset class.

Method Summary

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

Reads an instance of MagentoObjectDataset from the JsonReader.

Object tableName()

Get the tableName property: The table name.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of dataset.

void validate()

Validates the instance.

MagentoObjectDataset withAnnotations(List<Object> annotations)

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

MagentoObjectDataset withDescription(String description)

Set the description property: Dataset description.

MagentoObjectDataset withFolder(DatasetFolder folder)

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

MagentoObjectDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

MagentoObjectDataset withParameters(Map<String,ParameterSpecification> parameters)

Set the parameters property: Parameters for dataset.

MagentoObjectDataset withSchema(Object schema)

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

MagentoObjectDataset withStructure(Object structure)

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

MagentoObjectDataset withTableName(Object tableName)

Set the tableName property: The table name.

Methods inherited from Dataset

Methods inherited from java.lang.Object

Constructor Details

MagentoObjectDataset

public MagentoObjectDataset()

Creates an instance of MagentoObjectDataset class.

Method Details

fromJson

public static MagentoObjectDataset fromJson(JsonReader jsonReader)

Reads an instance of MagentoObjectDataset from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tableName

public Object tableName()

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

Returns:

the tableName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MagentoObjectDataset.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of dataset.

Overrides:

MagentoObjectDataset.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

MagentoObjectDataset.validate()

withAnnotations

public MagentoObjectDataset withAnnotations(List<Object> annotations)

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

Overrides:

MagentoObjectDataset.withAnnotations(List<Object> annotations)

Parameters:

annotations

withDescription

public MagentoObjectDataset withDescription(String description)

Set the description property: Dataset description.

Overrides:

MagentoObjectDataset.withDescription(String description)

Parameters:

description

withFolder

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

MagentoObjectDataset.withFolder(DatasetFolder folder)

Parameters:

folder

withLinkedServiceName

public MagentoObjectDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)

Set the linkedServiceName property: Linked service reference.

Overrides:

MagentoObjectDataset.withLinkedServiceName(LinkedServiceReference linkedServiceName)

Parameters:

linkedServiceName

withParameters

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

Set the parameters property: Parameters for dataset.

Overrides:

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

Parameters:

parameters

withSchema

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

MagentoObjectDataset.withSchema(Object schema)

Parameters:

schema

withStructure

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

MagentoObjectDataset.withStructure(Object structure)

Parameters:

structure

withTableName

public MagentoObjectDataset withTableName(Object tableName)

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

Parameters:

tableName - the tableName value to set.

Returns:

the MagentoObjectDataset object itself.

Applies to