Package org.apache.cassandra.db.rows
Class WithOnlyQueriedData<I extends BaseRowIterator<?>>
java.lang.Object
org.apache.cassandra.db.transform.Transformation<I>
org.apache.cassandra.db.rows.WithOnlyQueriedData<I>
Function to skip cells (from an iterator) that are not part of those queried by the user
according to the provided
ColumnFilter. See UnfilteredRowIterators.withOnlyQueriedData(org.apache.cassandra.db.rows.UnfilteredRowIterator, org.apache.cassandra.db.filter.ColumnFilter)
for more details.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RegularAndStaticColumnsApplied to thePartitionColumnsof any rows iterator.protected RowapplyToRow(Row row) Applied to any row we encounter in a rows iteratorprotected RowapplyToStatic(Row row) Applied to the static row of any rows iterator.Methods inherited from class org.apache.cassandra.db.transform.Transformation
apply, apply, apply, apply, applyToDeletion, applyToMarker, applyToPartition, applyToPartitionKey, onClose, onPartitionClose
-
Constructor Details
-
WithOnlyQueriedData
-
-
Method Details
-
applyToPartitionColumns
Description copied from class:TransformationApplied to thePartitionColumnsof any rows iterator. NOTE: same remark than for applyToDeletion: it is only applied to the first iterator in a sequence of iterators filled by MoreContents.- Overrides:
applyToPartitionColumnsin classTransformation<I extends BaseRowIterator<?>>
-
applyToStatic
Description copied from class:TransformationApplied to the static row of any rows iterator. NOTE that this is only applied to the first iterator in any sequence of iterators filled by a MoreContents; the static data for such iterators is all expected to be equal- Overrides:
applyToStaticin classTransformation<I extends BaseRowIterator<?>>
-
applyToRow
Description copied from class:TransformationApplied to any row we encounter in a rows iterator- Overrides:
applyToRowin classTransformation<I extends BaseRowIterator<?>>
-