
io.numaproj.numaflow.reducer.metadata.IntervalWindowImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of numaflow-java Show documentation
Show all versions of numaflow-java Show documentation
SDK to implement Numaflow Source or User Defined Functions or Sinks in Java.
The newest version!
package io.numaproj.numaflow.reducer.metadata;
import io.numaproj.numaflow.reducer.IntervalWindow;
import lombok.AllArgsConstructor;
import java.time.Instant;
/**
* IntervalWindowImpl implements IntervalWindow interface which will be passed as metadata to reduce
* handlers
*/
@AllArgsConstructor
public class IntervalWindowImpl implements IntervalWindow {
private final Instant startTime;
private final Instant endTime;
@Override
public Instant getStartTime() {
return this.startTime;
}
@Override
public Instant getEndTime() {
return this.endTime;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy