Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro, mail # dev - Forward Declaration

Thomas Dressel 2013-06-24, 13:40
Copy link to this message
Re: Forward Declaration
Thiruvalluvan MG 2013-06-24, 17:19
Hi Thomas Dressel,

Is it possible to elaborate on what you mean by "forward declaration"? I'm aware of one usage of the term in C and C++ where instead of exposing the full definition of a function, data or class you expose just its declaration and then supply the full definition later. Here is an example with class declaration:

class X;

class Y {
    X* x;

class X {
    Y *y;

This is the only way to handle circular references between classes X and Y. But I don't understand its reference to Avro.

Still better, can you give a small example of what you are trying to do?

Thank you,


 From: Thomas Dressel <[EMAIL PROTECTED]>
Sent: Monday, 24 June 2013 7:10 PM
Subject: Forward Declaration


I've searched the web and the Documentation of Avro, but I didn't get 
an answer.
So I write this email to you, with the question, if Avro does support 
forward declaration?

I look forward to hearing from you soon.
Yours faithfully,

Thomas Dressel
Scott Carey 2013-06-28, 16:08
Scott Carey 2013-06-28, 16:14