Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB