Class IO
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.IO
-
public class IO extends Object
Fields that can be provided to theGraphTraversalSource.io(String)using theGraphTraversal.with(String,Object)step modulator to provide additional configurations.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
Fields Modifier and Type Field Description static Stringgraphmlstatic Stringgraphsonstatic Stringgryostatic StringreaderThe specificGraphReaderinstance to use, the name of the fully qualified classname of such an instance or one ofgraphson,gryoorgraphml.static StringregistryA key that identifies the fully qualified class names ofIoRegistryinstances to use.static StringwriterThe specificGraphWriterinstance to use, the name of the fully qualified classname of such an instance or one ofgraphson,gryoorgraphml.
-
-
-
Field Detail
-
graphson
public static final String graphson
A value to supply toreaderorwriterto indicate the format to use. Using this shorthand will configure a defaultGraphSONReaderorGraphSONWriterrespectively,- See Also:
- Constant Field Values
-
gryo
public static final String gryo
A value to supply toreaderorwriterto indicate the format to use. Using this shorthand will configure a defaultGryoReaderorGryoWriterrespectively,- See Also:
- Constant Field Values
-
graphml
public static final String graphml
A value to supply toreaderorwriterto indicate the format to use. Using this shorthand will configure a defaultGraphMLReaderorGraphMLWriterrespectively,- See Also:
- Constant Field Values
-
reader
public static final String 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
public static final String 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
public static final String 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.
-
-