com.thinkaurelius.titan.graphdb.types

## Interface IndexType

- All Known Subinterfaces:
    CompositeIndexType, MixedIndexType
  All Known Implementing Classes:
    CompositeIndexTypeWrapper, IndexTypeWrapper, MixedIndexTypeWrapper

      public interface IndexType

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBackingIndexName()`
    `ElementCategory` | `getElement()`
    `IndexField` | `getField(PropertyKey key)`
    `IndexField[]` | `getFieldKeys()`
    `String` | `getName()`
    `TitanSchemaType` | `getSchemaTypeConstraint()`
    `boolean` | `hasSchemaTypeConstraint()`
    `boolean` | `indexesKey(PropertyKey key)`
    `boolean` | `isCompositeIndex()`
    `boolean` | `isMixedIndex()`
    `void` | `resetCache()` Resets the internal caches used to speed up lookups on this index.

- - ### Method Detail

    - #### getElement

          ElementCategory getElement()

    - #### getFieldKeys

          IndexField[] getFieldKeys()

    - #### getField

          IndexField getField(PropertyKey key)

    - #### indexesKey

          boolean indexesKey(PropertyKey key)

    - #### isCompositeIndex

          boolean isCompositeIndex()

    - #### isMixedIndex

          boolean isMixedIndex()

    - #### hasSchemaTypeConstraint

          boolean hasSchemaTypeConstraint()

    - #### getSchemaTypeConstraint

          TitanSchemaType getSchemaTypeConstraint()

    - #### getBackingIndexName

          String getBackingIndexName()

    - #### getName

          String getName()

    - #### resetCache

          void resetCache()

      Resets the internal caches used to speed up lookups on this index. This is needed when the index gets modified in `ManagementSystem`.

Copyright © 2012–2014. All rights reserved.