org.apache.hadoop.hive.shims
Class HadoopShimsSecure.InputSplitShim

java.lang.Object
  extended by org.apache.hadoop.mapred.lib.CombineFileSplit
      extended by org.apache.hadoop.hive.shims.HadoopShimsSecure.InputSplitShim
All Implemented Interfaces:
HadoopShims.InputSplitShim, org.apache.hadoop.io.Writable, org.apache.hadoop.mapred.InputSplit
Enclosing class:
HadoopShimsSecure

public static class HadoopShimsSecure.InputSplitShim
extends org.apache.hadoop.mapred.lib.CombineFileSplit
implements HadoopShims.InputSplitShim


Constructor Summary
HadoopShimsSecure.InputSplitShim()
           
HadoopShimsSecure.InputSplitShim(org.apache.hadoop.mapred.lib.CombineFileSplit old)
           
 
Method Summary
 long getShrinkedLength()
           
 boolean isShrinked()
           
 void readFields(DataInput in)
           
 void shrinkSplit(long length)
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.mapred.lib.CombineFileSplit
getJob, getLength, getLength, getLengths, getLocations, getNumPaths, getOffset, getPath, getPaths, getStartOffsets, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.shims.HadoopShims.InputSplitShim
getJob, getLength, getLength, getLengths, getLocations, getNumPaths, getOffset, getPath, getPaths, getStartOffsets, toString
 

Constructor Detail

HadoopShimsSecure.InputSplitShim

public HadoopShimsSecure.InputSplitShim()

HadoopShimsSecure.InputSplitShim

public HadoopShimsSecure.InputSplitShim(org.apache.hadoop.mapred.lib.CombineFileSplit old)
                                 throws IOException
Throws:
IOException
Method Detail

shrinkSplit

public void shrinkSplit(long length)
Specified by:
shrinkSplit in interface HadoopShims.InputSplitShim

isShrinked

public boolean isShrinked()

getShrinkedLength

public long getShrinkedLength()

readFields

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

write

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


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