protected static class PhysicalFsWriter.VariantTracker extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected OrcProto.ColumnStatistics[] | fileStats | 
| protected StreamOptions | options | 
| protected Map<StreamName,org.apache.orc.impl.PhysicalFsWriter.BufferedStream> | streams | 
| protected List<OrcProto.ColumnStatistics>[] | stripeStats | 
| protected List<OrcProto.Stream> | stripeStatsStreams | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.orc.impl.PhysicalFsWriter.BufferedStream | createStream(StreamName name) | 
| long | getFileBytes(int column)Computed the size of the given column on disk for this stripe. | 
| List<OrcProto.Stream> | placeStreams(StreamName.Area area,
            org.apache.orc.impl.PhysicalFsWriter.SizeCounters sizes)Place the streams in the appropriate area while updating the sizes
 with the number of bytes in the area. | 
| void | writeStreams(StreamName.Area area,
            FSDataOutputStream raw)Write the streams in the appropriate area. | 
protected final Map<StreamName,org.apache.orc.impl.PhysicalFsWriter.BufferedStream> streams
protected final StreamOptions options
protected final List<OrcProto.ColumnStatistics>[] stripeStats
protected final List<OrcProto.Stream> stripeStatsStreams
protected final OrcProto.ColumnStatistics[] fileStats
public org.apache.orc.impl.PhysicalFsWriter.BufferedStream createStream(StreamName name)
public List<OrcProto.Stream> placeStreams(StreamName.Area area, org.apache.orc.impl.PhysicalFsWriter.SizeCounters sizes)
area - the area to writesizes - the sizes of the areaspublic void writeStreams(StreamName.Area area, FSDataOutputStream raw) throws IOException
area - the area to writeraw - the raw stream to write toIOExceptionpublic long getFileBytes(int column)
column - a column idCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.