List of usage examples for org.apache.hadoop.fs PositionedReadable interface-usage
From source file hsyndicate.hadoop.dfs.HSyndicateInputStream.java
public class HSyndicateInputStream extends FSInputStream implements Seekable, PositionedReadable { private static final Log LOG = LogFactory.getLog(HSyndicateInputStream.class); private SyndicateFSPath path; private SyndicateFileSystem fs;
From source file net.sf.katta.util.ThrottledInputStream.java
/**
* An {@link InputStream} which throttles the amount of bytes which is read from
* the underlying {@link InputStream} in a given time frame.
*
* <p>
* Usage Example: <br>
From source file org.apache.ambari.view.hive.utils.SeekableByteArrayInputStream.java
/** * Created by roma on 2/6/15. */ public class SeekableByteArrayInputStream extends ByteArrayInputStream implements Seekable, PositionedReadable { public SeekableByteArrayInputStream(byte[] buf) { super(buf);
From source file org.apache.drill.exec.store.ResourceInputStream.java
public class ResourceInputStream extends ByteArrayInputStream implements Seekable, PositionedReadable { static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(ResourceInputStream.class); public ResourceInputStream(byte[] bytes) { super(bytes); }
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;