Example usage for org.apache.cassandra.db Clustering EMPTY

List of usage examples for org.apache.cassandra.db Clustering EMPTY

Introduction

In this page you can find the example usage for org.apache.cassandra.db Clustering EMPTY.

Prototype

Clustering EMPTY

To view the source code for org.apache.cassandra.db Clustering EMPTY.

Click Source Link

Document

Empty clustering for tables having no clustering columns.

Usage

From source file:com.stratio.cassandra.lucene.IndexService.java

License:Apache License

/**
 * Retrieves from the local storage all the {@link Row}s in the specified partition.
 *
 * @param key the partition key/*w  ww .jav  a  2 s .  c  o m*/
 * @param nowInSec max allowed time in seconds
 * @param opGroup operation group spanning the calling operation
 * @return a {@link Row} iterator
 */
public UnfilteredRowIterator read(DecoratedKey key, int nowInSec, OpOrder.Group opGroup) {
    return read(key, clusterings(Clustering.EMPTY), nowInSec, opGroup);
}