Annotation Type Index


  • @Target({TYPE,FIELD})
    @Retention(RUNTIME)
    public @interface Index
    User: Stephan Bösebeck Date: 20.06.12 Time: 10:16

    define the indices to be ensured when the corresponding collection is created when morphium.ensureIndicesFor can be used with a field like:

    • Element Detail

      • decrement

        boolean decrement
        Default:
        false
      • value

        String[] value
        Default:
        {}
      • options

        String[] options
        Default:
        {}
      • locale

        String locale
        Default:
        ""
      • caseLevel

        boolean caseLevel
        Default:
        false
      • strength

        Collation.Strength strength
        Default:
        de.caluga.morphium.Collation.Strength.TERTIARY
      • numericOrdering

        boolean numericOrdering
        Default:
        false
      • alternate

        Collation.Alternate alternate
        Default:
        de.caluga.morphium.Collation.Alternate.NON_IGNORABLE
      • backwards

        boolean backwards
        Default:
        false