Class ByteIndex

java.lang.Object
tech.tablesaw.index.ByteIndex
All Implemented Interfaces:
Index

public class ByteIndex extends Object implements Index
An index for byte columns (BooleanColumn)
  • Constructor Details

    • ByteIndex

      public ByteIndex(BooleanColumn column)
      Constructs an index for the given column
  • Method Details

    • get

      public Selection get(byte value)
      Returns a bitmap 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(byte value)
      Returns a Selection of all values at least as large as the given value
    • greaterThan

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

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

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