- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.statement.select.KSQLJoinWindow
-
- All Implemented Interfaces:
java.io.Serializable
,ASTNodeAccess
public class KSQLJoinWindow extends ASTNodeAccessImpl
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
afterDuration
private KSQLWindow.TimeUnit
afterTimeUnit
private boolean
beforeAfter
private long
beforeDuration
private KSQLWindow.TimeUnit
beforeTimeUnit
private long
duration
private KSQLWindow.TimeUnit
timeUnit
-
Constructor Summary
Constructors Constructor Description KSQLJoinWindow()
-
Method Summary
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
-
-
-
Field Detail
-
beforeAfter
private boolean beforeAfter
-
duration
private long duration
-
timeUnit
private KSQLWindow.TimeUnit timeUnit
-
beforeDuration
private long beforeDuration
-
beforeTimeUnit
private KSQLWindow.TimeUnit beforeTimeUnit
-
afterDuration
private long afterDuration
-
afterTimeUnit
private KSQLWindow.TimeUnit afterTimeUnit
-
-
Method Detail
-
from
public static final KSQLWindow.TimeUnit from(java.lang.String timeUnitStr)
-
isBeforeAfterWindow
public boolean isBeforeAfterWindow()
-
setBeforeAfterWindow
public void setBeforeAfterWindow(boolean beforeAfter)
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
getTimeUnit
public KSQLWindow.TimeUnit getTimeUnit()
-
setTimeUnit
public void setTimeUnit(KSQLWindow.TimeUnit timeUnit)
-
getBeforeDuration
public long getBeforeDuration()
-
setBeforeDuration
public void setBeforeDuration(long beforeDuration)
-
getBeforeTimeUnit
public KSQLWindow.TimeUnit getBeforeTimeUnit()
-
setBeforeTimeUnit
public void setBeforeTimeUnit(KSQLWindow.TimeUnit beforeTimeUnit)
-
getAfterDuration
public long getAfterDuration()
-
setAfterDuration
public void setAfterDuration(long afterDuration)
-
getAfterTimeUnit
public KSQLWindow.TimeUnit getAfterTimeUnit()
-
setAfterTimeUnit
public void setAfterTimeUnit(KSQLWindow.TimeUnit afterTimeUnit)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withDuration
public KSQLJoinWindow withDuration(long duration)
-
withTimeUnit
public KSQLJoinWindow withTimeUnit(KSQLWindow.TimeUnit timeUnit)
-
withBeforeDuration
public KSQLJoinWindow withBeforeDuration(long beforeDuration)
-
withBeforeTimeUnit
public KSQLJoinWindow withBeforeTimeUnit(KSQLWindow.TimeUnit beforeTimeUnit)
-
withAfterDuration
public KSQLJoinWindow withAfterDuration(long afterDuration)
-
withAfterTimeUnit
public KSQLJoinWindow withAfterTimeUnit(KSQLWindow.TimeUnit afterTimeUnit)
-
-