Example usage for org.apache.cassandra.db.rows UnfilteredRowIterators filter

List of usage examples for org.apache.cassandra.db.rows UnfilteredRowIterators filter

Introduction

In this page you can find the example usage for org.apache.cassandra.db.rows UnfilteredRowIterators filter.

Prototype

public static RowIterator filter(UnfilteredRowIterator iter, int nowInSec) 

Source Link

Document

Returns a iterator that only returns rows with only live content.

Usage

From source file:io.jmnarloch.cassandra.kafka.utils.CassandraUtils.java

License:Apache License

public static RowIterator rowIterator(UnfilteredRowIterator iterator) {
    return UnfilteredRowIterators.filter(iterator, FBUtilities.nowInSeconds());
}