[
https://issues.apache.org/jira/browse/AVRO-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760672#action_12760672
]
Doug Cutting commented on AVRO-126:
-----------------------------------
Can you further elaborate the use case? In particular, what is the non-file
use case for DataFileReader? If you need to directly write and read instances
from streams, then you can use DatumWriter and DatumReader directly, no?
Thanks!
> Support embedded schema (de)serialization not only for files but for
> arbitrary byte arrays
> ------------------------------------------------------------------------------------------
>
> Key: AVRO-126
> URL: https://issues.apache.org/jira/browse/AVRO-126
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Flo Leibert
> Attachments: AVRO-126.patch
>
>
> While DataFileWriter can serialize to an arbitrary output stream,
> DataFileReader cannot. However, it's useful to allow for this. Thus, a
> SeekableByteArrayInput should be available to wrap a byte[] and allow for
> Deserialization from a byte input stream.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.