public static interface TitanManagement.IndexBuilder
TitanGraphIndex. Allows for the configuration of a graph index prior to its construction.| Modifier and Type | Method and Description |
|---|---|
TitanGraphIndex |
buildExternalIndex(String backingIndex)
Builds an external index according to the specification against the backend index with the given name (i.e.
|
TitanGraphIndex |
buildInternalIndex()
Builds an internal index according to the specification
|
TitanManagement.IndexBuilder |
indexKey(PropertyKey key)
Adds the given key to the composite key of this index
|
TitanManagement.IndexBuilder |
indexKey(PropertyKey key,
Parameter... parameters)
Adds the given key and associated parameters to the composite key of this index
|
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 indexKey(PropertyKey key)
key - TitanManagement.IndexBuilder indexKey(PropertyKey key, Parameter... parameters)
key - parameters - TitanManagement.IndexBuilder indexOnly(TitanSchemaType schemaType)
schemaType - TitanManagement.IndexBuilder unique()
TitanGraphIndex buildInternalIndex()
TitanGraphIndexTitanGraphIndex buildExternalIndex(String backingIndex)
backingIndex - the name of the external indexTitanGraphIndexCopyright © 2012–2014. All rights reserved.