ExtractGroup

See javadoc - uk.gov.gchq.gaffer.data.element.function.ExtractGroup

Available since Gaffer version 1.4.0

Extracts a group from an element

Examples

Extract group

The function will simply extract the group from a given Element.

Java
JSON
Full JSON
Python
final ExtractGroup function = new ExtractGroup();
{
  "class" : "ExtractGroup"
}
{
  "class" : "uk.gov.gchq.gaffer.data.element.function.ExtractGroup"
}
g.ExtractGroup()

Input type:

uk.gov.gchq.gaffer.data.element.Element

Example inputs:

Input TypeInputResult TypeResult
uk.gov.gchq.gaffer.data.element.EdgeEdge[source=src,destination=dest,directed=true,group=EdgeGroup,properties=Properties[]]java.lang.StringEdgeGroup
uk.gov.gchq.gaffer.data.element.EntityEntity[vertex=vertex,group=EntityGroup,properties=Properties[]]java.lang.StringEntityGroup
uk.gov.gchq.gaffer.operation.data.EntitySeedEntitySeed[vertex=vertex]ClassCastException: uk.gov.gchq.gaffer.operation.data.EntitySeed cannot be cast to uk.gov.gchq.gaffer.data.element.Element
nullnull

results matching ""

    No results matching ""