Class DataLookupUtils


  • public final class DataLookupUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<java.time.Instant> getAdjacentTimestampAfter​(@NonNull java.time.Instant timestamp, @NonNull java.util.function.Function<TimeWindow,​org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> dataProvider, @NonNull java.lang.String timestampField, @NonNull java.time.Duration lookupDuration)  
      static java.util.Optional<java.time.Instant> getAdjacentTimestampBefore​(@NonNull java.time.Instant timestamp, @NonNull java.util.function.Function<TimeWindow,​org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> dataProvider, @NonNull java.lang.String timestampField, @NonNull java.time.Duration lookupDuration)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAdjacentTimestampBefore

        public static java.util.Optional<java.time.Instant> getAdjacentTimestampBefore​(@NonNull
                                                                                       @NonNull java.time.Instant timestamp,
                                                                                       @NonNull
                                                                                       @NonNull java.util.function.Function<TimeWindow,​org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> dataProvider,
                                                                                       @NonNull
                                                                                       @NonNull java.lang.String timestampField,
                                                                                       @NonNull
                                                                                       @NonNull java.time.Duration lookupDuration)
      • getAdjacentTimestampAfter

        public static java.util.Optional<java.time.Instant> getAdjacentTimestampAfter​(@NonNull
                                                                                      @NonNull java.time.Instant timestamp,
                                                                                      @NonNull
                                                                                      @NonNull java.util.function.Function<TimeWindow,​org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>> dataProvider,
                                                                                      @NonNull
                                                                                      @NonNull java.lang.String timestampField,
                                                                                      @NonNull
                                                                                      @NonNull java.time.Duration lookupDuration)