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 SummaryFields 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- 
graphsonpublic 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
 
 - 
gryopublic 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
 
 - 
graphmlpublic 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
 
 - 
readerpublic 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.
 - 
writerpublic 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.
 - 
registrypublic 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.
 
- 
 
-