AutoCloseable
FramedTxGraph
, WrappedFramedGraph<G>
, WrappedFramedTxGraph<G>
DelegatingFramedGraph
public interface FramedGraph extends AutoCloseable
Modifier and Type | Method | Description |
---|---|---|
TEdge |
addFramedEdge(VertexFrame source,
VertexFrame destination,
String label) |
Add a edge to the graph using a frame type of
TEdge . |
<T> T |
addFramedEdge(VertexFrame source,
VertexFrame destination,
String label,
ClassInitializer<T> initializer,
Object... keyValues) |
Add a edge to the graph
|
<T> T |
addFramedEdge(VertexFrame source,
VertexFrame destination,
String label,
Class<T> kind) |
Add a edge to the graph
|
TEdge |
addFramedEdgeExplicit(VertexFrame source,
VertexFrame destination,
String label) |
Add a edge to the graph using a frame type of
TEdge . |
<T> T |
addFramedEdgeExplicit(VertexFrame source,
VertexFrame destination,
String label,
ClassInitializer<T> initializer) |
Add a edge to the graph
This will bypass the default type resolution and use the untyped resolver
instead.
|
<T> T |
addFramedEdgeExplicit(VertexFrame source,
VertexFrame destination,
String label,
Class<T> kind) |
Add a edge to the graph
This will bypass the default type resolution and use the untyped resolver
instead.
|
TVertex |
addFramedVertex() |
Add a vertex to the graph using a frame type of
TVertex . |
<T> T |
addFramedVertex(ClassInitializer<T> initializer,
Object... keyValues) |
Add a vertex to the graph
|
<T> T |
addFramedVertex(Class<T> kind) |
Add a vertex to the graph
|
TVertex |
addFramedVertexExplicit() |
Add a vertex to the graph using a frame type of
TVertex . |
<T> T |
addFramedVertexExplicit(ClassInitializer<T> initializer) |
Add a vertex to the graph
This will bypass the default type resolution and use the untyped resolver
instead.
|
<T> T |
addFramedVertexExplicit(Class<T> kind) |
Add a vertex to the graph
This will bypass the default type resolution and use the untyped resolver
instead.
|
void |
close() |
Close the delegate graph.
|
<T> Iterator<? extends T> |
frame(Iterator<? extends org.apache.tinkerpop.gremlin.structure.Element> pipeline,
Class<T> kind) |
|
<T> T |
frameElement(org.apache.tinkerpop.gremlin.structure.Element e,
Class<T> kind) |
|
<T> T |
frameElementExplicit(org.apache.tinkerpop.gremlin.structure.Element e,
Class<T> kind) |
|
<T> Iterator<? extends T> |
frameExplicit(Iterator<? extends org.apache.tinkerpop.gremlin.structure.Element> pipeline,
Class<T> kind) |
|
<T> T |
frameNewElement(org.apache.tinkerpop.gremlin.structure.Element e,
ClassInitializer<T> initializer) |
|
<T> T |
frameNewElement(org.apache.tinkerpop.gremlin.structure.Element e,
Class<T> kind) |
|
<T> T |
frameNewElementExplicit(org.apache.tinkerpop.gremlin.structure.Element e,
ClassInitializer<T> initializer) |
|
<T> T |
frameNewElementExplicit(org.apache.tinkerpop.gremlin.structure.Element e,
Class<T> kind) |
|
FrameFactory |
getBuilder() |
|
<T> Iterator<? extends T> |
getFramedEdges(Class<T> kind) |
|
<T> Iterator<? extends T> |
getFramedEdges(String key,
Object value,
Class<T> kind) |
|
<T> Iterator<? extends T> |
getFramedEdgesExplicit(Class<T> kind) |
|
<T> Iterator<? extends T> |
getFramedEdgesExplicit(String key,
Object value,
Class<T> kind) |
|
<T> T |
getFramedVertex(Class<T> kind,
Object id) |
|
<T> T |
getFramedVertexExplicit(Class<T> kind,
Object id) |
|
<T> Iterator<? extends T> |
getFramedVertices(Class<T> kind) |
|
<T> Iterator<? extends T> |
getFramedVertices(String key,
Object value,
Class<T> kind) |
|
<T> Iterator<? extends T> |
getFramedVerticesExplicit(Class<T> kind) |
|
<T> Iterator<? extends T> |
getFramedVerticesExplicit(String key,
Object value,
Class<T> kind) |
|
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource |
getRawTraversal() |
|
TypeResolver |
getTypeResolver() |
|
<T extends Traversable<?,?>> |
traverse(Function<org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource,org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,?>> traverser) |
|
WrappedTransaction |
tx() |
TypeResolver getTypeResolver()
FrameFactory getBuilder()
void close() throws IOException
close
in interface AutoCloseable
IOException
- Whenever an IO problem prevents the stream from closing.<T> T addFramedVertex(ClassInitializer<T> initializer, Object... keyValues)
T
- The type used to frame the element.initializer
- the initializer for the frame which defines its type and may initialize propertieskeyValues
- the recommended object identifier<T> T addFramedVertex(Class<T> kind)
T
- The type used to frame the element.kind
- The kind of the frame.<T> T addFramedVertexExplicit(ClassInitializer<T> initializer)
T
- The type used to frame the element.initializer
- the initializer for the frame which defines its type and may initialize properties<T> T addFramedVertexExplicit(Class<T> kind)
T
- The type used to frame the element.kind
- The kind of the frame.TVertex addFramedVertex()
TVertex
.TVertex addFramedVertexExplicit()
TVertex
.
This will bypass the default type resolution and use the untyped resolver
instead. This method is useful for speeding up a look up when type resolution
isn't required.<T> T addFramedEdge(VertexFrame source, VertexFrame destination, String label, ClassInitializer<T> initializer, Object... keyValues)
T
- The type used to frame the element.source
- the source vertexdestination
- the destination vertexlabel
- the label.initializer
- the initializer for the frame which defines its type and may initialize propertieskeyValues
- the recommended object identifier<T> T addFramedEdge(VertexFrame source, VertexFrame destination, String label, Class<T> kind)
T
- The type used to frame the element.source
- The source vertexdestination
- the destination vertexlabel
- the label.kind
- The kind of the frame.<T> T addFramedEdgeExplicit(VertexFrame source, VertexFrame destination, String label, ClassInitializer<T> initializer)
T
- The type used to frame the element.source
- The source vertexdestination
- the destination vertexlabel
- the label.initializer
- the initializer for the frame which defines its type and may initialize properties<T> T addFramedEdgeExplicit(VertexFrame source, VertexFrame destination, String label, Class<T> kind)
T
- The type used to frame the element.source
- The source vertexdestination
- the destination vertexlabel
- the label.kind
- The kind of the frame.TEdge addFramedEdge(VertexFrame source, VertexFrame destination, String label)
TEdge
.source
- The source vertexdestination
- the destination vertexlabel
- the label.TEdge addFramedEdgeExplicit(VertexFrame source, VertexFrame destination, String label)
TEdge
.
This will bypass the default type resolution and use the untyped resolver
instead. This method is useful for speeding up a look up when type resolution
isn't required.source
- The source vertexdestination
- the destination vertexlabel
- the label.<T extends Traversable<?,?>> T traverse(Function<org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource,org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal<?,?>> traverser)
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource getRawTraversal()
<T> Iterator<? extends T> getFramedVertices(String key, Object value, Class<T> kind)
<T> Iterator<? extends T> getFramedVerticesExplicit(String key, Object value, Class<T> kind)
<T> Iterator<? extends T> getFramedEdgesExplicit(String key, Object value, Class<T> kind)
<T> Iterator<? extends T> frame(Iterator<? extends org.apache.tinkerpop.gremlin.structure.Element> pipeline, Class<T> kind)
<T> T frameNewElement(org.apache.tinkerpop.gremlin.structure.Element e, ClassInitializer<T> initializer)
<T> T frameNewElement(org.apache.tinkerpop.gremlin.structure.Element e, Class<T> kind)
<T> T frameElement(org.apache.tinkerpop.gremlin.structure.Element e, Class<T> kind)
<T> T frameNewElementExplicit(org.apache.tinkerpop.gremlin.structure.Element e, ClassInitializer<T> initializer)
<T> T frameNewElementExplicit(org.apache.tinkerpop.gremlin.structure.Element e, Class<T> kind)
<T> T frameElementExplicit(org.apache.tinkerpop.gremlin.structure.Element e, Class<T> kind)
<T> Iterator<? extends T> frameExplicit(Iterator<? extends org.apache.tinkerpop.gremlin.structure.Element> pipeline, Class<T> kind)
WrappedTransaction tx()
Copyright © 2018 Syncleus. All rights reserved.