public interface ReaderFactory
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReadQuads()
Gets whether this factory can produce readers that are capable of reading
quads
|
boolean |
canReadTriples()
Gets whether this factory can produce readers that are capable of reading
triples
|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,QuadWritable> |
createQuadReader()
Creates a quad reader
|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,TripleWritable> |
createTripleReader()
Creates a triples reader
|
Collection<Lang> |
getAlternativeLanguages()
Gets the alternative languages this factory can produce readers for
|
Lang |
getPrimaryLanguage()
Gets the primary language this factory produces readers for
|
Lang getPrimaryLanguage()
Collection<Lang> getAlternativeLanguages()
boolean canReadQuads()
boolean canReadTriples()
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,QuadWritable> createQuadReader() throws IOException
IOException - May be thrown if a quad reader cannot be createdorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,TripleWritable> createTripleReader() throws IOException
IOException - May be thrown if a triple reader cannot be createdLicenced under the Apache License, Version 2.0