Package org.apache.parquet.io
Class BaseRecordReader<T>
- java.lang.Object
-
- org.apache.parquet.io.RecordReader<T>
-
- org.apache.parquet.io.BaseRecordReader<T>
-
@Deprecated public abstract class BaseRecordReader<T> extends RecordReader<T>
Deprecated.Base record reader class.
-
-
Field Summary
Fields Modifier and Type Field Description ColumnReadStorecolumnStoreDeprecated.RecordConsumerrecordConsumerDeprecated.RecordMaterializer<T>recordMaterializerDeprecated.
-
Constructor Summary
Constructors Constructor Description BaseRecordReader()Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddPrimitiveBINARY(String field, int index, Binary value)Deprecated.protected voidaddPrimitiveINT32(String field, int index, int value)Deprecated.protected voidaddPrimitiveINT64(String field, int index, long value)Deprecated.protected voidcurrentLevel(int currentLevel)Deprecated.protected voidendGroup(String field, int index)Deprecated.protected voidendMessage()Deprecated.protected voiderror(String message)Deprecated.protected intgetCaseId(int state, int currentLevel, int d, int nextR)Deprecated.protected voidlog(String message)Deprecated.Tread()Deprecated.Reads one record and returns it.protected abstract voidreadOneRecord()Deprecated.protected voidstartGroup(String field, int index)Deprecated.protected voidstartMessage()Deprecated.-
Methods inherited from class org.apache.parquet.io.RecordReader
shouldSkipCurrentRecord
-
-
-
-
Field Detail
-
recordConsumer
public RecordConsumer recordConsumer
Deprecated.
-
recordMaterializer
public RecordMaterializer<T> recordMaterializer
Deprecated.
-
columnStore
public ColumnReadStore columnStore
Deprecated.
-
-
Method Detail
-
read
public T read()
Deprecated.Description copied from class:RecordReaderReads one record and returns it.- Specified by:
readin classRecordReader<T>- Returns:
- the materialized record
-
readOneRecord
protected abstract void readOneRecord()
Deprecated.
-
currentLevel
protected void currentLevel(int currentLevel)
Deprecated.
-
log
protected void log(String message)
Deprecated.
-
getCaseId
protected final int getCaseId(int state, int currentLevel, int d, int nextR)Deprecated.
-
startMessage
protected final void startMessage()
Deprecated.
-
startGroup
protected final void startGroup(String field, int index)
Deprecated.
-
addPrimitiveINT64
protected final void addPrimitiveINT64(String field, int index, long value)
Deprecated.
-
addPrimitiveBINARY
protected final void addPrimitiveBINARY(String field, int index, Binary value)
Deprecated.
-
addPrimitiveINT32
protected final void addPrimitiveINT32(String field, int index, int value)
Deprecated.
-
endGroup
protected final void endGroup(String field, int index)
Deprecated.
-
endMessage
protected final void endMessage()
Deprecated.
-
error
protected void error(String message)
Deprecated.
-
-