Class StringFactory
java.lang.Object
org.apache.tinkerpop.gremlin.structure.util.StringFactory
A collection of helpful methods for creating standard
Object.toString() representations of graph-related
objects.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomputeResultString(ComputerResult computerResult) static StringedgeString(Edge edge) Construct the representation for aEdge.static StringfeatureString(Graph.Features features) static StringgraphComputerString(GraphComputer graphComputer) static StringgraphString(Graph graph, String internalString) Construct the representation for aGraph.static StringgraphVariablesString(Graph.Variables variables) static StringmapReduceString(MapReduce mapReduce) static StringmapReduceString(MapReduce mapReduce, String internalString) static StringmemoryString(Memory memory) static StringpathString(Path path) static StringpropertyString(Property property) Construct the representation for aPropertyorVertexProperty.static StringremoveEndBrackets(Collection collection) static StringstepString(Step<?, ?> step, Object... arguments) static StringstorageString(String internalString) static StringtraversalSideEffectsString(TraversalSideEffects traversalSideEffects) static StringtraversalSourceString(TraversalSource traversalSource) static StringtraversalStrategiesString(TraversalStrategies traversalStrategies) static StringtraversalStrategyProxyString(TraversalStrategyProxy traversalStrategyProxy) static StringtraversalStrategyString(TraversalStrategy traversalStrategy) static StringtraversalString(Traversal.Admin<?, ?> traversal) static StringvertexProgramString(VertexProgram vertexProgram) static StringvertexProgramString(VertexProgram vertexProgram, String internalString) static StringvertexString(Vertex vertex) Construct the representation for aVertex.
-
Method Details
-
vertexString
Construct the representation for aVertex. -
edgeString
Construct the representation for aEdge. -
propertyString
Construct the representation for aPropertyorVertexProperty. -
graphString
Construct the representation for aGraph.- Parameters:
internalString- a mapperStringthat appends to the end of the standard representation
-
graphVariablesString
-
memoryString
-
computeResultString
-
graphComputerString
-
traversalSourceString
-
featureString
-
traversalSideEffectsString
-
traversalStrategiesString
-
traversalStrategyString
-
traversalStrategyProxyString
-
vertexProgramString
-
vertexProgramString
-
mapReduceString
-
mapReduceString
-
stepString
-
traversalString
-
storageString
-
removeEndBrackets
-
pathString
-