Interface BlobAccessor

All Known Subinterfaces:
BlobRef
All Known Implementing Classes:
ByteLongObject

public interface BlobAccessor
An interface that provides access to basic information about a BLOB so that we may compare BLOBs implemented in different ways.
Author:
Tobias Downer
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an InputStream that allows us to read the contents of the blob from start to finish.
    int
    Returns the size of the BLOB.
  • Method Details

    • length

      int length()
      Returns the size of the BLOB.
    • getInputStream

      InputStream getInputStream()
      Returns an InputStream that allows us to read the contents of the blob from start to finish. This object should be wrapped in a BufferedInputStream if 'read()' type efficiency is required.