public final class FakeObjects extends Object
| 构造器和说明 |
|---|
FakeObjects() |
FakeObjects(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
HugeGraph |
graph() |
static HugeConfig |
newConfig() |
HugeEdge |
newEdge(long sourceVertexId,
long targetVertexId) |
EdgeLabel |
newEdgeLabel(Id id,
String name,
Frequency frequency,
Id sourceLabel,
Id targetLabel,
Id... properties) |
IndexLabel |
newIndexLabel(Id id,
String name,
HugeType baseType,
Id baseValue,
IndexType indexType,
Id... fields) |
PropertyKey |
newPropertyKey(Id id,
String name) |
PropertyKey |
newPropertyKey(Id id,
String name,
DataType dataType) |
PropertyKey |
newPropertyKey(Id id,
String name,
DataType dataType,
Cardinality cardinality) |
VertexLabel |
newVertexLabel(Id id,
String name,
IdStrategy idStrategy,
Id... properties) |
public FakeObjects(String name)
public FakeObjects()
public static HugeConfig newConfig()
public HugeGraph graph()
public PropertyKey newPropertyKey(Id id, String name)
public PropertyKey newPropertyKey(Id id, String name, DataType dataType)
public PropertyKey newPropertyKey(Id id, String name, DataType dataType, Cardinality cardinality)
public VertexLabel newVertexLabel(Id id, String name, IdStrategy idStrategy, Id... properties)
public EdgeLabel newEdgeLabel(Id id, String name, Frequency frequency, Id sourceLabel, Id targetLabel, Id... properties)
public IndexLabel newIndexLabel(Id id, String name, HugeType baseType, Id baseValue, IndexType indexType, Id... fields)
public HugeEdge newEdge(long sourceVertexId, long targetVertexId)
Copyright © 2017–2021. All rights reserved.