Package | Description |
---|---|
org.apache.orc | |
org.apache.orc.impl | |
org.apache.orc.impl.writer |
Modifier and Type | Method and Description |
---|---|
CompressionCodec |
DataReader.getCompressionCodec()
Returns the compression codec used by this datareader.
|
CompressionCodec |
PhysicalWriter.getCompressionCodec()
Gets a compression codec used by this writer.
|
CompressionCodec |
CompressionCodec.modify(EnumSet<CompressionCodec.Modifier> modifiers)
Produce a modified compression codec if the underlying algorithm allows
modification.
|
Modifier and Type | Method and Description |
---|---|
void |
PhysicalWriter.writeBloomFilter(StreamName name,
OrcProto.BloomFilterIndex.Builder bloom,
CompressionCodec codec)
Write a bloom filter index in the given stream name.
|
void |
PhysicalWriter.writeIndex(StreamName name,
OrcProto.RowIndex.Builder index,
CompressionCodec codec)
Write an index in the given stream name.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DirectDecompressionCodec |
Modifier and Type | Class and Description |
---|---|
class |
AircompressorCodec |
class |
SnappyCodec |
class |
ZlibCodec |
Modifier and Type | Method and Description |
---|---|
static CompressionCodec |
WriterImpl.createCodec(CompressionKind kind) |
static CompressionCodec |
OrcCodecPool.getCodec(CompressionKind kind) |
CompressionCodec |
PhysicalFsWriter.getCompressionCodec() |
CompressionCodec |
WriterImpl.getCompressionCodec() |
CompressionCodec |
RecordReaderImpl.getCompressionCodec() |
CompressionCodec |
ZlibCodec.modify(EnumSet<CompressionCodec.Modifier> modifiers) |
CompressionCodec |
AircompressorCodec.modify(EnumSet<CompressionCodec.Modifier> modifiers) |
Modifier and Type | Method and Description |
---|---|
static InStream |
InStream.create(String streamName,
ByteBuffer[] buffers,
long[] offsets,
long length,
CompressionCodec codec,
int bufferSize)
Deprecated.
|
static InStream |
InStream.create(String name,
List<DiskRange> input,
long length,
CompressionCodec codec,
int bufferSize)
Create an input stream from a list of disk ranges with data.
|
static com.google.protobuf.CodedInputStream |
InStream.createCodedInputStream(String name,
List<DiskRange> input,
long length,
CompressionCodec codec,
int bufferSize)
Creates coded input stream (used for protobuf message parsing) with higher message size limit.
|
static OrcProto.Metadata |
ReaderImpl.extractMetadata(ByteBuffer bb,
int metadataAbsPos,
int metadataSize,
CompressionCodec codec,
int bufferSize) |
static void |
OrcCodecPool.returnCodec(CompressionKind kind,
CompressionCodec codec)
Returns the codec to the pool or closes it, suppressing exceptions.
|
void |
PhysicalFsWriter.writeBloomFilter(StreamName name,
OrcProto.BloomFilterIndex.Builder bloom,
CompressionCodec codec) |
void |
PhysicalFsWriter.writeIndex(StreamName name,
OrcProto.RowIndex.Builder index,
CompressionCodec codec) |
Constructor and Description |
---|
OutStream(String name,
int bufferSize,
CompressionCodec codec,
PhysicalWriter.OutputReceiver receiver) |
Modifier and Type | Method and Description |
---|---|
CompressionCodec |
WriterImplV2.getCompressionCodec() |
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.