org.apache.hadoop.hive.ql.io.orc
Class OrcSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.hadoop.mapred.FileSplit
          extended by org.apache.hadoop.hive.ql.io.orc.OrcSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable, org.apache.hadoop.mapred.InputSplit

public class OrcSplit
extends org.apache.hadoop.mapred.FileSplit

OrcFileSplit. Holds file meta info


Constructor Summary
OrcSplit(org.apache.hadoop.fs.Path path, long offset, long length, String[] hosts, org.apache.hadoop.hive.ql.io.orc.ReaderImpl.FileMetaInfo fileMetaInfo, boolean isOriginal, boolean hasBase, List<Long> deltas)
           
 
Method Summary
 List<Long> getDeltas()
           
 boolean hasBase()
           
 boolean hasFooter()
           
 boolean isOriginal()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileSplit
getLength, getLocations, getPath, getStart, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrcSplit

public OrcSplit(org.apache.hadoop.fs.Path path,
                long offset,
                long length,
                String[] hosts,
                org.apache.hadoop.hive.ql.io.orc.ReaderImpl.FileMetaInfo fileMetaInfo,
                boolean isOriginal,
                boolean hasBase,
                List<Long> deltas)
Method Detail

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Overrides:
write in class org.apache.hadoop.mapred.FileSplit
Throws:
IOException

readFields

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

hasFooter

public boolean hasFooter()

isOriginal

public boolean isOriginal()

hasBase

public boolean hasBase()

getDeltas

public List<Long> getDeltas()


Copyright © 2014 The Apache Software Foundation. All rights reserved.