Class CompoundIndexDefinition

java.lang.Object
org.springframework.data.mongodb.core.index.Index
org.springframework.data.mongodb.core.index.CompoundIndexDefinition
All Implemented Interfaces:
IndexDefinition

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

    • CompoundIndexDefinition

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