Class FBBlob.Config

  • All Implemented Interfaces:
    BlobConfig
    Enclosing class:
    FBBlob

    @InternalApi
    public static final class FBBlob.Config
    extends java.lang.Object
    implements BlobConfig
    Standard configuration for blobs.
    Since:
    5
    • Method Detail

      • blobBufferSize

        public int blobBufferSize()
      • createReader

        public java.io.Reader createReader​(java.io.InputStream inputStream)
      • createWriter

        public java.io.Writer createWriter​(java.io.OutputStream outputStream)
      • writeOutputConfig

        public void writeOutputConfig​(BlobParameterBuffer blobParameterBuffer)
        Description copied from interface: BlobConfig
        Writes out the configuration for an output blob for a create operation (writing a blob).
        Specified by:
        writeOutputConfig in interface BlobConfig
        Parameters:
        blobParameterBuffer - a blob parameter buffer to be configured by this instance (implementations can assume it is empty)
      • writeInputConfig

        public void writeInputConfig​(BlobParameterBuffer blobParameterBuffer)
        Description copied from interface: BlobConfig
        Writes out the configuration for an input blob for an open operation (reading a blob).
        Specified by:
        writeInputConfig in interface BlobConfig
        Parameters:
        blobParameterBuffer - a blob parameter buffer to be configured by this instance (implementations can assume it is empty)