org.nutz.dao.util.blob
类 SimpleBlob
java.lang.Object
org.nutz.dao.util.blob.SimpleBlob
- 所有已实现的接口:
- java.sql.Blob
public class SimpleBlob
- extends java.lang.Object
- implements java.sql.Blob
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleBlob
public SimpleBlob(java.io.File f)
length
public long length()
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 length
- 抛出:
java.sql.SQLException
getBytes
public byte[] getBytes(long pos,
int length)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 getBytes
- 抛出:
java.sql.SQLException
getBinaryStream
public java.io.InputStream getBinaryStream()
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 getBinaryStream
- 抛出:
java.sql.SQLException
position
public long position(byte[] pattern,
long start)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 position
- 抛出:
java.sql.SQLException
position
public long position(java.sql.Blob pattern,
long start)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 position
- 抛出:
java.sql.SQLException
setBytes
public int setBytes(long pos,
byte[] bytes)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 setBytes
- 抛出:
java.sql.SQLException
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 setBytes
- 抛出:
java.sql.SQLException
setBinaryStream
public java.io.OutputStream setBinaryStream(long pos)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 setBinaryStream
- 抛出:
java.sql.SQLException
truncate
public void truncate(long len)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 truncate
- 抛出:
java.sql.SQLException
free
public void free()
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 free
- 抛出:
java.sql.SQLException
getBinaryStream
public java.io.InputStream getBinaryStream(long pos,
long length)
throws java.sql.SQLException
- 指定者:
- 接口
java.sql.Blob
中的 getBinaryStream
- 抛出:
java.sql.SQLException