ToFreqMap

See javadoc - uk.gov.gchq.gaffer.types.function.ToFreqMap

Available since Gaffer version 1.8.0

Creates a new FreqMap and upserts a given value

Examples

To freq map

Java
JSON
Full JSON
Python
Function toFreqMap = new ToFreqMap();
{
  "class" : "ToFreqMap"
}
{
  "class" : "uk.gov.gchq.gaffer.types.function.ToFreqMap"
}
g.ToFreqMap()

Input type:

java.lang.Object

Example inputs:

Input TypeInputResult TypeResult
java.lang.StringaStringuk.gov.gchq.gaffer.types.FreqMap{aString=1}
java.lang.Long100uk.gov.gchq.gaffer.types.FreqMap{100=1}
java.lang.Integer20uk.gov.gchq.gaffer.types.FreqMap{20=1}
uk.gov.gchq.gaffer.types.TypeValueTypeValue[type=type1,value=value1]uk.gov.gchq.gaffer.types.FreqMap{TypeValue[type=type1,value=value1]=1}
nulluk.gov.gchq.gaffer.types.FreqMap{null=1}

results matching ""

    No results matching ""