java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.GValueHelper
public class GValueHelper
extends Object
Utility class for
GValue helper methods
Method Summary
All Methods Static Methods Concrete Methods
Extracts a mutable set of
GValues found from the given property map that can contain values that are
GValues.
Resolves given properties by extracting values from any
GValue property values.
Resolves given properties by extracting values from any
GValue property values.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Method Details
resolveProperties
Resolves given properties by extracting values from any
GValue property values.
It is assumed that the property keys are not
GValues.
Parameters:
properties - map of properties which may have values which are GValue s
Returns:
map of properties with GValue s resolved to their values
resolveProperties
Resolves given properties by extracting values from any
GValue property values. It is assumed that the property keys are not
GValues.
Parameters:
properties - map of properties which may have values which are GValue s
gValueConsumer - a Consumer that will be called for each GValue found in the given properties
Returns:
map of properties with GValue s resolved to their values
getGValuesFromProperties
Extracts a mutable set of
GValues found from the given property map that can contain values that are
GValues.
It is assumed that the property keys are not
GValues.
Parameters:
properties - map of properties which may have values which are GValue s
Returns:
a set of GValue property values which were found in the given property map