Class VariableStageLoop<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods Default Methods 
      Modifier and Type Method Description
      default N atTime​(long nanos)  
      default N atTime​(@NonNull java.lang.String timeStampUtc)  
      default N atTime​(@NonNull java.time.Instant timeStamp)  
      default N timeWindow​(long fromNanos, long toNanos)  
      default N timeWindow​(@NonNull TimeWindow timeWindow)  
      default N timeWindow​(@NonNull java.lang.String fromTimeStampUtc, @NonNull java.lang.String toTimeStampUtc)  
      BuildStage<T> timeWindow​(@NonNull java.time.Instant startTime, @NonNull java.time.Instant endTime)  
      • Methods inherited from class cern.nxcals.api.extraction.data.builders.fluent.Stage

        data, next
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface cern.nxcals.api.extraction.data.builders.fluent.v2.IdStage

        idEq, idIn
    • Method Detail

      • timeWindow

        public BuildStage<T> timeWindow​(@NonNull
                                        @NonNull java.time.Instant startTime,
                                        @NonNull
                                        @NonNull java.time.Instant endTime)
      • timeWindow

        public default N timeWindow​(long fromNanos,
                                    long toNanos)
        Parameters:
        fromNanos - start time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
        toNanos - end time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
      • timeWindow

        public default N timeWindow​(@NonNull
                                    @NonNull java.lang.String fromTimeStampUtc,
                                    @NonNull
                                    @NonNull java.lang.String toTimeStampUtc)
        Parameters:
        fromTimeStampUtc - at time in UTC timezone as string using "yyyy-MM-dd HH:mm:ss.n" format
      • timeWindow

        public default N timeWindow​(@NonNull
                                    @NonNull TimeWindow timeWindow)
      • atTime

        public default N atTime​(@NonNull
                                @NonNull java.time.Instant timeStamp)
      • atTime

        public default N atTime​(long nanos)
        Parameters:
        nanos - start time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
      • atTime

        public default N atTime​(@NonNull
                                @NonNull java.lang.String timeStampUtc)
        Parameters:
        timeStampUtc - at time in UTC timezone as string using "yyyy-MM-dd HH:mm:ss.n" format