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 | Class and Description |
|---|---|
static class |
S3SelectLineRecordReader.UnrecoverableS3OperationException
This exception is for stopping retries for S3 Select calls that shouldn't be retried.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.io.compress.CompressionCodecFactory |
compressionCodecFactory |
| Modifier and Type | Method and Description |
|---|---|
protected abstract com.amazonaws.services.s3.model.InputSerialization |
buildInputSerialization() |
protected abstract com.amazonaws.services.s3.model.OutputSerialization |
buildOutputSerialization() |
com.amazonaws.services.s3.model.SelectObjectContentRequest |
buildSelectObjectRequest(String query,
Path path) |
void |
close() |
org.apache.hadoop.io.LongWritable |
createKey() |
org.apache.hadoop.io.Text |
createValue() |
protected com.amazonaws.services.s3.model.CompressionType |
getCompressionType() |
protected com.amazonaws.services.s3.model.CompressionType |
getCompressionType(Path path) |
protected long |
getEnd() |
protected String |
getLineDelimiter() |
long |
getPos() |
float |
getProgress() |
protected Properties |
getSchema() |
protected long |
getStart() |
boolean |
next(org.apache.hadoop.io.LongWritable key,
org.apache.hadoop.io.Text value) |
protected final org.apache.hadoop.io.compress.CompressionCodecFactory compressionCodecFactory
protected abstract com.amazonaws.services.s3.model.InputSerialization buildInputSerialization()
protected abstract com.amazonaws.services.s3.model.OutputSerialization buildOutputSerialization()
protected Properties getSchema()
protected com.amazonaws.services.s3.model.CompressionType getCompressionType()
protected String getLineDelimiter()
protected long getStart()
protected long getEnd()
public com.amazonaws.services.s3.model.SelectObjectContentRequest buildSelectObjectRequest(String query, Path path)
protected com.amazonaws.services.s3.model.CompressionType getCompressionType(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 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–2023. All rights reserved.