T - type of the Druid query.public class DruidVectorizedWrapper<T extends Comparable<T>> extends Object implements org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>
| Constructor and Description |
|---|
DruidVectorizedWrapper(DruidQueryRecordReader reader,
org.apache.hadoop.conf.Configuration jobConf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hadoop.io.NullWritable |
createKey() |
VectorizedRowBatch |
createValue() |
long |
getPos() |
float |
getProgress() |
boolean |
next(org.apache.hadoop.io.NullWritable nullWritable,
VectorizedRowBatch vectorizedRowBatch) |
public DruidVectorizedWrapper(DruidQueryRecordReader reader, org.apache.hadoop.conf.Configuration jobConf)
public boolean next(org.apache.hadoop.io.NullWritable nullWritable,
VectorizedRowBatch vectorizedRowBatch)
throws IOException
next in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>IOExceptionpublic org.apache.hadoop.io.NullWritable createKey()
createKey in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>public VectorizedRowBatch createValue()
createValue in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>public long getPos()
throws IOException
getPos in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>IOExceptionpublic float getProgress()
throws IOException
getProgress in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,VectorizedRowBatch>IOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.