public final class TextFormat extends DatasetStorageFormat
| Constructor and Description |
|---|
TextFormat() |
| Modifier and Type | Method and Description |
|---|---|
Object |
columnDelimiter()
Get the columnDelimiter property: The column delimiter.
|
Object |
encodingName()
Get the encodingName property: The code page name of the preferred encoding.
|
Object |
escapeChar()
Get the escapeChar property: The escape character.
|
Object |
firstRowAsHeader()
Get the firstRowAsHeader property: When used as input, treat the first row of data as headers.
|
Object |
nullValue()
Get the nullValue property: The null value string.
|
Object |
quoteChar()
Get the quoteChar property: The quote character.
|
Object |
rowDelimiter()
Get the rowDelimiter property: The row delimiter.
|
Object |
skipLineCount()
Get the skipLineCount property: The number of lines/rows to be skipped when parsing text files.
|
Object |
treatEmptyAsNull()
Get the treatEmptyAsNull property: Treat empty column values in the text file as null.
|
void |
validate()
Validates the instance.
|
TextFormat |
withColumnDelimiter(Object columnDelimiter)
Set the columnDelimiter property: The column delimiter.
|
TextFormat |
withDeserializer(Object deserializer)
Set the deserializer property: Deserializer.
|
TextFormat |
withEncodingName(Object encodingName)
Set the encodingName property: The code page name of the preferred encoding.
|
TextFormat |
withEscapeChar(Object escapeChar)
Set the escapeChar property: The escape character.
|
TextFormat |
withFirstRowAsHeader(Object firstRowAsHeader)
Set the firstRowAsHeader property: When used as input, treat the first row of data as headers.
|
TextFormat |
withNullValue(Object nullValue)
Set the nullValue property: The null value string.
|
TextFormat |
withQuoteChar(Object quoteChar)
Set the quoteChar property: The quote character.
|
TextFormat |
withRowDelimiter(Object rowDelimiter)
Set the rowDelimiter property: The row delimiter.
|
TextFormat |
withSerializer(Object serializer)
Set the serializer property: Serializer.
|
TextFormat |
withSkipLineCount(Object skipLineCount)
Set the skipLineCount property: The number of lines/rows to be skipped when parsing text files.
|
TextFormat |
withTreatEmptyAsNull(Object treatEmptyAsNull)
Set the treatEmptyAsNull property: Treat empty column values in the text file as null.
|
additionalProperties, deserializer, serializer, withAdditionalPropertiespublic Object columnDelimiter()
public TextFormat withColumnDelimiter(Object columnDelimiter)
columnDelimiter - the columnDelimiter value to set.public Object rowDelimiter()
public TextFormat withRowDelimiter(Object rowDelimiter)
rowDelimiter - the rowDelimiter value to set.public Object escapeChar()
public TextFormat withEscapeChar(Object escapeChar)
escapeChar - the escapeChar value to set.public Object quoteChar()
public TextFormat withQuoteChar(Object quoteChar)
quoteChar - the quoteChar value to set.public Object nullValue()
public TextFormat withNullValue(Object nullValue)
nullValue - the nullValue value to set.public Object encodingName()
public TextFormat withEncodingName(Object encodingName)
encodingName - the encodingName value to set.public Object treatEmptyAsNull()
public TextFormat withTreatEmptyAsNull(Object treatEmptyAsNull)
treatEmptyAsNull - the treatEmptyAsNull value to set.public Object skipLineCount()
public TextFormat withSkipLineCount(Object skipLineCount)
skipLineCount - the skipLineCount value to set.public Object firstRowAsHeader()
public TextFormat withFirstRowAsHeader(Object firstRowAsHeader)
firstRowAsHeader - the firstRowAsHeader value to set.public TextFormat withSerializer(Object serializer)
withSerializer in class DatasetStorageFormatserializer - the serializer value to set.public TextFormat withDeserializer(Object deserializer)
withDeserializer in class DatasetStorageFormatdeserializer - the deserializer value to set.public void validate()
validate in class DatasetStorageFormatIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.