Package com.djrapitops.plan
Class DataSvc
java.lang.Object
com.djrapitops.plan.DataSvc
- All Implemented Interfaces:
DataService
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.djrapitops.plan.DataService
DataService.Pipeline -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<K,A, B> Optional <B> <K,T> Optional <T> <T> Optional<T> pullWithoutId(Class<T> type) <K,T> void <K,T> DataService registerDatabasePullSource(Class<K> identifierType, Class<T> type, Function<K, Query<T>> source) <T> DataServiceregisterDatabasePullSource(Class<T> type, Supplier<Query<T>> source) <K,T> DataService registerDatabaseSink(Class<K> identifierType, Class<T> type, BiFunction<K, T, Transaction> consumer) <K,A, B> DataService registerMapper(Class<K> identifierType, Class<A> from, Class<B> to, BiFunction<K, A, B> mapper) <K,A, B> DataService registerMapper(Class<K> identifierType, Class<A> from, Class<B> to, Function<A, B> mapper) <K,Y, A, B>
DataServiceregisterMapper(Class<K> fromIdentifier, Class<A> from, Class<Y> toIdentifier, Class<B> to, TriConsumer<K, A, BiConsumer<Y, B>> mapper) <K,T> DataService registerPullSource(Class<K> identifierType, Class<T> type, Function<K, T> source) <T> DataServiceregisterPullSource(Class<T> type, Supplier<T> source) <K,T> DataService registerSink(Class<K> identifierType, Class<T> type, BiConsumer<K, T> consumer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.djrapitops.plan.DataService
push, registerDataServiceMapper, registerOptionalMapper, registerOptionalPullSource
-
Constructor Details
-
DataSvc
-
-
Method Details
-
push
- Specified by:
pushin interfaceDataService
-
map
- Specified by:
mapin interfaceDataService
-
registerMapper
public <K,A, DataService registerMapperB> (Class<K> identifierType, Class<A> from, Class<B> to, BiFunction<K, A, B> mapper) - Specified by:
registerMapperin interfaceDataService
-
registerMapper
public <K,A, DataService registerMapperB> (Class<K> identifierType, Class<A> from, Class<B> to, Function<A, B> mapper) - Specified by:
registerMapperin interfaceDataService
-
registerMapper
public <K,Y, DataService registerMapperA, B> (Class<K> fromIdentifier, Class<A> from, Class<Y> toIdentifier, Class<B> to, TriConsumer<K, A, BiConsumer<Y, B>> mapper) - Specified by:
registerMapperin interfaceDataService
-
registerSink
public <K,T> DataService registerSink(Class<K> identifierType, Class<T> type, BiConsumer<K, T> consumer) - Specified by:
registerSinkin interfaceDataService
-
registerDatabaseSink
public <K,T> DataService registerDatabaseSink(Class<K> identifierType, Class<T> type, BiFunction<K, T, Transaction> consumer) - Specified by:
registerDatabaseSinkin interfaceDataService
-
pull
- Specified by:
pullin interfaceDataService
-
pullWithoutId
- Specified by:
pullWithoutIdin interfaceDataService
-
registerPullSource
public <K,T> DataService registerPullSource(Class<K> identifierType, Class<T> type, Function<K, T> source) - Specified by:
registerPullSourcein interfaceDataService
-
registerDatabasePullSource
public <K,T> DataService registerDatabasePullSource(Class<K> identifierType, Class<T> type, Function<K, Query<T>> source) - Specified by:
registerDatabasePullSourcein interfaceDataService
-
registerPullSource
- Specified by:
registerPullSourcein interfaceDataService
-
registerDatabasePullSource
- Specified by:
registerDatabasePullSourcein interfaceDataService
-