com.alibaba.druid.mock
类 MockClob
java.lang.Object
com.alibaba.druid.mock.MockClob
- 所有已实现的接口:
- Clob
- 直接已知子类:
- MockNClob
public class MockClob
- extends Object
- implements Clob
MockClob
public MockClob()
MockClob
public MockClob(byte[] bytes)
length
public long length()
throws SQLException
- 指定者:
- 接口
Clob 中的 length
- 抛出:
SQLException
getSubString
public String getSubString(long pos,
int length)
throws SQLException
- 指定者:
- 接口
Clob 中的 getSubString
- 抛出:
SQLException
getCharacterStream
public Reader getCharacterStream()
throws SQLException
- 指定者:
- 接口
Clob 中的 getCharacterStream
- 抛出:
SQLException
getAsciiStream
public InputStream getAsciiStream()
throws SQLException
- 指定者:
- 接口
Clob 中的 getAsciiStream
- 抛出:
SQLException
position
public long position(String searchstr,
long start)
throws SQLException
- 指定者:
- 接口
Clob 中的 position
- 抛出:
SQLException
position
public long position(Clob searchstr,
long start)
throws SQLException
- 指定者:
- 接口
Clob 中的 position
- 抛出:
SQLException
setString
public int setString(long pos,
String str)
throws SQLException
- 指定者:
- 接口
Clob 中的 setString
- 抛出:
SQLException
setString
public int setString(long pos,
String str,
int offset,
int len)
throws SQLException
- 指定者:
- 接口
Clob 中的 setString
- 抛出:
SQLException
setAsciiStream
public OutputStream setAsciiStream(long pos)
throws SQLException
- 指定者:
- 接口
Clob 中的 setAsciiStream
- 抛出:
SQLException
setCharacterStream
public Writer setCharacterStream(long pos)
throws SQLException
- 指定者:
- 接口
Clob 中的 setCharacterStream
- 抛出:
SQLException
truncate
public void truncate(long len)
throws SQLException
- 指定者:
- 接口
Clob 中的 truncate
- 抛出:
SQLException
free
public void free()
throws SQLException
- 指定者:
- 接口
Clob 中的 free
- 抛出:
SQLException
getCharacterStream
public Reader getCharacterStream(long pos,
long length)
throws SQLException
- 指定者:
- 接口
Clob 中的 getCharacterStream
- 抛出:
SQLException
Copyright © 2013-2014 Alibaba Group. All Rights Reserved.