blob: a6e99784ed85a67e6d8da977a105b947f56486ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
*
* SPDX-License-Identifier: EPL-2.0
*/
package tools.refinery.store.query.resultset;
import tools.refinery.store.map.Cursor;
import tools.refinery.store.query.dnf.Query;
import tools.refinery.store.tuple.Tuple;
public non-sealed interface ResultSet<T> extends AnyResultSet {
Query<T> getCanonicalQuery();
T get(Tuple parameters);
Cursor<Tuple, T> getAll();
void addListener(ResultSetListener<T> listener);
void removeListener(ResultSetListener<T> listener);
}
|