@PublicEvolving public final class Session extends Object
Java Example:
Session.withGap("10.minutes").on("rowtime").as("w")
Scala Example:
Session withGap 10.minutes on 'rowtime as 'w
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
static SessionWithGap |
withGap(Expression gap)
Creates a session window.
|
public static SessionWithGap withGap(Expression gap)
gap
- specifies how long (as interval of milliseconds) to wait for new data before
closing the session window.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.