public interface WriterFactory
Modifier and Type | Method and Description |
---|---|
boolean |
canWriteQuads()
Gets whether this factory can produce writers that are capable of reading
quads
|
boolean |
canWriteTriples()
Gets whether this factory can produce writers that are capable of reading
triples
|
<TKey> org.apache.hadoop.mapreduce.RecordWriter<TKey,QuadWritable> |
createQuadWriter(Writer writer,
org.apache.hadoop.conf.Configuration config)
Creates a quad writer
|
<TKey> org.apache.hadoop.mapreduce.RecordWriter<TKey,TripleWritable> |
createTripleWriter(Writer writer,
org.apache.hadoop.conf.Configuration config)
Creates a triples writer
|
Collection<Lang> |
getAlternativeLanguages()
Gets the alternative languages this factory can produce writers for
|
Lang |
getPrimaryLanguage()
Gets the primary language this factory produces writers for
|
Lang getPrimaryLanguage()
Collection<Lang> getAlternativeLanguages()
boolean canWriteQuads()
boolean canWriteTriples()
<TKey> org.apache.hadoop.mapreduce.RecordWriter<TKey,QuadWritable> createQuadWriter(Writer writer, org.apache.hadoop.conf.Configuration config) throws IOException
writer
- Writerconfig
- ConfigurationIOException
- May be thrown if a quad writer cannot be created<TKey> org.apache.hadoop.mapreduce.RecordWriter<TKey,TripleWritable> createTripleWriter(Writer writer, org.apache.hadoop.conf.Configuration config) throws IOException
writer
- Writerconfig
- ConfigurationIOException
- May be thrown if a triple writer cannot be createdLicenced under the Apache License, Version 2.0