public static interface JanusGraphManagement.IndexBuilder
JanusGraphIndex. Allows for the configuration of a graph index prior to its construction.| Modifier and Type | Method and Description |
|---|---|
JanusGraphManagement.IndexBuilder |
addKey(PropertyKey key)
Adds the given key to the composite key of this index
|
JanusGraphManagement.IndexBuilder |
addKey(PropertyKey key,
Parameter... parameters)
Adds the given key and associated parameters to the composite key of this index
|
JanusGraphIndex |
buildCompositeIndex()
Builds a composite index according to the specification
|
JanusGraphIndex |
buildMixedIndex(String backingIndex)
Builds a mixed index according to the specification against the backend index with the given name (i.e.
|
JanusGraphManagement.IndexBuilder |
indexOnly(JanusGraphSchemaType schemaType)
Restricts this index to only those elements that have the provided schemaType.
|
JanusGraphManagement.IndexBuilder |
unique()
Makes this a unique index for the configured element type,
i.e.
|
JanusGraphManagement.IndexBuilder addKey(PropertyKey key)
key - JanusGraphManagement.IndexBuilder addKey(PropertyKey key, Parameter... parameters)
key - parameters - JanusGraphManagement.IndexBuilder indexOnly(JanusGraphSchemaType schemaType)
schemaType - JanusGraphManagement.IndexBuilder unique()
JanusGraphIndex buildCompositeIndex()
JanusGraphIndexJanusGraphIndex buildMixedIndex(String backingIndex)
backingIndex - the name of the mixed indexJanusGraphIndexCopyright © 2012–2023. All rights reserved.