public static interface EdgeIndex.Builder
| Modifier and Type | Method and Description |
|---|---|
EdgeIndex |
add() |
default EdgeIndex.Builder |
both()
Sets the direction of the index in both directions
|
EdgeIndex.Builder |
byPropertyKey(java.lang.String propertyKey)
Indexes edges by the given property key
|
EdgeIndex.Builder |
direction(org.apache.tinkerpop.gremlin.structure.Direction direction)
Set the direction in which this index should be apply.
|
EdgeIndex.Builder |
ifNotExists() |
default EdgeIndex.Builder |
in()
Sets the direction of the index in the incoming direction
|
default EdgeIndex.Builder |
out()
Sets the direction of the index in the outgoing direction
|
EdgeIndex add()
EdgeIndex.Builder direction(org.apache.tinkerpop.gremlin.structure.Direction direction)
direction - The direction for this indexdefault EdgeIndex.Builder out()
direction(Direction)default EdgeIndex.Builder in()
direction(Direction)default EdgeIndex.Builder both()
direction(Direction)EdgeIndex.Builder byPropertyKey(java.lang.String propertyKey)
propertyKey - The property key to be indexed on.EdgeIndex.Builder ifNotExists()