@Internal public abstract class TimestampTransform extends java.lang.Object implements java.io.Serializable
An abstract description of a standardized transformation on timestamps.
Modifier and Type | Class and Description |
---|---|
static class |
TimestampTransform.AlignTo
For internal use only; no backwards-compatibility guarantees.
|
static class |
TimestampTransform.Delay
For internal use only; no backwards-compatibility guarantees.
|
Modifier and Type | Method and Description |
---|---|
static TimestampTransform |
alignTo(Duration period)
For internal use only; no backwards-compatibility guarantees.
|
static TimestampTransform |
alignTo(Duration period,
Instant offset)
For internal use only; no backwards-compatibility guarantees.
|
static TimestampTransform |
delay(Duration delay)
For internal use only; no backwards-compatibility guarantees.
|
@Internal public static TimestampTransform delay(Duration delay)
Returns a transform that shifts a timestamp later by delay
.
@Internal public static TimestampTransform alignTo(Duration period, Instant offset)
Returns a transform that aligns a timestamp to the next boundary of period
, starting
from offset
.
@Internal public static TimestampTransform alignTo(Duration period)
Returns a transform that aligns a timestamp to the next boundary of period
, starting
from the start of the epoch.