List of usage examples for org.apache.cassandra.db SinglePartitionReadCommand create
public static SinglePartitionReadCommand create(TableMetadata metadata, int nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter, IndexMetadata indexMetadata)
From source file:com.stratio.cassandra.lucene.IndexReader.java
License:Apache License
protected UnfilteredRowIterator read(DecoratedKey key, ClusteringIndexFilter filter) { return SinglePartitionReadCommand .create(isForThrift(), table.metadata, command.nowInSec(), command.columnFilter(), command.rowFilter(), command.limits(), key, filter) .queryMemtableAndDisk(table, orderGroup.baseReadOpOrderGroup()); }
From source file:io.puntanegra.fhir.index.FhirIndexSearcher.java
License:Apache License
public UnfilteredRowIterator read(DecoratedKey key, ClusteringIndexFilter filter) { return SinglePartitionReadCommand .create(isForThrift(), table.metadata, command.nowInSec(), command.columnFilter(), command.rowFilter(), command.limits(), key, filter) .queryMemtableAndDisk(table, orderGroup.baseReadOpOrderGroup()); }