Class RecordReaderGenericRdfBase<U,G,A,T>

java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,T>
net.sansa_stack.hadoop.core.RecordReaderGenericBase<U,G,A,T>
net.sansa_stack.hadoop.format.jena.base.RecordReaderGenericRdfBase<U,G,A,T>
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
RecordReaderGenericRdfAccumulatingBase, RecordReaderGenericRdfNonAccumulatingBase

public abstract class RecordReaderGenericRdfBase<U,G,A,T> extends RecordReaderGenericBase<U,G,A,T>
  • Field Details

    • baseIriKey

      protected final String baseIriKey
    • headerBytesKey

      protected final String headerBytesKey
    • prefixesMaxLengthKey

      protected String prefixesMaxLengthKey
    • baseIri

      protected String baseIri
    • lang

      protected org.apache.jena.riot.Lang lang
    • prefixMap

      protected org.apache.jena.riot.system.PrefixMap prefixMap
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException
      Description copied from class: RecordReaderGenericBase
      Read out config paramaters (prefixes, length thresholds, ...) and examine the codec in order to set an internal flag whether the stream will be encoded or not.
      Overrides:
      initialize in class RecordReaderGenericBase<U,G,A,T>
      Throws:
      IOException
    • setupParser

      protected org.apache.jena.riot.system.AsyncParserBuilder setupParser(InputStream in, boolean isProbe)