Class BLOB

  • All Implemented Interfaces:
    Cloneable

    public final class BLOB
    extends Object
    implements Cloneable
    Class for working with BLOB fields.
    • Constructor Detail

      • BLOB

        public BLOB()
        Empty (NULL) BLOB.
    • Method Detail

      • clone

        public BLOB clone()
        Returns a BLOB clone pointing at the same data page.
        Returns:
      • isModified

        public boolean isModified()
        Whether BLOB data has been changed.
        Returns:
      • getInStream

        public InputStream getInStream()
        Returns a stream for data reading.
        Returns:
      • getOutStream

        public OutputStream getOutStream()
        Returns a stream for data writing, at the same time dropping off current data from BLOB.
        Returns:
      • isNull

        public boolean isNull()
        Whether current field accepts a value of NULL.
        Returns:
      • setNull

        public void setNull()
        Resets BLOB to NULL.
      • size

        public int size()
        Returns data size.
        Returns: