Interface Filter

    • Method Detail

      • satisfy

        boolean satisfy​(Statistics statistics)
        To examine whether there are data points satisfied with the filter.
        Parameters:
        statistics - statistics with min time, max time, min value, max value.
      • allSatisfy

        boolean allSatisfy​(Statistics statistics)
        To examine whether all data points are satisfied with the filter.
        Parameters:
        statistics - statistics with min time, max time, min value, max value.
      • satisfy

        boolean satisfy​(long time,
                        java.lang.Object value)
        To examine whether the single point(with time and value) is satisfied with the filter.
        Parameters:
        time - single point time
        value - single point value
      • satisfyStartEndTime

        boolean satisfyStartEndTime​(long startTime,
                                    long endTime)
        To examine whether the min time and max time are satisfied with the filter.
        Parameters:
        startTime - start time of a page, series or device
        endTime - end time of a page, series or device
      • containStartEndTime

        boolean containStartEndTime​(long startTime,
                                    long endTime)
        To examine whether the partition [startTime, endTime] is subsets of filter.
        Parameters:
        startTime - start time of a partition
        endTime - end time of a partition
      • serialize

        void serialize​(java.io.DataOutputStream outputStream)
      • serialize

        default void serialize​(java.nio.ByteBuffer buffer)
      • deserialize

        void deserialize​(java.nio.ByteBuffer buffer)
      • getTimeRanges

        default java.util.List<TimeRange> getTimeRanges()