Annotation Type Unsigned

  • @Retention(CLASS)
    public @interface Unsigned
    Indicates that values of an integer property (e.g. int and long in Java) should be treated as unsigned when doing queries or creating indexes.

    For example consider a set of integers sorted by the default order: [-2, -1, 0, 1, 2]. If all values are treated as unsigned, the order would be [0, 1, 2, -2, -1] instead.