You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Carmen Manzulli <ca...@gmail.com> on 2015/03/27 10:37:14 UTC

WholeFileNTriplesInputFormat-Jena Elepahs

Hi all,
i'm Carmen...i would to create a mapper based on
WholeFileNTriplesInputFormat but i've not understood how to set <KeyIn,
ValueIn>. i know that keyIn and  valueIn come from the record reader witch
is the interpreter of the inputsplits and assigns each record to the
mappers...but if the input was a file .nt and i wanted to use the whole
file format how could i set up these parameters?

thanks in advance for the answer,

Carmen.

Re: WholeFileNTriplesInputFormat-Jena Elepahs

Posted by Carmen Manzulli <ca...@gmail.com>.
ok thanks...!! :) now i've another problem and for this've written another
mail but thanks for the answer


2015-03-31 16:31 GMT+02:00 Rob Vesse <rv...@dotnetrdf.org>:

> Carmen
>
> All our input formats have a signature of either <LongWritable,
> TripleWritable> or <LongWritable, QuadWritable> depending on whether the
> format is triples or quads.
>
> Rob
>
> On 27/03/2015 10:37, "Carmen Manzulli" <ca...@gmail.com> wrote:
>
> >Hi all,
> >i'm Carmen...i would to create a mapper based on
> >WholeFileNTriplesInputFormat but i've not understood how to set <KeyIn,
> >ValueIn>. i know that keyIn and  valueIn come from the record reader witch
> >is the interpreter of the inputsplits and assigns each record to the
> >mappers...but if the input was a file .nt and i wanted to use the whole
> >file format how could i set up these parameters?
> >
> >thanks in advance for the answer,
> >
> >Carmen.
>
>
>
>
>

Re: WholeFileNTriplesInputFormat-Jena Elepahs

Posted by Rob Vesse <rv...@dotnetrdf.org>.
Carmen

All our input formats have a signature of either <LongWritable,
TripleWritable> or <LongWritable, QuadWritable> depending on whether the
format is triples or quads.

Rob

On 27/03/2015 10:37, "Carmen Manzulli" <ca...@gmail.com> wrote:

>Hi all,
>i'm Carmen...i would to create a mapper based on
>WholeFileNTriplesInputFormat but i've not understood how to set <KeyIn,
>ValueIn>. i know that keyIn and  valueIn come from the record reader witch
>is the interpreter of the inputsplits and assigns each record to the
>mappers...but if the input was a file .nt and i wanted to use the whole
>file format how could i set up these parameters?
>
>thanks in advance for the answer,
>
>Carmen.