Class TimeFilter


  • public class TimeFilter
    extends java.lang.Object
    • Method Detail

      • notIn

        public static TimeFilter.TimeIn notIn​(java.util.Set<java.lang.Long> values)
      • defaultTimeFilter

        public static Filter defaultTimeFilter​(boolean ascending)
        returns a default time filter by whether it's an ascending query.

        If the data is read in descending order, we use the largest timestamp to set to the filter, so the filter should be TimeLtEq. If the data is read in ascending order, we use the smallest timestamp to set to the filter, so the filter should be TimeGtEq.