Hi Guys,
Sincere apologies over this, I have egg on my face as I didn't dig deep enough.
I'm trying to merge the latest avro branch with gora with a view to pruning 
anything which is redundant and then converting to C++ for use in an embedded 
device. It's a hard and rocky road. Thanks for pointing out 
SpecificDatumReader. In, I think, Avro 1.6.0, getFields, setFields have been 
moved to GenericData; so prepending getFields/setFields with getData() works - 
just needs to be tested.
Thanks again for the time you spent dealing with this.
CheersNick

Date: Tue, 18 Jun 2013 13:48:10 -0700
Subject: Re: getField, setField in org.apache.gora.avro.PersistentDatumReader
From: [email protected]
To: [email protected]

Hi Nick,
As you've maybe noticed, getField(record, name, pos) is inherited from Avro's 
SpecificDatumReader [0].

If there is an error compiling, I can only imagine it is because Avro is not 
available at compile time?


[0] 
http://svn.apache.org/viewvc/avro/tags/release-1.3.3/lang/java/src/java/org/apache/avro/specific/SpecificDatumReader.java?view=markup



On Tue, Jun 18, 2013 at 10:28 AM, buzz heavyyear <[email protected]> 
wrote:




Hi,
I'm busy reading through your excellent code, compiling various snippets to 
understand how things work and I'm having problems in trying to compile 
PersistentDatumReader - it's unable to find getField(record, name, pos) and 
setField(record, name, pos, ....) in Object readRecord(Object old, Schema 
expected, ResolvingDecoder in);

I have a feeling that I've missed an installation step somewhere. Could anyone 
give me a pointer on what I should have done to get this to compile.
Thanks,Nick.
                                          


-- 
Lewis 


                                          

Reply via email to