public static class FixedLengthRecordReader.Options extends Object
FixedLengthRecordReader
Modifier and Type | Method and Description |
---|---|
FixedLengthRecordReader.Options |
container(String container) |
FixedLengthRecordReader.Options |
encoding(String encoding) |
FixedLengthRecordReader.Options |
footerBytes(Long footerBytes) |
FixedLengthRecordReader.Options |
headerBytes(Long headerBytes) |
FixedLengthRecordReader.Options |
hopBytes(Long hopBytes) |
FixedLengthRecordReader.Options |
sharedName(String sharedName) |
public FixedLengthRecordReader.Options headerBytes(Long headerBytes)
headerBytes
- Number of bytes in the header, defaults to 0.public FixedLengthRecordReader.Options footerBytes(Long footerBytes)
footerBytes
- Number of bytes in the footer, defaults to 0.public FixedLengthRecordReader.Options hopBytes(Long hopBytes)
hopBytes
- Number of bytes to hop before each read. Default of 0 means using
record_bytes.public FixedLengthRecordReader.Options container(String container)
container
- If non-empty, this reader is placed in the given container.
Otherwise, a default container is used.public FixedLengthRecordReader.Options sharedName(String sharedName)
sharedName
- If non-empty, this reader is named in the given bucket
with this shared_name. Otherwise, the node name is used instead.public FixedLengthRecordReader.Options encoding(String encoding)
encoding
- The type of encoding for the file. Currently ZLIB and GZIP
are supported. Defaults to none.Copyright © 2022. All rights reserved.