Interface IndexDefinition

All Known Implementing Classes:
CompoundIndexDefinition, GeospatialIndex, HashedIndex, Index, MongoPersistentEntityIndexResolver.IndexDefinitionHolder, TextIndexDefinition, WildcardIndex

public interface IndexDefinition
Author:
Jon Brisbin <[email protected]>, Christoph Strobl, Mark Paluch
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bson.Document
    Get the Document containing properties covered by the index.
    org.bson.Document
    Get the index properties such as unique,...
  • Method Details

    • getIndexKeys

      org.bson.Document getIndexKeys()
      Get the Document containing properties covered by the index.
      Returns:
      never null.
    • getIndexOptions

      org.bson.Document getIndexOptions()
      Get the index properties such as unique,...
      Returns:
      never null.