Search in sources :

Example 1 with DataFileAvroResult

use of org.apache.gora.avro.query.DataFileAvroResult in project gora by apache.

the class DataFileAvroStore method executePartial.

@Override
protected Result<K, T> executePartial(FileSplitPartitionQuery<K, T> query) throws IOException {
    FsInput fsInput = createFsInput();
    DataFileReader<T> reader = createReader(fsInput);
    return new DataFileAvroResult<>(this, query, reader, fsInput, query.getStart(), query.getLength());
}
Also used : DataFileAvroResult(org.apache.gora.avro.query.DataFileAvroResult) FsInput(org.apache.avro.mapred.FsInput)

Aggregations

FsInput (org.apache.avro.mapred.FsInput)1 DataFileAvroResult (org.apache.gora.avro.query.DataFileAvroResult)1