Package | Description |
---|---|
org.apache.hadoop.hive.ql.io.orc |
The Optimized Row Columnar (ORC) File Format.
|
Modifier and Type | Method and Description |
---|---|
protected OrcFile.WriterOptions |
OrcFile.WriterOptions.batchSize(int maxSize) |
OrcFile.WriterOptions |
OrcFile.WriterOptions.blockPadding(boolean value)
Sets whether the HDFS blocks are padded to prevent stripes from
straddling blocks.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.blockSize(long value)
Set the file system block size for the file.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.bloomFilterColumns(String columns)
Comma separated values of column names for which bloom filter is to be created.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.bloomFilterFpp(double fpp)
Specify the false positive probability for bloom filter.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.bufferSize(int value)
The size of the memory buffers used for compressing and storing the
stripe in memory.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.callback(org.apache.orc.OrcFile.WriterCallback callback)
Add a listener for when the stripe and file are about to be closed.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.compress(CompressionKind value)
Sets the generic compression that is used to compress the data.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.compress(org.apache.orc.CompressionKind value)
Sets the generic compression that is used to compress the data.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.encodingStrategy(org.apache.orc.OrcFile.EncodingStrategy strategy)
Sets the encoding strategy that is used to encode the data.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.fileSystem(org.apache.hadoop.fs.FileSystem value)
Provide the filesystem for the path, if the client has it available.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.inspector(ObjectInspector value)
A required option that sets the object inspector for the rows.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.memory(org.apache.orc.MemoryManager value)
A package local option to set the memory manager.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.paddingTolerance(double value)
Sets the tolerance for block padding as a percentage of stripe size.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.physicalWriter(org.apache.orc.PhysicalWriter writer) |
OrcFile.WriterOptions |
OrcFile.WriterOptions.rowIndexStride(int value)
Set the distance between entries in the row index.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.setSchema(org.apache.orc.TypeDescription schema)
Set the schema for the file.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.stripeSize(long value)
Set the stripe size for the file.
|
OrcFile.WriterOptions |
OrcFile.WriterOptions.useUTCTimestamp(boolean value) |
OrcFile.WriterOptions |
OrcFile.WriterOptions.version(org.apache.orc.OrcFile.Version value)
Sets the version of the file that will be written.
|
static OrcFile.WriterOptions |
OrcFile.writerOptions(org.apache.hadoop.conf.Configuration conf)
Create a set of writer options based on a configuration.
|
static OrcFile.WriterOptions |
OrcFile.writerOptions(Properties tableProperties,
org.apache.hadoop.conf.Configuration conf)
Create a set of write options based on a set of table properties and
configuration.
|
Modifier and Type | Method and Description |
---|---|
static Writer |
OrcFile.createWriter(org.apache.hadoop.fs.Path path,
OrcFile.WriterOptions opts)
Create an ORC file writer.
|
Copyright © 2019 The Apache Software Foundation. All rights reserved.