提交 d3c9ff7c authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 423a9972
......@@ -63,7 +63,8 @@ public interface Index extends SchemaObject {
/**
* Find a row or a list of rows and create a cursor to iterate over the result.
*
* @param filter the table filter (which possibly knows about additional conditions)
* @param filter the table filter (which possibly knows
* about additional conditions)
* @param first the first row, or null for no limit
* @param last the last row, or null for no limit
* @return the cursor to iterate over the results
......
......@@ -284,7 +284,7 @@ public class TreeIndex extends BaseIndex {
return find(first, last);
}
public Cursor find(SearchRow first, SearchRow last) {
private Cursor find(SearchRow first, SearchRow last) {
if (first == null) {
TreeNode x = root, n;
while (x != null) {
......
......@@ -1494,7 +1494,8 @@ public class JdbcConnection extends TraceObject implements Connection {
debugCodeAssign("Blob", TraceObject.BLOB, id, "createClob()");
checkClosedForWrite();
try {
Value v = session.getDataHandler().getLobStorage().createBlob(new ByteArrayInputStream(Utils.EMPTY_BYTES), 0);
Value v = session.getDataHandler().getLobStorage().createBlob(
new ByteArrayInputStream(Utils.EMPTY_BYTES), 0);
return new JdbcBlob(this, v, id);
} finally {
afterWriting();
......
......@@ -82,6 +82,12 @@ public class TestFunctions extends TestBase implements AggregateFunction {
conn.close();
}
/**
* This method is called via reflection from the database.
*
* @param args the argument list
* @return the value
*/
public static Value toChar(Value... args) {
if (args.length == 0) {
return null;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论