提交 43e247ee authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Remove unused ResultExternal.done()

上级 d20a519e
...@@ -186,9 +186,4 @@ public abstract class MVTempResult implements ResultExternal { ...@@ -186,9 +186,4 @@ public abstract class MVTempResult implements ResultExternal {
tempFileDeleter.deleteFile(fileRef, closeable); tempFileDeleter.deleteFile(fileRef, closeable);
} }
@Override
public void done() {
// Do nothing
}
} }
...@@ -377,7 +377,6 @@ public class LocalResult implements ResultInterface, ResultTarget { ...@@ -377,7 +377,6 @@ public class LocalResult implements ResultInterface, ResultTarget {
} }
if (external != null) { if (external != null) {
addRowsToDisk(); addRowsToDisk();
external.done();
} else { } else {
if (sort != null) { if (sort != null) {
if (offset > 0 || limit > 0) { if (offset > 0 || limit > 0) {
......
...@@ -42,11 +42,6 @@ public interface ResultExternal { ...@@ -42,11 +42,6 @@ public interface ResultExternal {
*/ */
int addRows(ArrayList<Value[]> rows); int addRows(ArrayList<Value[]> rows);
/**
* This method is called after all rows have been added.
*/
void done();
/** /**
* Close this object and delete the temporary file. * Close this object and delete the temporary file.
*/ */
......
...@@ -309,11 +309,6 @@ public class ResultTempTable implements ResultExternal { ...@@ -309,11 +309,6 @@ public class ResultTempTable implements ResultExternal {
} }
} }
@Override
public void done() {
// nothing to do
}
@Override @Override
public Value[] next() { public Value[] next() {
if (resultCursor == null) { if (resultCursor == null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论