Package uk.gov.gchq.gaffer.types.function
Function classes for interacting with the Gaffer types classes.
-
Class Summary Class Description FreqMapAggregator AnFreqMapAggregator
is aKorypheBinaryOperator
that takes inFreqMap
s and merges the frequencies together.FreqMapExtractor AFreqMapExtractor
is aKorypheFunction
that extracts a count from a frequency map for the provided key.FreqMapPredicator AFreqMapPredicator
is aKorypheFunction
that extracts a a clone of the current frequency map provided a validKoryphePredicate
.IterableToFreqMap AnIterableToFreqMap
is a Function which creates a FreqMap from an Iterable of Strings.StringsToTypeSubTypeValue AStringsToTypeSubTypeValue
is aKorypheFunction3
that converts 3 strings: type, sub type and value into aTypeSubTypeValue
.StringsToTypeValue AStringsToTypeSubTypeValue
is aKorypheFunction2
that converts 2 strings: type and value into aTypeValue
.ToFreqMap AToFreqMap
is aKorypheFunction
that creates a new FreqMap and upserts a given value.ToTypeSubTypeValue AToTypeSubTypeValue
is aKorypheFunction
that converts a value into aTypeSubTypeValue
, by setting the Type and SubType to null (or the provided strings) and the Value to the input value.ToTypeValue AToTypeValue
is aKorypheFunction
that converts a value into aTypeValue
, by setting the Type to null (or the provided string) and the Value to the input value.