FixedLengthRecordReader.Options

public static class FixedLengthRecordReader.Options

Optional attributes for FixedLengthRecordReader

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.