Class Filters.LimitFilter
java.lang.Object
com.google.cloud.bigtable.data.v2.models.Filters.LimitFilter
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Filters
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncellsPerColumn
(int count) Matches only the most recent `count` cells within each column.cellsPerRow
(int count) Matches only the first N cells of each row.
-
Method Details
-
cellsPerRow
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
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 anFilters.InterleaveFilter
, each copy of the cell is counted separately.
-