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.apache.ignite.internal.igfs.hadoop.IgfsHadoopInputStream.java

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

From source file org.apache.ignite.internal.igfs.hadoop.IgfsHadoopProxyInputStream.java

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

From source file org.apache.ignite.internal.processors.hadoop.igfs.HadoopIgfsInputStream.java

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

From source file org.apache.ignite.internal.processors.hadoop.igfs.HadoopIgfsProxyInputStream.java

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

From source file org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsInputStream.java

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

From source file org.apache.ignite.internal.processors.hadoop.impl.igfs.HadoopIgfsProxyInputStream.java

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

From source file org.apache.parquet.hadoop.util.MockHadoopInputStream.java

class MockHadoopInputStream extends ByteArrayInputStream implements Seekable, PositionedReadable {
    static final byte[] TEST_ARRAY = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };

    private int[] lengths;
    private int current = 0;

From source file org.apache.parquet.hadoop.util.MockInputStream.java

class MockInputStream extends ByteArrayInputStream implements Seekable, PositionedReadable {
    static final byte[] TEST_ARRAY = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };

    private int[] lengths;
    private int current = 0;

From source file org.apache.tajo.storage.rcfile.NonSyncDataInputBuffer.java

/**
 * A thread-not-safe version of Hadoop's DataInputBuffer, which removes all
 * synchronized modifiers.
 */
public class NonSyncDataInputBuffer extends FilterInputStream implements DataInput, Seekable {

From source file org.apache.tajo.storage.v2.ScheduledInputStream.java

public class ScheduledInputStream extends InputStream implements Seekable, Closeable, DataInput {
    private static final Log LOG = LogFactory.getLog(ScheduledInputStream.class);

    private FSDataInputStream originStream;

    private int currentScanIndex;