Class BinaryToRawStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.derby.impl.jdbc.BinaryToRawStream
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
AutoPositioningStream

class BinaryToRawStream extends FilterInputStream
Converts a stream containing the Derby stored binary form to one that just contains the application's data. Simply read and save the length information.
  • Field Details

    • length

      private int length
      Length of the value represented by this stream. Set to -1 if the length is unknown.
    • parent

      private Object parent
  • Constructor Details

  • Method Details

    • getLength

      int getLength()
      Return the length of the value in thie stream in bytes. If the value is unknown then -1 is returned.