/**
* @see #getReader
*/
public Reader getInternalReader(long characterPosition)
throws IOException, SQLException {
if (this.internalReader == null) {
// getCSD obtains a descriptor for the stream to allow the reader
// to configure itself.
this.internalReader = new UTF8Reader(getCSD(), conChild,
conChild.getConnectionSynchronization());
this.unclosableInternalReader =
new FilterReader(this.internalReader) {
public void close() {
// Do nothing.
// Stream will be closed when the Clob is released.
}
};
}
try {
this.internalReader.reposition(characterPosition);
} catch (StandardException se) {
throw Util.generateCsSQLException(se);
}
return this.unclosableInternalReader;
}
TemporaryClob.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:spliceengine
作者:
评论列表
文章目录