private class OrcFlowFileWriter.StreamFactory extends Object
| Modifier | Constructor and Description |
|---|---|
private |
StreamFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
buildIndex()
Should be building the row index.
|
org.apache.hadoop.hive.ql.io.orc.OutStream |
createStream(int column,
org.apache.hadoop.hive.ql.io.orc.OrcProto.Stream.Kind kind)
Create a stream to store part of a column.
|
boolean[] |
getBloomFilterColumns()
Get the bloom filter columns
|
double |
getBloomFilterFPP()
Get bloom filter false positive percentage.
|
org.apache.hadoop.hive.ql.io.orc.OrcFile.CompressionStrategy |
getCompressionStrategy()
Get the compression strategy to use.
|
org.apache.hadoop.conf.Configuration |
getConfiguration()
Get the writer's configuration.
|
int |
getCurrentColumnId()
Get the current column id.
|
org.apache.hadoop.hive.ql.io.orc.OrcFile.EncodingStrategy |
getEncodingStrategy()
Get the encoding strategy to use.
|
int |
getNextColumnId()
Get the next column id.
|
int |
getRowIndexStride()
Get the stride rate of the row index.
|
org.apache.hadoop.hive.ql.io.orc.OrcFile.Version |
getVersion()
Get the version of the file to write.
|
boolean |
isCompressed()
Is the ORC file compressed?
|
public org.apache.hadoop.hive.ql.io.orc.OutStream createStream(int column,
org.apache.hadoop.hive.ql.io.orc.OrcProto.Stream.Kind kind)
throws IOException
column - the column id for the streamkind - the kind of streamIOException - if an error occurs while creating the streampublic int getNextColumnId()
public int getCurrentColumnId()
public int getRowIndexStride()
public boolean buildIndex()
public boolean isCompressed()
public org.apache.hadoop.hive.ql.io.orc.OrcFile.EncodingStrategy getEncodingStrategy()
public org.apache.hadoop.hive.ql.io.orc.OrcFile.CompressionStrategy getCompressionStrategy()
public boolean[] getBloomFilterColumns()
public double getBloomFilterFPP()
public org.apache.hadoop.conf.Configuration getConfiguration()
public org.apache.hadoop.hive.ql.io.orc.OrcFile.Version getVersion()
Copyright © 2023 Apache NiFi Project. All rights reserved.