public final class AvroDataset extends Dataset
| Constructor and Description |
|---|
AvroDataset() |
| Modifier and Type | Method and Description |
|---|---|
Object |
avroCompressionCodec()
Get the avroCompressionCodec property: The data avroCompressionCodec.
|
Integer |
avroCompressionLevel()
Get the avroCompressionLevel property: The avroCompressionLevel property.
|
DatasetLocation |
location()
Get the location property: The location of the avro storage.
|
void |
validate()
Validates the instance.
|
AvroDataset |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the Dataset.
|
AvroDataset |
withAvroCompressionCodec(Object avroCompressionCodec)
Set the avroCompressionCodec property: The data avroCompressionCodec.
|
AvroDataset |
withAvroCompressionLevel(Integer avroCompressionLevel)
Set the avroCompressionLevel property: The avroCompressionLevel property.
|
AvroDataset |
withDescription(String description)
Set the description property: Dataset description.
|
AvroDataset |
withFolder(DatasetFolder folder)
Set the folder property: The folder that this Dataset is in.
|
AvroDataset |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
AvroDataset |
withLocation(DatasetLocation location)
Set the location property: The location of the avro storage.
|
AvroDataset |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for dataset.
|
AvroDataset |
withSchema(Object schema)
Set the schema property: Columns that define the physical type schema of the dataset.
|
AvroDataset |
withStructure(Object structure)
Set the structure property: Columns that define the structure of the dataset.
|
additionalProperties, annotations, description, folder, linkedServiceName, parameters, schema, structure, withAdditionalPropertiespublic AvroDataset withDescription(String description)
withDescription in class Datasetdescription - the description value to set.public AvroDataset withStructure(Object structure)
withStructure in class Datasetstructure - the structure value to set.public AvroDataset withSchema(Object schema)
withSchema in class Datasetschema - the schema value to set.public AvroDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class DatasetlinkedServiceName - the linkedServiceName value to set.public AvroDataset withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class Datasetparameters - the parameters value to set.public AvroDataset withAnnotations(List<Object> annotations)
withAnnotations in class Datasetannotations - the annotations value to set.public AvroDataset withFolder(DatasetFolder folder)
withFolder in class Datasetfolder - the folder value to set.public DatasetLocation location()
public AvroDataset withLocation(DatasetLocation location)
location - the location value to set.public Object avroCompressionCodec()
public AvroDataset withAvroCompressionCodec(Object avroCompressionCodec)
avroCompressionCodec - the avroCompressionCodec value to set.public Integer avroCompressionLevel()
public AvroDataset withAvroCompressionLevel(Integer avroCompressionLevel)
avroCompressionLevel - the avroCompressionLevel value to set.public void validate()
validate in class DatasetIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.