public final class ExcelDataset extends Dataset
| Constructor and Description |
|---|
ExcelDataset() |
| Modifier and Type | Method and Description |
|---|---|
DatasetCompression |
compression()
Get the compression property: The data compression method used for the json dataset.
|
Object |
firstRowAsHeader()
Get the firstRowAsHeader property: When used as input, treat the first row of data as headers.
|
DatasetLocation |
location()
Get the location property: The location of the excel storage.
|
Object |
nullValue()
Get the nullValue property: The null value string.
|
Object |
range()
Get the range property: The partial data of one sheet.
|
Object |
sheetIndex()
Get the sheetIndex property: The sheet index of excel file and default value is 0.
|
Object |
sheetName()
Get the sheetName property: The sheet name of excel file.
|
void |
validate()
Validates the instance.
|
ExcelDataset |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the Dataset.
|
ExcelDataset |
withCompression(DatasetCompression compression)
Set the compression property: The data compression method used for the json dataset.
|
ExcelDataset |
withDescription(String description)
Set the description property: Dataset description.
|
ExcelDataset |
withFirstRowAsHeader(Object firstRowAsHeader)
Set the firstRowAsHeader property: When used as input, treat the first row of data as headers.
|
ExcelDataset |
withFolder(DatasetFolder folder)
Set the folder property: The folder that this Dataset is in.
|
ExcelDataset |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
ExcelDataset |
withLocation(DatasetLocation location)
Set the location property: The location of the excel storage.
|
ExcelDataset |
withNullValue(Object nullValue)
Set the nullValue property: The null value string.
|
ExcelDataset |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for dataset.
|
ExcelDataset |
withRange(Object range)
Set the range property: The partial data of one sheet.
|
ExcelDataset |
withSchema(Object schema)
Set the schema property: Columns that define the physical type schema of the dataset.
|
ExcelDataset |
withSheetIndex(Object sheetIndex)
Set the sheetIndex property: The sheet index of excel file and default value is 0.
|
ExcelDataset |
withSheetName(Object sheetName)
Set the sheetName property: The sheet name of excel file.
|
ExcelDataset |
withStructure(Object structure)
Set the structure property: Columns that define the structure of the dataset.
|
additionalProperties, annotations, description, folder, linkedServiceName, parameters, schema, structure, withAdditionalPropertiespublic ExcelDataset withDescription(String description)
withDescription in class Datasetdescription - the description value to set.public ExcelDataset withStructure(Object structure)
withStructure in class Datasetstructure - the structure value to set.public ExcelDataset withSchema(Object schema)
withSchema in class Datasetschema - the schema value to set.public ExcelDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class DatasetlinkedServiceName - the linkedServiceName value to set.public ExcelDataset withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class Datasetparameters - the parameters value to set.public ExcelDataset withAnnotations(List<Object> annotations)
withAnnotations in class Datasetannotations - the annotations value to set.public ExcelDataset withFolder(DatasetFolder folder)
withFolder in class Datasetfolder - the folder value to set.public DatasetLocation location()
public ExcelDataset withLocation(DatasetLocation location)
location - the location value to set.public Object sheetName()
public ExcelDataset withSheetName(Object sheetName)
sheetName - the sheetName value to set.public Object sheetIndex()
public ExcelDataset withSheetIndex(Object sheetIndex)
sheetIndex - the sheetIndex value to set.public Object range()
public ExcelDataset withRange(Object range)
range - the range value to set.public Object firstRowAsHeader()
public ExcelDataset withFirstRowAsHeader(Object firstRowAsHeader)
firstRowAsHeader - the firstRowAsHeader value to set.public DatasetCompression compression()
public ExcelDataset withCompression(DatasetCompression compression)
compression - the compression value to set.public Object nullValue()
public ExcelDataset withNullValue(Object nullValue)
nullValue - the nullValue value to set.public void validate()
validate in class DatasetIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.