public final class ExcelDatasetTypeProperties extends Object
| Constructor and Description |
|---|
ExcelDatasetTypeProperties() |
| 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.
|
ExcelDatasetTypeProperties |
withCompression(DatasetCompression compression)
Set the compression property: The data compression method used for the json dataset.
|
ExcelDatasetTypeProperties |
withFirstRowAsHeader(Object firstRowAsHeader)
Set the firstRowAsHeader property: When used as input, treat the first row of data as headers.
|
ExcelDatasetTypeProperties |
withLocation(DatasetLocation location)
Set the location property: The location of the excel storage.
|
ExcelDatasetTypeProperties |
withNullValue(Object nullValue)
Set the nullValue property: The null value string.
|
ExcelDatasetTypeProperties |
withRange(Object range)
Set the range property: The partial data of one sheet.
|
ExcelDatasetTypeProperties |
withSheetIndex(Object sheetIndex)
Set the sheetIndex property: The sheet index of excel file and default value is 0.
|
ExcelDatasetTypeProperties |
withSheetName(Object sheetName)
Set the sheetName property: The sheet name of excel file.
|
public DatasetLocation location()
public ExcelDatasetTypeProperties withLocation(DatasetLocation location)
location - the location value to set.public Object sheetName()
public ExcelDatasetTypeProperties withSheetName(Object sheetName)
sheetName - the sheetName value to set.public Object sheetIndex()
public ExcelDatasetTypeProperties withSheetIndex(Object sheetIndex)
sheetIndex - the sheetIndex value to set.public Object range()
public ExcelDatasetTypeProperties withRange(Object range)
range - the range value to set.public Object firstRowAsHeader()
public ExcelDatasetTypeProperties withFirstRowAsHeader(Object firstRowAsHeader)
firstRowAsHeader - the firstRowAsHeader value to set.public DatasetCompression compression()
public ExcelDatasetTypeProperties withCompression(DatasetCompression compression)
compression - the compression value to set.public Object nullValue()
public ExcelDatasetTypeProperties withNullValue(Object nullValue)
nullValue - the nullValue value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.