org.springframework.data.mongodb.core.index

Class CompoundIndexDefinition

  • All Implemented Interfaces:
    IndexDefinition


    public class CompoundIndexDefinition
    extends Index
    Index definition to span multiple keys.
    Since:
    1.5
    Author:
    Christoph Strobl
    • Constructor Detail

      • CompoundIndexDefinition

        public CompoundIndexDefinition(org.bson.Document keys)
        Creates a new CompoundIndexDefinition for the given keys.
        Parameters:
        keys - must not be null.