aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/query2/engine
diff options
context:
space:
mode:
authorGravatar Janak Ramakrishnan <janakr@google.com>2016-01-07 17:07:29 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-01-07 20:20:07 +0000
commit5b5f22aca935fbfdefbcee57004fec5cedb81751 (patch)
tree34f03e71984ffcf460c74163774f64f782bb858e /src/main/java/com/google/devtools/build/lib/query2/engine
parentefe22ec3338a82a0e4c3f5c256f5f86a27fc4f4e (diff)
Stream results of targets below directory to a callback rather than returning a ResolvedTargets set.
This is the first step in a series to allow processing large sets of targets in query target patterns via streaming batches rather than all at once. This should be a functional no-op. -- MOS_MIGRATED_REVID=111609309
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2/engine')
-rw-r--r--src/main/java/com/google/devtools/build/lib/query2/engine/Callback.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/query2/engine/Callback.java b/src/main/java/com/google/devtools/build/lib/query2/engine/Callback.java
index ef9c3cde18..925fe57aeb 100644
--- a/src/main/java/com/google/devtools/build/lib/query2/engine/Callback.java
+++ b/src/main/java/com/google/devtools/build/lib/query2/engine/Callback.java
@@ -18,6 +18,7 @@ package com.google.devtools.build.lib.query2.engine;
* result. Assuming the {@code QueryEnvironment} supports it, it would allow the caller
* to stream the results.
*/
+// TODO(janakr): have this inherit from com.google.devtools.build.lib.util.BatchCallback.
public interface Callback<T> {
/**