[ 
https://issues.apache.org/jira/browse/ORC-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577811#comment-14577811
 ] 

Owen O'Malley commented on ORC-5:
---------------------------------

I'd suggest that we set ourselves up better for asio integration. In 
particular, I think we should add to InputStream:

{code}
template<
    typename AsyncReadStream,
    typename MutableBufferSequence,
    typename ReadHandler>
void-or-deduced async_read_at(
    AsyncReadStream & s,
    uint64_t offset,
    const MutableBufferSequence & buffers,
    ReadHandler handler);
{code}

> Converge on buffer design
> -------------------------
>
>                 Key: ORC-5
>                 URL: https://issues.apache.org/jira/browse/ORC-5
>             Project: Orc
>          Issue Type: Improvement
>            Reporter: Aliaksei Sandryhaila
>
> Current implementation uses two kinds of buffers: DataBuffer<T> and children 
> of Buffer class. The former can use a custom memory pool for allocation, 
> while the latter is more similar to asio::buffer. We need to converge to a 
> single buffer design that has both of these traits.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to