FixedLengthRecordReader.Options

public static class FixedLengthRecordReader.Options

Optional attributes for FixedLengthRecordReader

Public Methods

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)

Inherited Methods

Public Methods

public FixedLengthRecordReader.Options container (String container)

Parameters
container If non-empty, this reader is placed in the given container. Otherwise, a default container is used.

public FixedLengthRecordReader.Options encoding (String encoding)

Parameters
encoding The type of encoding for the file. Currently ZLIB and GZIP are supported. Defaults to none.

public FixedLengthRecordReader.Options footerBytes (Long footerBytes)

Parameters
footerBytes Number of bytes in the footer, defaults to 0.

public FixedLengthRecordReader.Options headerBytes (Long headerBytes)

Parameters
headerBytes Number of bytes in the header, defaults to 0.

public FixedLengthRecordReader.Options hopBytes (Long hopBytes)

Parameters
hopBytes Number of bytes to hop before each read. Default of 0 means using record_bytes.

public FixedLengthRecordReader.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.