public static class DelimitedFileTypeMetadata.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DelimitedFileTypeMetadata |
build() |
DelimitedFileTypeMetadata.Builder |
columnDelimiter(String columnDelimiter)
A column delimiter
|
DelimitedFileTypeMetadata.Builder |
columnIndex(Integer columnIndex)
The index of a selected column.
|
DelimitedFileTypeMetadata.Builder |
columnName(String columnName)
The name of a selected column.
|
DelimitedFileTypeMetadata.Builder |
copy(DelimitedFileTypeMetadata model) |
DelimitedFileTypeMetadata.Builder |
escapeCharacter(String escapeCharacter)
An escape character.
|
DelimitedFileTypeMetadata.Builder |
lineDelimiter(String lineDelimiter)
A line delimiter.
|
public DelimitedFileTypeMetadata.Builder columnName(String columnName)
The name of a selected column.
columnName
- the value to setpublic DelimitedFileTypeMetadata.Builder columnIndex(Integer columnIndex)
The index of a selected column. This is a zero-based index.
columnIndex
- the value to setpublic DelimitedFileTypeMetadata.Builder columnDelimiter(String columnDelimiter)
A column delimiter
columnDelimiter
- the value to setpublic DelimitedFileTypeMetadata.Builder lineDelimiter(String lineDelimiter)
A line delimiter.
lineDelimiter
- the value to setpublic DelimitedFileTypeMetadata.Builder escapeCharacter(String escapeCharacter)
An escape character.
escapeCharacter
- the value to setpublic DelimitedFileTypeMetadata build()
public DelimitedFileTypeMetadata.Builder copy(DelimitedFileTypeMetadata model)
Copyright © 2016–2024. All rights reserved.