Class RangeInputSplit

  • All Implemented Interfaces:
    org.apache.hadoop.io.Writable
    Direct Known Subclasses:
    BatchInputSplit, RangeInputSplit

    public class RangeInputSplit
    extends org.apache.hadoop.mapreduce.InputSplit
    implements org.apache.hadoop.io.Writable
    The Class RangeInputSplit. Encapsulates an Accumulo range for use in Map Reduce jobs.
    • Method Detail

      • getRange

        public Range getRange()
      • getProgress

        public float getProgress​(Key currentKey)
      • getLength

        public long getLength()
                       throws IOException
        This implementation of length is only an estimate, it does not provide exact values. Do not have your code rely on this return value.
        Specified by:
        getLength in class org.apache.hadoop.mapreduce.InputSplit
        Throws:
        IOException
      • getLocations

        public String[] getLocations()
        Specified by:
        getLocations in class org.apache.hadoop.mapreduce.InputSplit
      • readFields

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

        public String getTableName()
      • setTableName

        public void setTableName​(String table)
      • setTableId

        public void setTableId​(String tableId)
      • getTableId

        public String getTableId()
      • isOffline

        public Boolean isOffline()
      • setOffline

        public void setOffline​(Boolean offline)
      • setLocations

        public void setLocations​(String[] locations)
      • isIsolatedScan

        public Boolean isIsolatedScan()
      • setIsolatedScan

        public void setIsolatedScan​(Boolean isolatedScan)
      • setRange

        public void setRange​(Range range)
      • usesLocalIterators

        public Boolean usesLocalIterators()
      • setUsesLocalIterators

        public void setUsesLocalIterators​(Boolean localIterators)
      • setSamplerConfiguration

        public void setSamplerConfiguration​(SamplerConfiguration samplerConfiguration)
      • setExecutionHints

        public void setExecutionHints​(Map<String,​String> executionHints)