Package ru.curs.celesta.dbutils
Class BLOB
- java.lang.Object
-
- ru.curs.celesta.dbutils.BLOB
-
-
Constructor Summary
Constructors Constructor Description BLOB()
Empty (NULL) BLOB.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BLOB
clone()
Returns a BLOB clone pointing at the same data page.InputStream
getInStream()
Returns a stream for data reading.OutputStream
getOutStream()
Returns a stream for data writing, at the same time dropping off current data from BLOB.boolean
isModified()
Whether BLOB data has been changed.boolean
isNull()
Whether current field accepts a value ofNULL
.void
setNull()
Resets BLOB toNULL
.int
size()
Returns data size.
-
-
-
Method Detail
-
clone
public BLOB clone()
Returns a BLOB clone pointing at the same data page.- Returns:
-
isModified
public boolean isModified()
Whether BLOB data has been changed.- Returns:
-
getInStream
public InputStream getInStream()
Returns a stream for data reading.- Returns:
-
getOutStream
public OutputStream getOutStream()
Returns a stream for data writing, at the same time dropping off current data from BLOB.- Returns:
-
isNull
public boolean isNull()
Whether current field accepts a value ofNULL
.- Returns:
-
setNull
public void setNull()
Resets BLOB toNULL
.
-
size
public int size()
Returns data size.- Returns:
-
-