Class ObjectGroup
java.lang.Object
org.apache.parquet.example.data.GroupValueSource
org.apache.parquet.example.data.Group
org.gridgain.internal.sql.copy.parquet.ObjectGroup
public class ObjectGroup
extends org.apache.parquet.example.data.Group
Group implementation that stores data in a list of lists.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int fieldIndex, boolean value) voidadd(int fieldIndex, double value) voidadd(int fieldIndex, float value) voidadd(int fieldIndex, int value) voidadd(int fieldIndex, long value) voidvoidadd(int fieldIndex, org.apache.parquet.example.data.Group value) voidadd(int fieldIndex, org.apache.parquet.example.data.simple.NanoTime value) voidadd(int fieldIndex, org.apache.parquet.io.api.Binary value) org.apache.parquet.example.data.GroupaddGroup(int fieldIndex) org.apache.parquet.io.api.BinarygetBinary(int fieldIndex, int index) booleangetBoolean(int fieldIndex, int index) doublegetDouble(int fieldIndex, int index) intgetFieldRepetitionCount(int fieldIndex) floatgetFloat(int fieldIndex, int index) org.apache.parquet.example.data.GroupgetGroup(int fieldIndex, int index) org.apache.parquet.io.api.BinarygetInt96(int fieldIndex, int index) intgetInteger(int fieldIndex, int index) longgetLong(int fieldIndex, int index) getString(int fieldIndex, int index) org.apache.parquet.schema.GroupTypegetType()getValue(int fieldIndex, int index) Gets raw value without casting.getValueToString(int fieldIndex, int index) toString()voidwriteValue(int field, int index, org.apache.parquet.io.api.RecordConsumer recordConsumer) Methods inherited from class org.apache.parquet.example.data.Group
add, add, add, add, add, add, add, add, add, addGroup, append, append, append, append, append, append, append, append, asGroup, getGroupMethods inherited from class org.apache.parquet.example.data.GroupValueSource
getBinary, getBoolean, getDouble, getFieldRepetitionCount, getFloat, getInt96, getInteger, getLong, getString
-
Constructor Details
-
ObjectGroup
public ObjectGroup(org.apache.parquet.schema.GroupType schema) Constructor.
-
-
Method Details
-
toString
-
addGroup
public org.apache.parquet.example.data.Group addGroup(int fieldIndex) - Specified by:
addGroupin classorg.apache.parquet.example.data.Group
-
getGroup
public org.apache.parquet.example.data.Group getGroup(int fieldIndex, int index) - Specified by:
getGroupin classorg.apache.parquet.example.data.Group
-
getValue
Gets raw value without casting. The difference with other methods is that this method returns null if the value is not set. -
getFieldRepetitionCount
public int getFieldRepetitionCount(int fieldIndex) - Specified by:
getFieldRepetitionCountin classorg.apache.parquet.example.data.GroupValueSource
-
getValueToString
- Specified by:
getValueToStringin classorg.apache.parquet.example.data.GroupValueSource
-
getString
- Specified by:
getStringin classorg.apache.parquet.example.data.GroupValueSource
-
getInteger
public int getInteger(int fieldIndex, int index) - Specified by:
getIntegerin classorg.apache.parquet.example.data.GroupValueSource
-
getLong
public long getLong(int fieldIndex, int index) - Specified by:
getLongin classorg.apache.parquet.example.data.GroupValueSource
-
getDouble
public double getDouble(int fieldIndex, int index) - Specified by:
getDoublein classorg.apache.parquet.example.data.GroupValueSource
-
getFloat
public float getFloat(int fieldIndex, int index) - Specified by:
getFloatin classorg.apache.parquet.example.data.GroupValueSource
-
getBoolean
public boolean getBoolean(int fieldIndex, int index) - Specified by:
getBooleanin classorg.apache.parquet.example.data.GroupValueSource
-
getBinary
public org.apache.parquet.io.api.Binary getBinary(int fieldIndex, int index) - Specified by:
getBinaryin classorg.apache.parquet.example.data.GroupValueSource
-
getInt96
public org.apache.parquet.io.api.Binary getInt96(int fieldIndex, int index) - Specified by:
getInt96in classorg.apache.parquet.example.data.GroupValueSource
-
add
public void add(int fieldIndex, int value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, long value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
- Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, org.apache.parquet.example.data.simple.NanoTime value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, boolean value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, org.apache.parquet.io.api.Binary value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, float value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, double value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
add
public void add(int fieldIndex, org.apache.parquet.example.data.Group value) - Specified by:
addin classorg.apache.parquet.example.data.Group
-
getType
public org.apache.parquet.schema.GroupType getType()- Specified by:
getTypein classorg.apache.parquet.example.data.GroupValueSource
-
writeValue
public void writeValue(int field, int index, org.apache.parquet.io.api.RecordConsumer recordConsumer) - Specified by:
writeValuein classorg.apache.parquet.example.data.Group
-