Class BuiltinGraphFactory
- java.lang.Object
-
- org.apache.hugegraph.computer.core.graph.BuiltinGraphFactory
-
- All Implemented Interfaces:
org.apache.hugegraph.computer.core.graph.GraphFactory
public final class BuiltinGraphFactory extends java.lang.Object implements org.apache.hugegraph.computer.core.graph.GraphFactory
-
-
Constructor Summary
Constructors Constructor Description BuiltinGraphFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hugegraph.computer.core.graph.edge.EdgecreateEdge()org.apache.hugegraph.computer.core.graph.edge.EdgecreateEdge(java.lang.String label, java.lang.String name, org.apache.hugegraph.computer.core.graph.id.Id targetId)org.apache.hugegraph.computer.core.graph.edge.EdgecreateEdge(java.lang.String label, org.apache.hugegraph.computer.core.graph.id.Id targetId)org.apache.hugegraph.computer.core.graph.edge.EdgecreateEdge(org.apache.hugegraph.computer.core.graph.id.Id targetId)org.apache.hugegraph.computer.core.graph.edge.EdgescreateEdges()org.apache.hugegraph.computer.core.graph.edge.EdgescreateEdges(int capacity)org.apache.hugegraph.computer.core.graph.id.IdcreateId()org.apache.hugegraph.computer.core.graph.id.IdcreateId(long id)org.apache.hugegraph.computer.core.graph.id.IdcreateId(java.lang.String id)org.apache.hugegraph.computer.core.graph.id.IdcreateId(java.util.UUID id)<V> java.util.List<V>createList()<V> java.util.List<V>createList(int capacity)<K,V>
java.util.Map<K,V>createMap()org.apache.hugegraph.computer.core.graph.properties.PropertiescreateProperties()<V> java.util.Set<V>createSet()<V> java.util.Set<V>createSet(int capacity)org.apache.hugegraph.computer.core.graph.value.ValuecreateValue(byte code)org.apache.hugegraph.computer.core.graph.value.ValuecreateValue(org.apache.hugegraph.computer.core.graph.value.ValueType type)Create property value by type.org.apache.hugegraph.computer.core.graph.vertex.VertexcreateVertex()<V extends org.apache.hugegraph.computer.core.graph.value.Value>
org.apache.hugegraph.computer.core.graph.vertex.VertexcreateVertex(java.lang.String label, org.apache.hugegraph.computer.core.graph.id.Id id, V value)<V extends org.apache.hugegraph.computer.core.graph.value.Value>
org.apache.hugegraph.computer.core.graph.vertex.VertexcreateVertex(org.apache.hugegraph.computer.core.graph.id.Id id, V value)
-
-
-
Method Detail
-
createId
public org.apache.hugegraph.computer.core.graph.id.Id createId()
- Specified by:
createIdin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createId
public org.apache.hugegraph.computer.core.graph.id.Id createId(long id)
- Specified by:
createIdin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createId
public org.apache.hugegraph.computer.core.graph.id.Id createId(java.lang.String id)
- Specified by:
createIdin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createId
public org.apache.hugegraph.computer.core.graph.id.Id createId(java.util.UUID id)
- Specified by:
createIdin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createVertex
public org.apache.hugegraph.computer.core.graph.vertex.Vertex createVertex()
- Specified by:
createVertexin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createVertex
public <V extends org.apache.hugegraph.computer.core.graph.value.Value> org.apache.hugegraph.computer.core.graph.vertex.Vertex createVertex(org.apache.hugegraph.computer.core.graph.id.Id id, V value)- Specified by:
createVertexin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createVertex
public <V extends org.apache.hugegraph.computer.core.graph.value.Value> org.apache.hugegraph.computer.core.graph.vertex.Vertex createVertex(java.lang.String label, org.apache.hugegraph.computer.core.graph.id.Id id, V value)- Specified by:
createVertexin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createEdges
public org.apache.hugegraph.computer.core.graph.edge.Edges createEdges()
- Specified by:
createEdgesin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createEdges
public org.apache.hugegraph.computer.core.graph.edge.Edges createEdges(int capacity)
- Specified by:
createEdgesin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createEdge
public org.apache.hugegraph.computer.core.graph.edge.Edge createEdge()
- Specified by:
createEdgein interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createEdge
public org.apache.hugegraph.computer.core.graph.edge.Edge createEdge(org.apache.hugegraph.computer.core.graph.id.Id targetId)
- Specified by:
createEdgein interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createEdge
public org.apache.hugegraph.computer.core.graph.edge.Edge createEdge(java.lang.String label, org.apache.hugegraph.computer.core.graph.id.Id targetId)- Specified by:
createEdgein interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createEdge
public org.apache.hugegraph.computer.core.graph.edge.Edge createEdge(java.lang.String label, java.lang.String name, org.apache.hugegraph.computer.core.graph.id.Id targetId)- Specified by:
createEdgein interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createList
public <V> java.util.List<V> createList()
- Specified by:
createListin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createList
public <V> java.util.List<V> createList(int capacity)
- Specified by:
createListin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createSet
public <V> java.util.Set<V> createSet()
- Specified by:
createSetin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createSet
public <V> java.util.Set<V> createSet(int capacity)
- Specified by:
createSetin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createMap
public <K,V> java.util.Map<K,V> createMap()
- Specified by:
createMapin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createProperties
public org.apache.hugegraph.computer.core.graph.properties.Properties createProperties()
- Specified by:
createPropertiesin interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createValue
public org.apache.hugegraph.computer.core.graph.value.Value createValue(byte code)
- Specified by:
createValuein interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
createValue
public org.apache.hugegraph.computer.core.graph.value.Value createValue(org.apache.hugegraph.computer.core.graph.value.ValueType type)
Create property value by type.- Specified by:
createValuein interfaceorg.apache.hugegraph.computer.core.graph.GraphFactory
-
-