Package me.hsgamer.topper.query.snapshot
Class SnapshotQuery<K,V,A>
java.lang.Object
me.hsgamer.topper.query.simple.SimpleQuery<A,SnapshotQuery.Context<K,V>>
me.hsgamer.topper.query.snapshot.SnapshotQuery<K,V,A>
- All Implemented Interfaces:
BiFunction<A,
,String, QueryResult> Query<A>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Optional
<SnapshotAgent<K, V>> protected Optional
<SnapshotQuery.Context<K, V>> getContext
(@NotNull String query) protected abstract Optional
<SimpleQueryDisplay<K, V>> getDisplay
(@NotNull String name) protected @NotNull String
getDisplayRank
(int rank, @NotNull SnapshotQuery.Context<K, V> context) getKey
(A actor, @NotNull SnapshotQuery.Context<K, V> context) protected boolean
Methods inherited from class me.hsgamer.topper.query.simple.SimpleQuery
apply, registerAction, registerActorAction
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
SnapshotQuery
protected SnapshotQuery()
-
-
Method Details
-
getAgent
-
getDisplay
-
isSingleAgent
protected boolean isSingleAgent() -
getKey
-
getDisplayRank
@NotNull protected @NotNull String getDisplayRank(int rank, @NotNull @NotNull SnapshotQuery.Context<K, V> context) -
getContext
- Specified by:
getContext
in classSimpleQuery<A,
SnapshotQuery.Context<K, V>>
-