ExtractValues

See javadoc - uk.gov.gchq.koryphe.impl.function.ExtractValues

Available since Koryphe version 1.1.0

An ExtractValues will return a Collection of the values from a provided Java Map.

Examples

Extract values from map

Java
JSON
Full JSON
Python
final ExtractValues<String, Integer> function = new ExtractValues<>();
{
  "class" : "ExtractValues"
}
{
  "class" : "uk.gov.gchq.koryphe.impl.function.ExtractValues"
}
g.ExtractValues()

Input type:

java.lang.Object

Example inputs:

Input TypeInputResult TypeResult
java.util.HashMap{theKey=1, theWholeKey=2, nothingButTheKey=3}java.util.HashMap$Values[1, 2, 3]

results matching ""

    No results matching ""