Annotation Interface RangeEncrypted


@Retention(RUNTIME) @Target(FIELD) @Encrypted(algorithm="Range") public @interface RangeEncrypted
Since:
4.5
Author:
Christoph Strobl, Ross Lawley
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    long
    Set the contention factor.
    Set the range options.
  • Element Details

    • contentionFactor

      @AliasFor(annotation=Queryable.class, value="contentionFactor") long contentionFactor
      Set the contention factor.
      Returns:
      the contention factor
      Default:
      -1L
    • rangeOptions

      @AliasFor(annotation=Queryable.class, value="queryAttributes") String rangeOptions
      Set the range options.

      Should be valid extended JSON representing the range options and including the following values: min, max, trimFactor and sparsity.

      Please note that values are data type sensitive and may require proper identification via eg. $numberLong.

      Returns:
      the JSON representation of range options.
      Default:
      ""