- java.lang.Object
-
- cern.nxcals.api.extraction.data.builders.fluent.Stage<N,T>
-
- cern.nxcals.api.extraction.data.builders.fluent.v2.SystemStage<N,T>
-
- cern.nxcals.api.extraction.data.builders.fluent.v2.SystemOrIdStage<N,N,T>
-
- cern.nxcals.api.extraction.data.builders.fluent.v2.SystemOrIdStageLoop<N,T>
-
- All Implemented Interfaces:
IdStage<SystemOrIdStageLoop<N,T>>
public class SystemOrIdStageLoop<N extends Stage<?,T> & IdStage<N>,T> extends SystemOrIdStage<N,N,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.v2.SystemOrIdStage
idIn
-
Methods inherited from class cern.nxcals.api.extraction.data.builders.fluent.v2.SystemStage
system
-
-
-
-
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 timezonetoNanos
- 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
-
-