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 Plain View
Avro >> mail # user >> Random access in an avro file


Copy link to this message
-
Random access in an avro file
Hello,

Is it possible to have random access to a record in an avro file? For
instance, if I have an avro file with a schema containing four
records: *employee
id, name, address *and* phone*. While reading the file, is there any way at
all to directly jump to a record with employee id 100 instead of having to
scan the whole file every single time and filtering out records?

Thanks for the help.

--
Swarnim
+
Doug Cutting 2013-07-01, 17:05
+
kulkarni.swarnim@...) 2013-07-01, 17:26
+
Doug Cutting 2013-07-01, 17:51
+
kulkarni.swarnim@...) 2013-07-01, 18:50
+
kulkarni.swarnim@...) 2013-07-01, 22:22
+
Doug Cutting 2013-07-01, 22:52
+
Scott Carey 2013-07-02, 18:59
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