Skip to content

Commit 2493b64

Browse files
committed
Revert Page.java
1 parent 2db7dab commit 2493b64

File tree

1 file changed

+0
-6
lines changed
  • x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/data

1 file changed

+0
-6
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/data/Page.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import java.io.IOException;
1717
import java.util.Arrays;
1818
import java.util.Objects;
19-
import java.util.stream.IntStream;
2019

2120
/**
2221
* A page is a column-oriented data abstraction that allows data to be passed between operators in
@@ -312,9 +311,4 @@ public Page filter(int... positions) {
312311
}
313312
return new Page(filteredBlocks);
314313
}
315-
316-
public Page subPage(int fromIndex, int toIndex) {
317-
// TODO: optimize!
318-
return filter(IntStream.range(fromIndex, toIndex).toArray());
319-
}
320314
}

0 commit comments

Comments
 (0)