Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.5.1.1
    • 10.5.1.1
    • JDBC
    • None

    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.

      Attachments

        1. derby-3936-1a-CharacterStreamDescriptor.diff
          15 kB
          Kristian Waagan
        2. derby-3936-1b-CharacterStreamDescriptor.diff
          16 kB
          Kristian Waagan
        3. derby-3936-2a-temp_fix.diff
          0.6 kB
          Kristian Waagan
        4. derby-3936-3a-javadoc-1.diff
          5 kB
          Kristian Waagan
        5. derby-3936-4a-streamref_and_copy.diff
          13 kB
          Kristian Waagan
        6. derby-3936-4b-streamref_and_copy.diff
          13 kB
          Kristian Waagan

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: