ExtractWalkVertex

See javadoc - uk.gov.gchq.gaffer.data.graph.function.walk.ExtractWalkVertex

Available since Gaffer version 1.3.0

Extracts the source vertex from a Walk

Examples

Extract vertex from walk

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

Input type:

uk.gov.gchq.gaffer.data.graph.Walk

Example inputs:

Input TypeInputResult TypeResult
uk.gov.gchq.gaffer.data.graph.Walk[[Edge[source=A,destination=B,directed=true,group=BasicEdge,properties=Properties[]]], [Edge[source=B,destination=C,directed=true,group=EnhancedEdge,properties=Properties[]], Edge[source=B,destination=C,directed=true,group=BasicEdge,properties=Properties[]]], [Edge[source=C,destination=A,directed=true,group=BasicEdge,properties=Properties[]]]]java.lang.StringA

results matching ""

    No results matching ""