Class IntIndex

  • All Implemented Interfaces:
    Index

    public class IntIndex
    extends Object
    implements Index
    An index for four-byte integer and integer backed columns (date, String, time)
    • Constructor Detail

      • IntIndex

        public IntIndex​(DateColumn column)
        Constructs an index for the given column
      • IntIndex

        public IntIndex​(IntColumn column)
        Constructs an index for the given column
      • IntIndex

        public IntIndex​(TimeColumn column)
        Constructs an index for the given column
    • Method Detail

      • get

        public Selection get​(int value)
        Returns a bitmap Selection containing row numbers of all cells matching the given int
        Parameters:
        value - This is a 'key' from the index perspective, meaning it is a value from the standpoint of the column
      • atLeast

        public Selection atLeast​(int value)
        Returns a Selection of all values at least as large as the given value
      • greaterThan

        public Selection greaterThan​(int value)
        Returns a Selection of all values greater than the given value
      • atMost

        public Selection atMost​(int value)
        Returns a Selection of all values at most as large as the given value
      • lessThan

        public Selection lessThan​(int value)
        Returns a Selection of all values less than the given value