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 String
graphml
static String
graphson
static String
gryo
static String
reader
The specificGraphReader
instance to use, the name of the fully qualified classname of such an instance or one ofgraphson
,gryo
orgraphml
.static String
registry
A key that identifies the fully qualified class names ofIoRegistry
instances to use.static String
writer
The specificGraphWriter
instance to use, the name of the fully qualified classname of such an instance or one ofgraphson
,gryo
orgraphml
.
-
-
-
Field Detail
-
graphson
public static final String graphson
A value to supply toreader
orwriter
to indicate the format to use. Using this shorthand will configure a defaultGraphSONReader
orGraphSONWriter
respectively,- See Also:
- Constant Field Values
-
gryo
public static final String gryo
A value to supply toreader
orwriter
to indicate the format to use. Using this shorthand will configure a defaultGryoReader
orGryoWriter
respectively,- See Also:
- Constant Field Values
-
graphml
public static final String graphml
A value to supply toreader
orwriter
to indicate the format to use. Using this shorthand will configure a defaultGraphMLReader
orGraphMLWriter
respectively,- See Also:
- Constant Field Values
-
reader
public static final String reader
The specificGraphReader
instance to use, the name of the fully qualified classname of such an instance or one ofgraphson
,gryo
orgraphml
. If this value is not specified thenGraphTraversalSource.io(String)
will attempt to construct a defaultGraphReader
based on the file extension provided to it.
-
writer
public static final String writer
The specificGraphWriter
instance to use, the name of the fully qualified classname of such an instance or one ofgraphson
,gryo
orgraphml
. If this value is not specified thenGraphTraversalSource.io(String)
will attempt to construct a defaultGraphWriter
based on the file extension provided to it.
-
registry
public static final String registry
A key that identifies the fully qualified class names ofIoRegistry
instances to use. May be specified multiple times (i.e. once for each registry) using theGraphTraversal.with(String, Object)
modulator.
-
-