Uses of Class
org.apache.cassandra.db.filter.DataLimits
Packages that use DataLimits
Package
Description
-
Uses of DataLimits in org.apache.cassandra.cql3.statements
Methods in org.apache.cassandra.cql3.statements with parameters of type DataLimitsModifier and TypeMethodDescriptionSelectStatement.getQuery(QueryOptions options, ClientState state, ColumnFilter columnFilter, long nowInSec, DataLimits limit) -
Uses of DataLimits in org.apache.cassandra.db
Methods in org.apache.cassandra.db that return DataLimitsModifier and TypeMethodDescriptionReadQuery.limits()The limits for the query.SinglePartitionReadQuery.Group.limits()protected DataLimitsAbstractReadCommandBuilder.makeLimits()Methods in org.apache.cassandra.db with parameters of type DataLimitsModifier and TypeMethodDescriptionstatic PartitionRangeReadCommandPartitionRangeReadCommand.create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DataRange dataRange) static ReadQueryPartitionRangeReadQuery.create(TableMetadata table, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DataRange dataRange) static SinglePartitionReadCommandSinglePartitionReadCommand.create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter) Creates a new read command on a single partition.static SinglePartitionReadCommandSinglePartitionReadCommand.create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter, Index.QueryPlan indexQueryPlan) Creates a new read command on a single partition.SinglePartitionReadCommand.Group.create(List<SinglePartitionReadCommand> commands, DataLimits limits) SinglePartitionReadCommand.Group.create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, List<DecoratedKey> partitionKeys, ClusteringIndexFilter clusteringIndexFilter) static SinglePartitionReadQuerySinglePartitionReadQuery.create(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter) Creates a new read query on a single partition.static SinglePartitionReadQuery.Group<? extends SinglePartitionReadQuery>SinglePartitionReadQuery.createGroup(TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, List<DecoratedKey> partitionKeys, ClusteringIndexFilter clusteringIndexFilter) abstract ReadCommandReadCommand.SelectionDeserializer.deserialize(DataInputPlus in, int version, boolean isDigest, int digestVersion, boolean acceptsTransient, TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, Index.QueryPlan indexQueryPlan) SinglePartitionReadCommand.forPaging(Clustering<?> lastReturned, DataLimits limits) SinglePartitionReadQuery.forPaging(Clustering<?> lastReturned, DataLimits limits) Returns a newSinglePartitionReadQuerysuitable to paging from the last returned row.booleanColumnFamilyStore.isFilterFullyCoveredBy(ClusteringIndexFilter filter, DataLimits limits, CachedPartition cached, long nowInSec, boolean enforceStrictLiveness) PartitionRangeReadCommand.withUpdatedLimit(DataLimits newLimits) PartitionRangeReadQuery.withUpdatedLimit(DataLimits newLimits) Creates a newPartitionRangeReadQuerywith the updated limits.abstract ReadCommandReadCommand.withUpdatedLimit(DataLimits newLimits) Creates a newReadCommandinstance with new limits.SinglePartitionReadCommand.withUpdatedLimit(DataLimits newLimits) SinglePartitionReadQuery.withUpdatedLimit(DataLimits newLimits) Creates a newSinglePartitionReadQuerywith the specified limits.PartitionRangeReadCommand.withUpdatedLimitsAndDataRange(DataLimits newLimits, DataRange newDataRange) PartitionRangeReadQuery.withUpdatedLimitsAndDataRange(DataLimits newLimits, DataRange newDataRange) Creates a newPartitionRangeReadQuerywith the updated limits and data range.Constructors in org.apache.cassandra.db with parameters of type DataLimitsModifierConstructorDescriptionGroup(List<T> queries, DataLimits limits) protectedPartitionRangeReadCommand(boolean isDigest, int digestVersion, boolean acceptsTransient, TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DataRange dataRange, Index.QueryPlan indexQueryPlan, boolean trackWarnings) protectedReadCommand(ReadCommand.Kind kind, boolean isDigestQuery, int digestVersion, boolean acceptsTransient, TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, Index.QueryPlan indexQueryPlan, boolean trackWarnings, DataRange dataRange) protectedSinglePartitionReadCommand(boolean isDigest, int digestVersion, boolean acceptsTransient, TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter, Index.QueryPlan indexQueryPlan, boolean trackWarnings, DataRange dataRange) VirtualTableGroup(List<SinglePartitionReadCommand> commands, DataLimits limits) protectedVirtualTableSinglePartitionReadCommand(boolean isDigest, int digestVersion, boolean acceptsTransient, TableMetadata metadata, long nowInSec, ColumnFilter columnFilter, RowFilter rowFilter, DataLimits limits, DecoratedKey partitionKey, ClusteringIndexFilter clusteringIndexFilter, Index.QueryPlan indexQueryPlan, boolean trackWarnings, DataRange dataRange) -
Uses of DataLimits in org.apache.cassandra.db.filter
Fields in org.apache.cassandra.db.filter declared as DataLimitsModifier and TypeFieldDescriptionstatic final DataLimitsDataLimits.DISTINCT_NONEstatic final DataLimitsDataLimits.NONEMethods in org.apache.cassandra.db.filter that return DataLimitsModifier and TypeMethodDescriptionstatic DataLimitsDataLimits.cqlLimits(int cqlRowLimit) static DataLimitsDataLimits.cqlLimits(int cqlRowLimit, int perPartitionLimit) DataLimits.Serializer.deserialize(DataInputPlus in, int version, TableMetadata metadata) static DataLimitsDataLimits.distinctLimits(int cqlRowLimit) DataLimits.forGroupByInternalPaging(GroupingState state) Creates aDataLimitsinstance to be used for paginating internally GROUP BY queries.abstract DataLimitsDataLimits.forPaging(int pageSize) abstract DataLimitsDataLimits.forPaging(int pageSize, ByteBuffer lastReturnedKey, int lastReturnedKeyRemaining) abstract DataLimitsDataLimits.forShortReadRetry(int toFetch) static DataLimitsDataLimits.groupByLimits(int groupLimit, int groupPerPartitionLimit, int rowLimit, AggregationSpecification groupBySpec) abstract DataLimitsDataLimits.withoutState()Returns equivalent limits but where any internal state kept to track where we are of paging and/or grouping is discarded.Methods in org.apache.cassandra.db.filter with parameters of type DataLimitsModifier and TypeMethodDescriptionvoidDataLimits.Serializer.serialize(DataLimits limits, DataOutputPlus out, int version, ClusteringComparator comparator) longDataLimits.Serializer.serializedSize(DataLimits limits, int version, ClusteringComparator comparator) -
Uses of DataLimits in org.apache.cassandra.service.pager
Fields in org.apache.cassandra.service.pager declared as DataLimitsModifier and TypeFieldDescriptionprotected final DataLimitsAbstractQueryPager.limitsprotected final DataLimitsAbstractQueryPager.limitsMethods in org.apache.cassandra.service.pager that return DataLimitsMethods in org.apache.cassandra.service.pager with parameters of type DataLimitsModifier and TypeMethodDescriptionprotected QueryPagerAggregationQueryPager.AggregationPartitionIterator.updatePagerLimit(QueryPager pager, DataLimits limits, ByteBuffer lastPartitionKey, Clustering<?> lastClustering) protected QueryPagerAggregationQueryPager.GroupByPartitionIterator.updatePagerLimit(QueryPager pager, DataLimits limits, ByteBuffer lastPartitionKey, Clustering<?> lastClustering) Updates the pager with the new limits if needed.AggregationQueryPager.withUpdatedLimit(DataLimits newLimits) MultiPartitionPager.withUpdatedLimit(DataLimits newLimits) PartitionRangeQueryPager.withUpdatedLimit(DataLimits newLimits) QueryPager.withUpdatedLimit(DataLimits newLimits) Creates a newQueryPagerthat use the new limits.SinglePartitionPager.withUpdatedLimit(DataLimits newLimits) Constructors in org.apache.cassandra.service.pager with parameters of type DataLimits