Class URLBlobStore

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, BlobStore

    public class URLBlobStore
    extends java.lang.Object
    implements BlobStore
    Read-only URL-based blob store
    • Constructor Detail

      • URLBlobStore

        public URLBlobStore​(Settings settings,
                            java.net.URL path)
        Constructs new read-only URL-based blob store

        The following settings are supported

        buffer_size
        - size of the read buffer, defaults to 100KB
        Parameters:
        settings - settings
        path - base URL
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • path

        public java.net.URL path()
        Returns base URL
        Returns:
        base URL
      • bufferSizeInBytes

        public int bufferSizeInBytes()
        Returns read buffer size
        Returns:
        read buffer size
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable