Search in sources :

Example 1 with MeasureColumnChunkReader

use of org.apache.carbondata.core.datastore.chunk.reader.MeasureColumnChunkReader in project carbondata by apache.

the class BlockletDataRefNode method readMeasureChunks.

@Override
public MeasureRawColumnChunk[] readMeasureChunks(FileReader fileReader, int[][] columnIndexRange) throws IOException {
    MeasureColumnChunkReader measureColumnChunkReader = getMeasureColumnChunkReader(fileReader);
    MeasureRawColumnChunk[] measureRawColumnChunks = measureColumnChunkReader.readRawMeasureChunks(fileReader, columnIndexRange);
    updateMeasureRawColumnChunkMinMaxValues(measureRawColumnChunks);
    return measureRawColumnChunks;
}
Also used : MeasureColumnChunkReader(org.apache.carbondata.core.datastore.chunk.reader.MeasureColumnChunkReader) MeasureRawColumnChunk(org.apache.carbondata.core.datastore.chunk.impl.MeasureRawColumnChunk)

Example 2 with MeasureColumnChunkReader

use of org.apache.carbondata.core.datastore.chunk.reader.MeasureColumnChunkReader in project carbondata by apache.

the class BlockletDataRefNode method readMeasureChunk.

@Override
public MeasureRawColumnChunk readMeasureChunk(FileReader fileReader, int columnIndex) throws IOException {
    MeasureColumnChunkReader measureColumnChunkReader = getMeasureColumnChunkReader(fileReader);
    MeasureRawColumnChunk measureRawColumnChunk = measureColumnChunkReader.readRawMeasureChunk(fileReader, columnIndex);
    updateMeasureRawColumnChunkMinMaxValues(measureRawColumnChunk);
    return measureRawColumnChunk;
}
Also used : MeasureColumnChunkReader(org.apache.carbondata.core.datastore.chunk.reader.MeasureColumnChunkReader) MeasureRawColumnChunk(org.apache.carbondata.core.datastore.chunk.impl.MeasureRawColumnChunk)

Aggregations

MeasureRawColumnChunk (org.apache.carbondata.core.datastore.chunk.impl.MeasureRawColumnChunk)2 MeasureColumnChunkReader (org.apache.carbondata.core.datastore.chunk.reader.MeasureColumnChunkReader)2