Package com.gengoai.graph
Class Vertex.VertexBuilder
- java.lang.Object
-
- com.gengoai.graph.Vertex.VertexBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vertex
build()
Build vertex.Vertex.VertexBuilder
clearProperties()
Clear properties vertex builder.Vertex.VertexBuilder
label(String label)
Label vertex builder.Vertex.VertexBuilder
properties(Map<? extends String,? extends String> properties)
Properties vertex builder.Vertex.VertexBuilder
property(String propertyKey, String propertyValue)
Property vertex builder.String
toString()
-
-
-
Method Detail
-
build
public Vertex build()
Build vertex.- Returns:
- the vertex
-
clearProperties
public Vertex.VertexBuilder clearProperties()
Clear properties vertex builder.- Returns:
- the vertex builder
-
label
public Vertex.VertexBuilder label(String label)
Label vertex builder.- Parameters:
label
- the label- Returns:
- the vertex builder
-
properties
public Vertex.VertexBuilder properties(Map<? extends String,? extends String> properties)
Properties vertex builder.- Parameters:
properties
- the properties- Returns:
- the vertex builder
-
property
public Vertex.VertexBuilder property(String propertyKey, String propertyValue)
Property vertex builder.- Parameters:
propertyKey
- the property keypropertyValue
- the property value- Returns:
- the vertex builder
-
-