Search in sources :

Example 1 with RunLengthBitPackingHybridValuesReader

use of org.apache.parquet.column.values.rle.RunLengthBitPackingHybridValuesReader in project parquet-mr by apache.

the class BenchmarkReadingRandomIntegers method readingRLE.

@BenchmarkOptions(benchmarkRounds = 20, warmupRounds = 10)
@Test
public void readingRLE() throws IOException {
    for (int j = 0; j < 10; j++) {
        ValuesReader reader = new RunLengthBitPackingHybridValuesReader(32);
        readData(reader, rleBytes);
    }
}
Also used : DeltaBinaryPackingValuesReader(org.apache.parquet.column.values.delta.DeltaBinaryPackingValuesReader) RunLengthBitPackingHybridValuesReader(org.apache.parquet.column.values.rle.RunLengthBitPackingHybridValuesReader) ValuesReader(org.apache.parquet.column.values.ValuesReader) RunLengthBitPackingHybridValuesReader(org.apache.parquet.column.values.rle.RunLengthBitPackingHybridValuesReader) Test(org.junit.Test) BenchmarkOptions(com.carrotsearch.junitbenchmarks.BenchmarkOptions)

Aggregations

BenchmarkOptions (com.carrotsearch.junitbenchmarks.BenchmarkOptions)1 ValuesReader (org.apache.parquet.column.values.ValuesReader)1 DeltaBinaryPackingValuesReader (org.apache.parquet.column.values.delta.DeltaBinaryPackingValuesReader)1 RunLengthBitPackingHybridValuesReader (org.apache.parquet.column.values.rle.RunLengthBitPackingHybridValuesReader)1 Test (org.junit.Test)1