Class AggStateMap<I,E,K,V>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.agg.state.impl.AggStateMap<I,E,K,V>
- All Implemented Interfaces:
AggState<I,,E> AggStateGon<I,,E, K, V> AggStateTransition<I,,E, K, V> AggStateTypeProduceEntry<I,E, K, V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BiFunction<I,E, ? extends K> protected Objectprotected AggStateGon<I,E, K, V> protected BiPredicate<I,E> -
Constructor Summary
ConstructorsConstructorDescriptionAggStateMap(Object matchStateId, BiFunction<I, E, ? extends K> inputToKeyMapper, BiPredicate<I, E> testIfSingle, AggStateGon<I, E, K, V> subAgg) -
Method Summary
Modifier and TypeMethodDescriptionAn edge-based aggregator must declare which state id it matchesstatic <I,E, K, V> AggStateMap<I, E, K, V> of(Object matchStateId, BiFunction<I, E, ? extends K> inputToKeyMapper, BiPredicate<I, E> testIfSingle, AggStateGon<I, E, K, V> subAgg) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AggStateTypeProduceEntry
getGonType
-
Field Details
-
matchStateId
-
inputToKeyMapper
-
testIfSingle
-
subAgg
-
-
Constructor Details
-
AggStateMap
public AggStateMap(Object matchStateId, BiFunction<I, E, ? extends K> inputToKeyMapper, BiPredicate<I, E> testIfSingle, AggStateGon<I, E, K, V> subAgg)
-
-
Method Details
-
of
public static <I,E, AggStateMap<I,K, V> E, ofK, V> (Object matchStateId, BiFunction<I, E, ? extends K> inputToKeyMapper, BiPredicate<I, E> testIfSingle, AggStateGon<I, E, K, V> subAgg) -
newAccumulator
Description copied from interface:AggStateTypeProduceEntryAn edge-based aggregator must declare which state id it matches- Specified by:
newAccumulatorin interfaceAggState<I,E> - Specified by:
newAccumulatorin interfaceAggStateGon<I,E, K, V> - Specified by:
newAccumulatorin interfaceAggStateTransition<I,E, K, V> - Specified by:
newAccumulatorin interfaceAggStateTypeProduceEntry<I,E, K, V>
-
getMatchStateId
- Specified by:
getMatchStateIdin interfaceAggStateTransition<I,E, K, V>
-