src/java/org/apache/cassandra/db/CollationController.java
/**
     * remove columns from @param filter where we already have data in @param returnCF newer than @param sstableTimestamp
     */
remove columns from @param filter where we already have data in @param returnCF newer than @param sstableTimestamp
remove columns from @param filter where we already have data in @param returnCF newer than @param sstableTimestamp
private void reduceNameFilter(QueryFilter filter, ColumnFamily returnCF, long sstableTimestamp)
    {
        AbstractColumnContainer container = filter.path.superColumnName == null
                                          ? returnCF
                                          : (SuperColumn) returnCF.getColumn(filter.path.superColumnName);
        if (container == null || sstableTimestamp == Long.MIN_VALUE)
            return;
        for (Iterator<ByteBuffer> iterator = ((NamesQueryFilter) filter.filter).columns.iterator(); iterator.hasNext(); )
        {
            ByteBuffer filterColumn = iterator.next();
            IColumn column = container.getColumn(filterColumn);
            if (column != null && column.timestamp() > sstableTimestamp)
                iterator.remove();
        }
    }
private void reduceNameFilter ( QueryFilter filter , ColumnFamily returnCF , long sstableTimestamp ) { AbstractColumnContainer container = filter . path . superColumnName == null ? returnCF : ( SuperColumn ) returnCF . getColumn ( filter . path . superColumnName ) ; if ( container == null || sstableTimestamp == Long . MIN_VALUE ) return ; for ( Iterator < ByteBuffer > iterator = ( ( NamesQueryFilter ) filter . filter ) . columns . iterator ( ) ; iterator . hasNext ( ) ; ) { ByteBuffer filterColumn = iterator . next ( ) ; IColumn column = container . getColumn ( filterColumn ) ; if ( column != null && column . timestamp ( ) > sstableTimestamp ) iterator . remove ( ) ; } }
remove columns from @param filter where we already have data in @param returnCF newer than @param sstableTimestamp
remove columns from @param filter where we already have data in @param returnCF newer than @param sstableTimestamp
// MIN_VALUE means we don't know any information