Class BasePartitions<R extends BaseRowIterator<?>,​I extends BasePartitionIterator<? extends BaseRowIterator<?>>>

    • Field Detail

      • EMPTY_TRANSFORMATIONS

        public static final Transformation[] EMPTY_TRANSFORMATIONS
      • EMPTY_MORE_CONTENTS_HOLDERS

        public static final org.apache.cassandra.db.transform.Stack.MoreContentsHolder[] EMPTY_MORE_CONTENTS_HOLDERS
    • Constructor Detail

      • BasePartitions

        public BasePartitions​(I input)
    • Method Detail

      • applyOne

        protected BaseRowIterator<?> applyOne​(BaseRowIterator<?> value,
                                              Transformation transformation)
        apply the relevant method from the transformation to the value. used in hasMoreContents to apply the functions that follow the MoreContents
      • runOnClose

        protected java.lang.Throwable runOnClose​(int length)
        run the corresponding runOnClose method for the first length transformations. used in hasMoreContents to close the methods preceding the MoreContents
      • hasNext

        public final boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<R extends BaseRowIterator<?>>
      • close

        public final void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • next

        public final O next()
        Specified by:
        next in interface java.util.Iterator<V>
      • hasMoreContents

        protected final boolean hasMoreContents()