Class StreamLocator

  • All Implemented Interfaces:
    org.apache.hadoop.io.Writable

    public class StreamLocator
    extends Object
    implements org.apache.hadoop.io.Writable
    Writable used to describe how to create and read from an input stream.
    • Constructor Detail

      • StreamLocator

        public StreamLocator()
      • StreamLocator

        public StreamLocator​(org.apache.hadoop.fs.Path path,
                             CompressionCodec codec)
    • Method Detail

      • getPath

        public org.apache.hadoop.fs.Path getPath()
      • setPath

        public void setPath​(org.apache.hadoop.fs.Path path)
      • readFields

        public void readFields​(DataInput in)
                        throws IOException
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Throws:
        IOException