@ThreadSafe public abstract class S3SelectLineRecordReader extends Object implements org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.io.compress.CompressionCodecFactory |
compressionCodecFactory |
protected String |
lineDelimiter |
| Modifier and Type | Method and Description |
|---|---|
abstract com.amazonaws.services.s3.model.SelectObjectContentRequest |
buildSelectObjectRequest(Properties schema,
String query,
org.apache.hadoop.fs.Path path) |
void |
close() |
org.apache.hadoop.io.LongWritable |
createKey() |
org.apache.hadoop.io.Text |
createValue() |
long |
getPos() |
float |
getProgress() |
boolean |
next(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text value) |
protected final org.apache.hadoop.io.compress.CompressionCodecFactory compressionCodecFactory
protected final String lineDelimiter
public abstract com.amazonaws.services.s3.model.SelectObjectContentRequest buildSelectObjectRequest(Properties schema, String query, org.apache.hadoop.fs.Path path)
public boolean next(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text value)
throws IOException
next in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>IOExceptionpublic org.apache.hadoop.io.LongWritable createKey()
createKey in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>public org.apache.hadoop.io.Text createValue()
createValue in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>public long getPos()
getPos in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>IOExceptionpublic float getProgress()
getProgress in interface org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text>Copyright © 2012–2019. All rights reserved.