Example usage for org.apache.hadoop.fs Seekable interface-usage

List of usage examples for org.apache.hadoop.fs Seekable interface-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.fs Seekable interface-usage.

Usage

From source file org.commoncrawl.util.FSByteBufferInputStream.java

/**
 * ByteBuffer based input stream that also implements Seekable and Positionable,
 * thus allowing it to emulate FSDataInputStream
 * 
 * @author rana
 * 

From source file org.commoncrawl.util.shared.BoundedRangeFileInputStream.java

/**
 * BoundedRangeFIleInputStream abstracts a contiguous region of a Hadoop
 * FSDataInputStream as a regular input stream. One can create multiple
 * BoundedRangeFileInputStream on top of the same FSDataInputStream and they
 * would not interfere with each other.
 * Copied from hadoop-335 tfile.

From source file org.gridgain.grid.kernal.ggfs.hadoop.GridGgfsHadoopInputStream.java

/**
 * GGFS input stream wrapper for hadoop interfaces.
 */
@SuppressWarnings("FieldAccessedSynchronizedAndUnsynchronized")
public final class GridGgfsHadoopInputStream extends InputStream
        implements Seekable, PositionedReadable, GridGgfsHadoopStreamEventListener {

From source file org.gridgain.grid.kernal.ggfs.hadoop.GridGgfsHadoopProxyInputStream.java

/**
 * Secondary Hadoop file system input stream wrapper.
 */
public class GridGgfsHadoopProxyInputStream extends InputStream implements Seekable, PositionedReadable {
    /** Actual input stream to the secondary file system. */
    private final FSDataInputStream is;

From source file org.hedera.util.SeekableInputStream.java

public class SeekableInputStream extends FilterInputStream implements Seekable {
    private final Seekable seek;
    private final SplitCompressionInputStream sin;

    public SeekableInputStream(FSDataInputStream in) {
        super(in);

From source file org.lafs.hdfs.LAFSInputStream.java

public class LAFSInputStream extends InputStream implements Seekable, PositionedReadable {

    private long pos;
    private InputStream stream;
    private URL url;
    private boolean closed = true;

From source file org.wikimedia.wikihadoop.SeekableInputStream.java

public class SeekableInputStream extends FilterInputStream implements Seekable {
    private final Seekable seek;
    private final SplitCompressionInputStream sin;

    public SeekableInputStream(FSDataInputStream in) {
        super(in);

From source file stargate.client.hdfs.FSChunkInputStream.java

/**
 *
 * @author iychoi
 */
public class FSChunkInputStream extends HTTPChunkInputStream implements Seekable, PositionedReadable {

From source file tachyon.hadoop.HdfsFileInputStream.java

public class HdfsFileInputStream extends InputStream implements Seekable, PositionedReadable {
    private static final Logger LOG = LoggerFactory.getLogger(Constants.LOGGER_TYPE);

    private long mCurrentPosition;
    private TachyonFS mTFS;
    private long mFileId;

From source file wiki.hadoop.mapred.lib.input.SeekableInputStream.java

public class SeekableInputStream extends FilterInputStream implements Seekable {
    private final Seekable seek;
    private final SplitCompressionInputStream sin;

    public SeekableInputStream(FSDataInputStream in) {
        super(in);