Package org.apache.cassandra.db.filter
Class AbstractClusteringIndexFilter
java.lang.Object
org.apache.cassandra.db.filter.AbstractClusteringIndexFilter
- All Implemented Interfaces:
ClusteringIndexFilter
- Direct Known Subclasses:
ClusteringIndexNamesFilter,ClusteringIndexSliceFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.db.filter.ClusteringIndexFilter
ClusteringIndexFilter.InternalDeserializer, ClusteringIndexFilter.Kind, ClusteringIndexFilter.Serializer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendOrderByToCQLString(TableMetadata metadata, StringBuilder sb) booleanisEmpty(ClusteringComparator comparator) booleanWhether the filter query rows in reversed clustering order or not.protected abstract longserializedSizeInternal(int version) protected abstract voidserializeInternal(DataOutputPlus out, int version) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.db.filter.ClusteringIndexFilter
filterNotIndexed, forPaging, getSlices, getUnfilteredRowIterator, intersects, isFullyCoveredBy, isHeadFilter, kind, selects, selectsAllPartition, toCQLString, toString
-
Field Details
-
reversed
protected final boolean reversed
-
-
Constructor Details
-
AbstractClusteringIndexFilter
protected AbstractClusteringIndexFilter(boolean reversed)
-
-
Method Details
-
isReversed
public boolean isReversed()Description copied from interface:ClusteringIndexFilterWhether the filter query rows in reversed clustering order or not.- Specified by:
isReversedin interfaceClusteringIndexFilter- Returns:
- whether the filter query rows in reversed clustering order or not.
-
isEmpty
- Specified by:
isEmptyin interfaceClusteringIndexFilter
-
serializeInternal
- Throws:
IOException
-
serializedSizeInternal
protected abstract long serializedSizeInternal(int version) -
appendOrderByToCQLString
-