Package org.apache.cassandra.db.virtual
Interface VirtualTable
-
- All Known Implementing Classes:
AbstractVirtualTable
,AbstractVirtualTable.SimpleTable
,InternodeInboundTable
,InternodeOutboundTable
public interface VirtualTable
A system view used to expose system information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
name
default java.lang.String name()
Returns the view name.- Returns:
- the view name.
-
metadata
TableMetadata metadata()
Returns the view metadata.- Returns:
- the view metadata.
-
apply
void apply(PartitionUpdate update)
Applies the specified update.- Parameters:
update
- the update to apply
-
select
UnfilteredPartitionIterator select(DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter, ColumnFilter columnFilter)
Selects the rows from a single partition.- Parameters:
partitionKey
- the partition keyclusteringIndexFilter
- the clustering columns to selectedcolumnFilter
- the selected columns- Returns:
- the rows corresponding to the requested data.
-
select
UnfilteredPartitionIterator select(DataRange dataRange, ColumnFilter columnFilter)
Selects the rows from a range of partitions.- Parameters:
dataRange
- the range of data to retrievecolumnFilter
- the selected columns- Returns:
- the rows corresponding to the requested data.
-
-