Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12314 invoked from network); 5 Nov 2008 11:10:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 11:10:38 -0000 Received: (qmail 8322 invoked by uid 500); 5 Nov 2008 11:10:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 8148 invoked by uid 500); 5 Nov 2008 11:10:41 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 8096 invoked by uid 99); 5 Nov 2008 11:10:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 03:10:41 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 11:09:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42125234C27A for ; Wed, 5 Nov 2008 03:09:44 -0800 (PST) Message-ID: <260310590.1225883384269.JavaMail.jira@brutus> Date: Wed, 5 Nov 2008 03:09:44 -0800 (PST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3936) Add CharacterStreamDescriptor In-Reply-To: <1437825848.1225883024422.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-3936: ----------------------------------- Component/s: JDBC Description: A set of state information is required about byte streams representing characters to be able to handle them properly. The basic pieces of information are: - is bufferable - is position aware - data offset - current byte position - current char position - byte length - char length Additional info: - encoding - max allowed length - bytes per char information The information is chosen with UTF8Reader in mind, and the plan is to pass a CharacterStreamDescriptor instance to the constructor to allow the reader to configure itself appropriately. The information is expected to be valid only at a specific point in time, as some of it will change as soon as the reader starts working with the underlying stream. Priority: Minor (was: Major) Affects Version/s: 10.5.0.0 > Add CharacterStreamDescriptor > ----------------------------- > > Key: DERBY-3936 > URL: https://issues.apache.org/jira/browse/DERBY-3936 > Project: Derby > Issue Type: Sub-task > Components: JDBC > Affects Versions: 10.5.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Minor > > A set of state information is required about byte streams representing characters to be able to handle them properly. > The basic pieces of information are: > - is bufferable > - is position aware > - data offset > - current byte position > - current char position > - byte length > - char length > Additional info: > - encoding > - max allowed length > - bytes per char information > The information is chosen with UTF8Reader in mind, and the plan is to pass a CharacterStreamDescriptor instance to the constructor to allow the reader to configure itself appropriately. The information is expected to be valid only at a specific point in time, as some of it will change as soon as the reader starts working with the underlying stream. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.