public static class DBUtil.EmptyBlob
extends java.lang.Object
implements java.sql.Blob
Constructor and Description |
---|
DBUtil.EmptyBlob() |
Modifier and Type | Method and Description |
---|---|
void |
free() |
java.io.InputStream |
getBinaryStream() |
java.io.InputStream |
getBinaryStream(long pos,
long length) |
byte[] |
getBytes(long pos,
int length) |
long |
length() |
long |
position(java.sql.Blob pattern,
long start) |
long |
position(byte[] pattern,
long start) |
java.io.OutputStream |
setBinaryStream(long data) |
int |
setBytes(long length,
byte[] data) |
int |
setBytes(long length,
byte[] data,
int i1,
int i2) |
void |
truncate(long pos) |
public java.io.InputStream getBinaryStream()
getBinaryStream
in interface java.sql.Blob
public java.io.OutputStream setBinaryStream(long data)
setBinaryStream
in interface java.sql.Blob
public byte[] getBytes(long pos, int length)
getBytes
in interface java.sql.Blob
public int setBytes(long length, byte[] data)
setBytes
in interface java.sql.Blob
public int setBytes(long length, byte[] data, int i1, int i2)
setBytes
in interface java.sql.Blob
public void truncate(long pos)
truncate
in interface java.sql.Blob
public long length()
length
in interface java.sql.Blob
public long position(java.sql.Blob pattern, long start)
position
in interface java.sql.Blob
public long position(byte[] pattern, long start)
position
in interface java.sql.Blob
public void free() throws java.sql.SQLException
free
in interface java.sql.Blob
java.sql.SQLException
public java.io.InputStream getBinaryStream(long pos, long length) throws java.sql.SQLException
getBinaryStream
in interface java.sql.Blob
java.sql.SQLException
Copyright © 2014 EsprIT-Systems. All Rights Reserved.