public class SequenceFileReader<Key extends org.apache.hadoop.io.Writable,Value extends org.apache.hadoop.io.Writable> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SequenceFileReader.Offset |
Modifier and Type | Field and Description |
---|---|
static String |
BUFFER_SIZE |
static String[] |
defaultFields |
Constructor and Description |
---|
SequenceFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
Map<String,Object> conf) |
SequenceFileReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
Map<String,Object> conf,
String offset) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
equals(Object o) |
SequenceFileReader.Offset |
getFileOffset() |
org.apache.hadoop.fs.Path |
getFilePath() |
int |
hashCode() |
List<Object> |
next() |
public static final String[] defaultFields
public static final String BUFFER_SIZE
public SequenceFileReader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, Map<String,Object> conf) throws IOException
IOException
public SequenceFileReader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, Map<String,Object> conf, String offset) throws IOException
IOException
public List<Object> next() throws IOException, ParseException
IOException
ParseException
public void close()
public SequenceFileReader.Offset getFileOffset()
public org.apache.hadoop.fs.Path getFilePath()
Copyright © 2019 The Apache Software Foundation. All rights reserved.