public interface VirtualTable
Modifier and Type | Method and Description |
---|---|
void |
apply(PartitionUpdate update)
Applies the specified update.
|
TableMetadata |
metadata()
Returns the view metadata.
|
default java.lang.String |
name()
Returns the view name.
|
UnfilteredPartitionIterator |
select(DataRange dataRange,
ColumnFilter columnFilter)
Selects the rows from a range of partitions.
|
UnfilteredPartitionIterator |
select(DecoratedKey partitionKey,
ClusteringIndexFilter clusteringIndexFilter,
ColumnFilter columnFilter)
Selects the rows from a single partition.
|
default java.lang.String name()
TableMetadata metadata()
void apply(PartitionUpdate update)
update
- the update to applyUnfilteredPartitionIterator select(DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter, ColumnFilter columnFilter)
partitionKey
- the partition keyclusteringIndexFilter
- the clustering columns to selectedcolumnFilter
- the selected columnsUnfilteredPartitionIterator select(DataRange dataRange, ColumnFilter columnFilter)
dataRange
- the range of data to retrievecolumnFilter
- the selected columnsCopyright © 2009-2021 The Apache Software Foundation