Class AbstractTableReaderStream

    • Field Detail

      • ascending

        protected final boolean ascending
      • follow

        protected final boolean follow
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • runPartitions

        protected abstract boolean runPartitions​(List<Partition> partitions,
                                                 IndexFilter range)
                                          throws IOException
        Runs the partitions sending data only that conform with the start and end filters. returns true if the stop condition is met All the partitions are from the same time interval
        Returns:
        returns true if the end condition has been reached.
        Throws:
        IOException
      • emitIfNotPastStop

        protected boolean emitIfNotPastStop​(byte[] key,
                                            byte[] value,
                                            byte[] rangeEnd,
                                            boolean strictEnd)
      • emitIfNotPastStart

        protected boolean emitIfNotPastStart​(byte[] key,
                                             byte[] value,
                                             byte[] rangeStart,
                                             boolean strictStart)
      • dataToTuple

        protected Tuple dataToTuple​(byte[] k,
                                    byte[] v)
      • doClose

        public void doClose()
        Specified by:
        doClose in class Stream
      • compare

        protected int compare​(byte[] a1,
                              byte[] a2)