Package me.hsgamer.topper.query.core
Class QueryManager<K,V,H extends DataHolder<K,V>,A>
- java.lang.Object
-
- me.hsgamer.topper.query.core.QueryManager<K,V,H,A>
-
- Direct Known Subclasses:
SnapshotQueryManager
public abstract class QueryManager<K,V,H extends DataHolder<K,V>,A> extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @Nullable String
get(A actor, String query)
protected abstract Optional<H>
getHolder(String name)
protected void
registerAction(String name, QueryAction<K,V,H,A> action)
protected void
registerActorFunction(String name, BiFunction<@NotNull A,@NotNull H,@Nullable String> function)
protected void
registerFunction(String name, BiFunction<@NotNull H,@NotNull String,@Nullable String> function)
-
-
-
Method Detail
-
registerFunction
protected void registerFunction(String name, BiFunction<@NotNull H,@NotNull String,@Nullable String> function)
-
registerActorFunction
protected void registerActorFunction(String name, BiFunction<@NotNull A,@NotNull H,@Nullable String> function)
-
-