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