We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db7dab commit 2493b64Copy full SHA for 2493b64
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/data/Page.java
@@ -16,7 +16,6 @@
16
import java.io.IOException;
17
import java.util.Arrays;
18
import java.util.Objects;
19
-import java.util.stream.IntStream;
20
21
/**
22
* 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) {
312
311
}
313
return new Page(filteredBlocks);
314
315
-
316
- public Page subPage(int fromIndex, int toIndex) {
317
- // TODO: optimize!
318
- return filter(IntStream.range(fromIndex, toIndex).toArray());
319
- }
320
0 commit comments