public class ColumnWriteStoreV1 extends Object implements ColumnWriteStore
| Constructor and Description |
|---|
ColumnWriteStoreV1(PageWriteStore pageWriteStore,
int pageSizeThreshold,
int dictionaryPageSizeThreshold,
boolean enableDictionary,
ParquetProperties.WriterVersion writerVersion) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRecord()
called to notify of record boundaries
|
void |
flush()
when we are done writing to flush to the underlying storage
|
long |
getAllocatedSize()
used for information
|
long |
getBufferedSize()
used to flush row groups to disk
|
Set<ColumnDescriptor> |
getColumnDescriptors() |
ColumnWriter |
getColumnWriter(ColumnDescriptor path) |
long |
maxColMemSize() |
String |
memUsageString()
used for debugging pupose
|
String |
toString() |
public ColumnWriteStoreV1(PageWriteStore pageWriteStore, int pageSizeThreshold, int dictionaryPageSizeThreshold, boolean enableDictionary, ParquetProperties.WriterVersion writerVersion)
public ColumnWriter getColumnWriter(ColumnDescriptor path)
getColumnWriter in interface ColumnWriteStorepath - the column for which to create a writerpublic Set<ColumnDescriptor> getColumnDescriptors()
public long getAllocatedSize()
ColumnWriteStoregetAllocatedSize in interface ColumnWriteStorepublic long getBufferedSize()
ColumnWriteStoregetBufferedSize in interface ColumnWriteStorepublic String memUsageString()
ColumnWriteStorememUsageString in interface ColumnWriteStorepublic long maxColMemSize()
public void flush()
ColumnWriteStoreflush in interface ColumnWriteStorepublic void endRecord()
ColumnWriteStoreendRecord in interface ColumnWriteStoreCopyright © 2015 The Apache Software Foundation. All rights reserved.