Class IO
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.IO
Fields that can be provided to the
GraphTraversalSource.io(String) using the
GraphTraversal.with(String,Object) step modulator to provide additional configurations.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringThe specificGraphReaderinstance to use, the name of the fully qualified classname of such an instance or one ofgraphson,gryoorgraphml.static final StringA key that identifies the fully qualified class names ofIoRegistryinstances to use.static final StringThe specificGraphWriterinstance to use, the name of the fully qualified classname of such an instance or one ofgraphson,gryoorgraphml. -
Method Summary
-
Field Details
-
graphson
A value to supply toreaderorwriterto indicate the format to use. Using this shorthand will configure a defaultGraphSONReaderorGraphSONWriterrespectively,- See Also:
-
gryo
A value to supply toreaderorwriterto indicate the format to use. Using this shorthand will configure a defaultGryoReaderorGryoWriterrespectively,- See Also:
-
graphml
A value to supply toreaderorwriterto indicate the format to use. Using this shorthand will configure a defaultGraphMLReaderorGraphMLWriterrespectively,- See Also:
-
reader
The specificGraphReaderinstance to use, the name of the fully qualified classname of such an instance or one ofgraphson,gryoorgraphml. If this value is not specified thenGraphTraversalSource.io(String)will attempt to construct a defaultGraphReaderbased on the file extension provided to it. -
writer
The specificGraphWriterinstance to use, the name of the fully qualified classname of such an instance or one ofgraphson,gryoorgraphml. If this value is not specified thenGraphTraversalSource.io(String)will attempt to construct a defaultGraphWriterbased on the file extension provided to it. -
registry
A key that identifies the fully qualified class names ofIoRegistryinstances to use. May be specified multiple times (i.e. once for each registry) using theGraphTraversal.with(String, Object)modulator.
-