Class ColumnSubselection

  • All Implemented Interfaces:
    java.lang.Comparable<ColumnSubselection>

    public abstract class ColumnSubselection
    extends java.lang.Object
    implements java.lang.Comparable<ColumnSubselection>
    Handles the selection of a subpart of a column.

    This only make sense for complex column. For those, this allow for instance to select only a slice of a map.

    • Constructor Detail

      • ColumnSubselection

        protected ColumnSubselection​(ColumnMetadata column)
    • Method Detail

      • kind

        protected abstract org.apache.cassandra.db.filter.ColumnSubselection.Kind kind()
      • comparisonPath

        protected abstract CellPath comparisonPath()
      • compareInclusionOf

        public abstract int compareInclusionOf​(CellPath path)
        Given a path, return -1 if the path is before anything selected by this subselection, 0 if it is selected by this subselection and 1 if the path is after anything selected by this subselection.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        protected abstract java.lang.String toString​(boolean cql)