Class Filters.LimitFilter

java.lang.Object
com.google.cloud.bigtable.data.v2.models.Filters.LimitFilter
All Implemented Interfaces:
Serializable
Enclosing class:
Filters

public static final class Filters.LimitFilter extends Object implements Serializable
See Also:
  • Method Details

    • cellsPerRow

      public Filters.Filter cellsPerRow(int count)
      Matches only the first N cells of each row. If duplicate cells are present, as is possible when using an Interleave, each copy of the cell is counted separately.
    • cellsPerColumn

      public Filters.Filter cellsPerColumn(int count)
      Matches only the most recent `count` cells within each column. For example, if count=2, this filter would match column `foo:bar` at timestamps 10 and 9 skip all earlier cells in `foo:bar`, and then begin matching again in column `foo:bar2`. If duplicate cells are present, as is possible when using an Filters.InterleaveFilter, each copy of the cell is counted separately.