Interface SessionWindowTimeGapExtractor<T>
-
- Type Parameters:
T- The type of elements that thisSessionWindowTimeGapExtractorcan extract session time gaps from.
- All Superinterfaces:
Serializable
@PublicEvolving public interface SessionWindowTimeGapExtractor<T> extends Serializable
ASessionWindowTimeGapExtractorextracts session time gaps for Dynamic Session Window Assigners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longextract(T element)Extracts the session time gap.
-
-
-
Method Detail
-
extract
long extract(T element)
Extracts the session time gap.- Parameters:
element- The input element.- Returns:
- The session time gap in milliseconds.
-
-