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 ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable SnapshotQuery.Context<K, V> createContext(@NotNull SimpleQueryContext context) protected @NotNull StringgetDisplayRank(int rank, @NotNull SnapshotQuery.Context<K, V> context) getKey(A actor, @NotNull SnapshotQuery.Context<K, V> context) protected abstract Optional<SnapshotQuery.View<K, V>> Methods inherited from class me.hsgamer.topper.query.simple.SimpleQuery
apply, isSingleName, registerAction, registerActorActionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
SnapshotQuery
-
SnapshotQuery
protected SnapshotQuery()
-
-
Method Details
-
getView
-
getKey
-
getDisplayRank
@NotNull protected @NotNull String getDisplayRank(int rank, @NotNull @NotNull SnapshotQuery.Context<K, V> context) -
createContext
@Nullable protected @Nullable SnapshotQuery.Context<K,V> createContext(@NotNull @NotNull SimpleQueryContext context) - Specified by:
createContextin classSimpleQuery<A,SnapshotQuery.Context<K, V>>
-