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

Switch to Threaded View
Avro >> mail # user >> @java-class serialization


Copy link to this message
-
@java-class serialization
Hello,
I must use my class pointed in IDL file as a field type:

record rec{
     @java-class("com.acme.MyClassImplementingSerializable") string field1;
}

Is it enough if the `java-class` implements serializable to send
`field1` using RPC or do I have to write eg toString method?

Thanks for answers.