public static TikaInputStream get(Blob blob) throws SQLException {
        return get(blob, new Metadata());
    }
Creates a TikaInputStream from the given database BLOB.
<p>
Note that the result set containing the BLOB may need to be kept open
until the returned TikaInputStream has been processed and closed.
You must also always explicitly close the returned stream as in
some cases it may end up writing the blob data to a temporary file.

@param blob database BLOB
@return a TikaInputStream instance
@throws SQLException if BLOB data can not be accessed
tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java