private static class SequenceFileLogReader.WALReader
extends org.apache.hadoop.io.SequenceFile.Reader
Modifier and Type | Class and Description |
---|---|
(package private) static class |
SequenceFileLogReader.WALReader.WALReaderFSDataInputStream
Override just so can intercept first call to getPos.
|
Constructor and Description |
---|
SequenceFileLogReader.WALReader(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
org.apache.hadoop.conf.Configuration c) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.fs.FSDataInputStream |
openFile(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path file,
int bufferSize,
long length) |
bufferSize, close, createValueBytes, file, getCompressionCodec, getCompressionType, getCurrentValue, getCurrentValue, getKeyClass, getKeyClassName, getMetadata, getPosition, getValueClass, getValueClassName, isBlockCompressed, isCompressed, length, next, next, next, nextRaw, nextRawKey, nextRawValue, seek, start, stream, sync, syncSeen, toString
SequenceFileLogReader.WALReader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.conf.Configuration c) throws IOException
IOException
protected org.apache.hadoop.fs.FSDataInputStream openFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, int bufferSize, long length) throws IOException
openFile
in class org.apache.hadoop.io.SequenceFile.Reader
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.