avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AVRO-183) add DatumWriter#sizeOf method that computes the number of bytes an object will be serialized as
Date Mon, 21 Jun 2010 18:49:16 GMT

    [ https://issues.apache.org/jira/browse/AVRO-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880948#action_12880948
] 

Doug Cutting commented on AVRO-183:
-----------------------------------

I think this feature should assume that binary encoding is used.

Perhaps this can be implemented with an OutputStream that counts bytes rather than writes
anything?

> add DatumWriter#sizeOf method that computes the number of bytes an object will be serialized
as
> -----------------------------------------------------------------------------------------------
>
>                 Key: AVRO-183
>                 URL: https://issues.apache.org/jira/browse/AVRO-183
>             Project: Avro
>          Issue Type: New Feature
>          Components: java
>            Reporter: Doug Cutting
>            Assignee: John Yu
>
> Sometimes it is useful to know how large an object will be when serialized before it
is in fact serialized.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message