public static class OrcFile.WriterOptions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
OrcFile.WriterOptions |
blockPadding(boolean value)
Sets whether the HDFS blocks are padded to prevent stripes from
straddling blocks.
|
OrcFile.WriterOptions |
bufferSize(int value)
The size of the memory buffers used for compressing and storing the
stripe in memory.
|
OrcFile.WriterOptions |
compress(CompressionKind value)
Sets the generic compression that is used to compress the data.
|
OrcFile.WriterOptions |
fileSystem(FileSystem value)
Provide the filesystem for the path, if the client has it available.
|
OrcFile.WriterOptions |
inspector(ObjectInspector value)
A required option that sets the object inspector for the rows.
|
OrcFile.WriterOptions |
rowIndexStride(int value)
Set the distance between entries in the row index.
|
OrcFile.WriterOptions |
stripeSize(long value)
Set the stripe size for the file.
|
OrcFile.WriterOptions |
version(OrcFile.Version value)
Sets the version of the file that will be written.
|
public OrcFile.WriterOptions fileSystem(FileSystem value)
public OrcFile.WriterOptions stripeSize(long value)
public OrcFile.WriterOptions rowIndexStride(int value)
public OrcFile.WriterOptions bufferSize(int value)
public OrcFile.WriterOptions blockPadding(boolean value)
public OrcFile.WriterOptions compress(CompressionKind value)
public OrcFile.WriterOptions inspector(ObjectInspector value)
public OrcFile.WriterOptions version(OrcFile.Version value)
Copyright © 2012 The Apache Software Foundation