db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3935) Introduce interface for a position aware stream
Date Fri, 07 Nov 2008 15:12:50 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645785#action_12645785
] 

Knut Anders Hatlen commented on DERBY-3935:
-------------------------------------------

By the way, would it make sense at some point to merge the PositionedStream interface with
Resetable? Or perhaps make PositionedStream extend Resetable? Resetable.resetStream() is just
a special case of PositionedStream.reposition(), and it seems like both PositionStoreStream
and LOBInputStream have methods that match the functionality defined by Resetable (PSS actually
implements Resetable).

> Introduce interface for a position aware stream
> -----------------------------------------------
>
>                 Key: DERBY-3935
>                 URL: https://issues.apache.org/jira/browse/DERBY-3935
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC
>    Affects Versions: 10.5.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-3935-1a-PositionedStream.diff
>
>
> Add an interface for streams that are aware of their position and that can reposition
itself on request.
> Initially there will be two such stream objects; PositionedStoreStream and LOBInputStream.
> The interface will be used to allow the Clob implementation (including UTF8Reader) to
handle the various internal Clob representations in a consistent manner when it comes to positioning
the underlying byte stream.

-- 
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