MCPcopy Index your code
hub / github.com/dig-team/AMIE / IQueryFunction

Interface IQueryFunction

kb/src/main/java/amie/data/remote/QueryProcessing.java:17–25  ·  view source on GitHub ↗

Generic interface to implement query functions. @param Query type. @param Response type.

Source from the content-addressed store, hash-verified

15 * @param <R> Response type.
16 */
17 public interface IQueryFunction<Q, R> {
18 /**
19 * Runs query.
20 *
21 * @param query Query instance.
22 * @return Result.
23 */
24 R runQuery(Q query);
25 }
26
27 /**
28 * Processes JSON Query and returns the answer fetched either through cache or by running query on remote KB server.

Callers 1

processQueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected