45 lines
1.3 KiB
Java
45 lines
1.3 KiB
Java
package oracle.sql;
|
|
|
|
import java.io.InputStream;
|
|
import java.io.OutputStream;
|
|
import java.io.Reader;
|
|
import java.io.Writer;
|
|
import java.sql.Connection;
|
|
import java.sql.SQLException;
|
|
|
|
public interface ClobDBAccess {
|
|
void close(CLOB clob) throws SQLException;
|
|
|
|
CLOB createTemporaryClob(Connection connection, boolean z, int i, short s) throws SQLException;
|
|
|
|
void freeTemporary(CLOB clob, boolean z) throws SQLException;
|
|
|
|
int getChars(CLOB clob, long j, int i, char[] cArr) throws SQLException;
|
|
|
|
int getChunkSize(CLOB clob) throws SQLException;
|
|
|
|
boolean isOpen(CLOB clob) throws SQLException;
|
|
|
|
boolean isTemporary(CLOB clob) throws SQLException;
|
|
|
|
long length(CLOB clob) throws SQLException;
|
|
|
|
InputStream newInputStream(CLOB clob, int i, long j) throws SQLException;
|
|
|
|
OutputStream newOutputStream(CLOB clob, int i, long j) throws SQLException;
|
|
|
|
Reader newReader(CLOB clob, int i, long j) throws SQLException;
|
|
|
|
Writer newWriter(CLOB clob, int i, long j) throws SQLException;
|
|
|
|
void open(CLOB clob, int i) throws SQLException;
|
|
|
|
long position(CLOB clob, String str, long j) throws SQLException;
|
|
|
|
long position(CLOB clob, CLOB clob2, long j) throws SQLException;
|
|
|
|
int putChars(CLOB clob, long j, char[] cArr, int i, int i2) throws SQLException;
|
|
|
|
void trim(CLOB clob, long j) throws SQLException;
|
|
}
|