Class RecordReaderGenericBaseStatsWrapper

java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
net.sansa_stack.hadoop.core.RecordReaderGenericBaseStatsWrapper
All Implemented Interfaces:
Closeable, AutoCloseable

public class RecordReaderGenericBaseStatsWrapper extends org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
  • Field Details

  • Constructor Details

    • RecordReaderGenericBaseStatsWrapper

      public RecordReaderGenericBaseStatsWrapper(RecordReaderGenericBase<?,?,?,?> decoratee)
  • Method Details

    • initialize

      public void initialize(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
      Specified by:
      initialize in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
      Throws:
      IOException
      InterruptedException
    • nextKeyValue

      public boolean nextKeyValue() throws IOException, InterruptedException
      Specified by:
      nextKeyValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
      Throws:
      IOException
      InterruptedException
    • getCurrentKey

      public org.apache.hadoop.io.LongWritable getCurrentKey() throws IOException, InterruptedException
      Specified by:
      getCurrentKey in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
      Throws:
      IOException
      InterruptedException
    • getCurrentValue

      public org.apache.jena.rdf.model.Resource getCurrentValue() throws IOException, InterruptedException
      Specified by:
      getCurrentValue in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
      Throws:
      IOException
      InterruptedException
    • getProgress

      public float getProgress() throws IOException, InterruptedException
      Specified by:
      getProgress in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
      Throws:
      IOException
      InterruptedException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in class org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.jena.rdf.model.Resource>
      Throws:
      IOException