niagara-ax/decompiled/oracle/sql/BlobDBAccess.java
2026-03-17 13:31:18 -07:00

44 lines
1.3 KiB
Java

package oracle.sql;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.Reader;
import java.sql.Connection;
import java.sql.SQLException;
public interface BlobDBAccess {
void close(BLOB blob) throws SQLException;
BLOB createTemporaryBlob(Connection connection, boolean z, int i) throws SQLException;
void freeTemporary(BLOB blob, boolean z) throws SQLException;
int getBytes(BLOB blob, long j, int i, byte[] bArr) throws SQLException;
int getChunkSize(BLOB blob) throws SQLException;
boolean isOpen(BLOB blob) throws SQLException;
boolean isTemporary(BLOB blob) throws SQLException;
long length(BLOB blob) throws SQLException;
InputStream newConversionInputStream(BLOB blob, int i) throws SQLException;
Reader newConversionReader(BLOB blob, int i) throws SQLException;
InputStream newInputStream(BLOB blob, int i, long j) throws SQLException;
OutputStream newOutputStream(BLOB blob, int i, long j) throws SQLException;
void open(BLOB blob, int i) throws SQLException;
long position(BLOB blob, BLOB blob2, long j) throws SQLException;
long position(BLOB blob, byte[] bArr, long j) throws SQLException;
int putBytes(BLOB blob, long j, byte[] bArr, int i, int i2) throws SQLException;
void trim(BLOB blob, long j) throws SQLException;
}