Package org.hsqldb.types

Examples of org.hsqldb.types.BlobInputStream


     * @return a stream containing the <code>BLOB</code> data
     * @throws SQLException if there is an error accessing the
     *   <code>BLOB</code> value
     */
    public synchronized InputStream getBinaryStream() throws SQLException {
        return new BlobInputStream(session, blob, 0, length());
    }
View Full Code Here


        if (!isInLimits(Long.MAX_VALUE, pos - 1, length)) {
            throw JDBCUtil.outOfRangeArgument();
        }

        return new BlobInputStream(session, blob, pos - 1, length);
    }
View Full Code Here

            parameterValues[i - 1] = o;
            parameterSet[i - 1]    = Boolean.FALSE;

            return;
        } else if (o instanceof BlobInputStream) {
            BlobInputStream is = (BlobInputStream) o;

            if (is.session.getDatabaseUniqueName().equals(
                    session.getDatabaseUniqueName())) {
                throw JDBCUtil.sqlException(ErrorCode.JDBC_INVALID_ARGUMENT,
                                        "invalid Reader");
View Full Code Here

            parameterValues[i - 1] = o;
            parameterSet[i - 1]    = Boolean.FALSE;

            return;
        } else if (o instanceof BlobInputStream) {
            BlobInputStream is = (BlobInputStream) o;

            if (is.session.getDatabaseUniqueName().equals(
                    session.getDatabaseUniqueName())) {
                throw Util.sqlException(ErrorCode.JDBC_INVALID_ARGUMENT,
                                        "invalid Reader");
View Full Code Here

     * @return a stream containing the <code>BLOB</code> data
     * @throws SQLException if there is an error accessing the
     *   <code>BLOB</code> value
     */
    public synchronized InputStream getBinaryStream() throws SQLException {
        return new BlobInputStream(session, blob, 0, length());
    }
View Full Code Here

        if (!isInLimits(Long.MAX_VALUE, pos - 1, length)) {
            throw Util.outOfRangeArgument();
        }

        return new BlobInputStream(session, blob, pos - 1, length);
    }
View Full Code Here

TOP

Related Classes of org.hsqldb.types.BlobInputStream

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.