org.hsqldb.types
Interface BlobData
-
- All Superinterfaces:
- LobData
- All Known Implementing Classes:
- BinaryData, BlobDataID
public interface BlobData extends LobData
Interface for Binary Large Object implementations.All positions are 0 based
- Since:
- 1.9.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description longbitLength(SessionInterface session)BlobDataduplicate(SessionInterface session)voidfree()java.io.InputStreamgetBinaryStream(SessionInterface session)java.io.InputStreamgetBinaryStream(SessionInterface session, long pos, long length)BlobDatagetBlob(SessionInterface session, long pos, long length)byte[]getBytes()byte[]getBytes(SessionInterface session, long pos, int length)longgetId()intgetStreamBlockSize()booleanisBits()booleanisClosed()longlength(SessionInterface session)longnonZeroLength(SessionInterface session)longposition(SessionInterface session, BlobData pattern, long start)longposition(SessionInterface session, byte[] pattern, long start)voidsetBinaryStream(SessionInterface session, long pos, java.io.InputStream in)voidsetBytes(SessionInterface session, long pos, BlobData b, long offset, long length)voidsetBytes(SessionInterface session, long pos, byte[] bytes)voidsetBytes(SessionInterface session, long pos, byte[] bytes, int offset, int len)voidsetId(long id)voidsetSession(SessionInterface session)voidtruncate(SessionInterface session, long len)
-
-
-
Method Detail
-
getBytes
byte[] getBytes()
-
getBytes
byte[] getBytes(SessionInterface session, long pos, int length)
-
getBlob
BlobData getBlob(SessionInterface session, long pos, long length)
-
getBinaryStream
java.io.InputStream getBinaryStream(SessionInterface session)
-
getBinaryStream
java.io.InputStream getBinaryStream(SessionInterface session, long pos, long length)
-
length
long length(SessionInterface session)
-
bitLength
long bitLength(SessionInterface session)
-
isBits
boolean isBits()
-
setBytes
void setBytes(SessionInterface session, long pos, byte[] bytes, int offset, int len)
-
setBytes
void setBytes(SessionInterface session, long pos, byte[] bytes)
-
setBytes
void setBytes(SessionInterface session, long pos, BlobData b, long offset, long length)
-
setBinaryStream
void setBinaryStream(SessionInterface session, long pos, java.io.InputStream in)
-
truncate
void truncate(SessionInterface session, long len)
-
duplicate
BlobData duplicate(SessionInterface session)
-
position
long position(SessionInterface session, byte[] pattern, long start)
-
position
long position(SessionInterface session, BlobData pattern, long start)
-
nonZeroLength
long nonZeroLength(SessionInterface session)
-
free
void free()
-
isClosed
boolean isClosed()
-
setSession
void setSession(SessionInterface session)
- Specified by:
setSessionin interfaceLobData
-
getStreamBlockSize
int getStreamBlockSize()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG