public class OracleOciLob
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
append(Env env,
OracleOciLob lobFrom)
Appends data from the large object to another large object
|
boolean |
close(Env env)
Closes LOB descriptor
|
boolean |
eof(Env env)
Tests for end-of-file on a large object's descriptor
|
LongValue |
erase(Env env,
long offset,
long length)
Erases a specified portion of the internal LOB data
|
boolean |
export(Env env,
Path file,
long start,
long length)
Exports LOB's contents to a file
|
boolean |
flush(Env env,
int flag)
Flushes/writes buffer of the LOB to the server
|
boolean |
free(Env env)
Frees resources associated with the LOB descriptor
|
boolean |
getBuffering(Env env)
Returns current state of buffering for the large object
|
java.lang.Object |
load(Env env)
Returns large object's contents
|
boolean |
q_import(Env env,
Path file)
Imports file data to the LOB
|
java.lang.Object |
read(Env env,
long length)
Reads part of the large object
|
boolean |
rewind(Env env)
Moves the internal pointer to the beginning of the large object
|
boolean |
save(Env env,
java.lang.String data,
long offset)
Saves data to the large object
|
boolean |
saveFile(Env env,
Path file)
Alias of import()
|
boolean |
seek(Env env,
long offset,
int whence)
Sets the internal pointer of the large object
|
boolean |
setBuffering(Env env,
boolean onOff)
Changes current state of buffering for the large object
|
protected void |
setLob(java.lang.Object lob)
Sets the underlying LOB
|
LongValue |
size(Env env)
Returns size of large object
|
LongValue |
tell(Env env)
Returns current position of internal pointer of large object
|
java.lang.String |
toString() |
boolean |
truncate(Env env,
long length)
Truncates large object
|
LongValue |
write(Env env,
java.lang.String data,
long length)
Writes data to the large object
|
boolean |
writeTemporary(Env env,
java.lang.String data,
int lobType)
Writes temporary large object
|
boolean |
writeToFile(Env env,
Path file,
long start,
long length)
Alias of export()
|
public boolean append(Env env, OracleOciLob lobFrom)
public boolean close(Env env)
public boolean eof(Env env)
public LongValue erase(Env env, long offset, long length)
public boolean export(Env env, Path file, long start, long length)
public boolean flush(Env env, int flag)
public boolean free(Env env)
public boolean getBuffering(Env env)
public java.lang.Object load(Env env)
public java.lang.Object read(Env env, long length)
public boolean rewind(Env env)
public boolean save(Env env, java.lang.String data, long offset)
public boolean seek(Env env, long offset, int whence)
public boolean setBuffering(Env env, boolean onOff)
protected void setLob(java.lang.Object lob)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean truncate(Env env, long length)
public LongValue write(Env env, java.lang.String data, long length)
public boolean writeTemporary(Env env, java.lang.String data, int lobType)