com.alibaba.druid.mock
类 MockBlob
java.lang.Object
com.alibaba.druid.mock.MockBlob
- 所有已实现的接口:
- Blob
public class MockBlob
- extends Object
- implements Blob
MockBlob
public MockBlob()
length
public long length()
throws SQLException
- 指定者:
- 接口
Blob 中的 length
- 抛出:
SQLException
getBytes
public byte[] getBytes(long pos,
int length)
throws SQLException
- 指定者:
- 接口
Blob 中的 getBytes
- 抛出:
SQLException
getBinaryStream
public InputStream getBinaryStream()
throws SQLException
- 指定者:
- 接口
Blob 中的 getBinaryStream
- 抛出:
SQLException
position
public long position(byte[] pattern,
long start)
throws SQLException
- 指定者:
- 接口
Blob 中的 position
- 抛出:
SQLException
position
public long position(Blob pattern,
long start)
throws SQLException
- 指定者:
- 接口
Blob 中的 position
- 抛出:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes)
throws SQLException
- 指定者:
- 接口
Blob 中的 setBytes
- 抛出:
SQLException
setBytes
public int setBytes(long pos,
byte[] bytes,
int offset,
int len)
throws SQLException
- 指定者:
- 接口
Blob 中的 setBytes
- 抛出:
SQLException
setBinaryStream
public OutputStream setBinaryStream(long pos)
throws SQLException
- 指定者:
- 接口
Blob 中的 setBinaryStream
- 抛出:
SQLException
truncate
public void truncate(long len)
throws SQLException
- 指定者:
- 接口
Blob 中的 truncate
- 抛出:
SQLException
free
public void free()
throws SQLException
- 指定者:
- 接口
Blob 中的 free
- 抛出:
SQLException
getBinaryStream
public InputStream getBinaryStream(long pos,
long length)
throws SQLException
- 指定者:
- 接口
Blob 中的 getBinaryStream
- 抛出:
SQLException
Copyright © 2013-2014 Alibaba Group. All Rights Reserved.