public abstract class BasePageIterator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
BasePageIterator.IntIterator |
Modifier and Type | Field and Description |
---|---|
protected int |
currentDL |
protected int |
currentRL |
protected BasePageIterator.IntIterator |
definitionLevels |
protected org.apache.parquet.column.ColumnDescriptor |
desc |
protected org.apache.parquet.column.Dictionary |
dictionary |
protected boolean |
hasNext |
protected org.apache.parquet.column.page.DataPage |
page |
protected BasePageIterator.IntIterator |
repetitionLevels |
protected int |
triplesCount |
protected int |
triplesRead |
protected org.apache.parquet.column.Encoding |
valueEncoding |
protected org.apache.parquet.column.values.ValuesReader |
values |
protected java.lang.String |
writerVersion |
Modifier | Constructor and Description |
---|---|
protected |
BasePageIterator(org.apache.parquet.column.ColumnDescriptor descriptor,
java.lang.String writerVersion) |
Modifier and Type | Method and Description |
---|---|
int |
currentPageCount() |
boolean |
hasNext() |
protected abstract void |
initDataReader(org.apache.parquet.column.Encoding dataEncoding,
org.apache.parquet.bytes.ByteBufferInputStream in,
int valueCount) |
protected abstract void |
initDefinitionLevelsReader(org.apache.parquet.column.page.DataPageV1 dataPageV1,
org.apache.parquet.column.ColumnDescriptor descriptor,
org.apache.parquet.bytes.ByteBufferInputStream in,
int count) |
protected abstract void |
initDefinitionLevelsReader(org.apache.parquet.column.page.DataPageV2 dataPageV2,
org.apache.parquet.column.ColumnDescriptor descriptor) |
protected void |
initFromPage(org.apache.parquet.column.page.DataPageV1 initPage) |
protected void |
initFromPage(org.apache.parquet.column.page.DataPageV2 initPage) |
protected void |
reset() |
void |
setDictionary(org.apache.parquet.column.Dictionary dict) |
void |
setPage(org.apache.parquet.column.page.DataPage page) |
protected final org.apache.parquet.column.ColumnDescriptor desc
protected final java.lang.String writerVersion
protected boolean hasNext
protected int triplesRead
protected int currentDL
protected int currentRL
protected org.apache.parquet.column.Dictionary dictionary
protected org.apache.parquet.column.page.DataPage page
protected int triplesCount
protected org.apache.parquet.column.Encoding valueEncoding
protected BasePageIterator.IntIterator definitionLevels
protected BasePageIterator.IntIterator repetitionLevels
protected org.apache.parquet.column.values.ValuesReader values
protected BasePageIterator(org.apache.parquet.column.ColumnDescriptor descriptor, java.lang.String writerVersion)
protected void reset()
protected abstract void initDataReader(org.apache.parquet.column.Encoding dataEncoding, org.apache.parquet.bytes.ByteBufferInputStream in, int valueCount)
protected abstract void initDefinitionLevelsReader(org.apache.parquet.column.page.DataPageV1 dataPageV1, org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.bytes.ByteBufferInputStream in, int count) throws java.io.IOException
java.io.IOException
protected abstract void initDefinitionLevelsReader(org.apache.parquet.column.page.DataPageV2 dataPageV2, org.apache.parquet.column.ColumnDescriptor descriptor) throws java.io.IOException
java.io.IOException
public int currentPageCount()
public boolean hasNext()
public void setPage(org.apache.parquet.column.page.DataPage page)
protected void initFromPage(org.apache.parquet.column.page.DataPageV1 initPage)
protected void initFromPage(org.apache.parquet.column.page.DataPageV2 initPage)
public void setDictionary(org.apache.parquet.column.Dictionary dict)