public final class FakeObject extends Object
| Constructor and Description |
|---|
FakeObject() |
| Modifier and Type | Method and Description |
|---|---|
HugeGraph |
graph() |
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 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)
Copyright © 2017–2019. All rights reserved.