Package org.teiid.query.sql.symbol
Class WindowFrame
- java.lang.Object
-
- org.teiid.query.sql.symbol.WindowFrame
-
- All Implemented Interfaces:
Cloneable,LanguageObject
public class WindowFrame extends Object implements LanguageObject
Defines with window frame for a window function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowFrame.FrameBound-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description WindowFrame(WindowFrame.FrameMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(LanguageVisitor visitor)Method for accepting a visitor.WindowFrameclone()Implement clone to make objects cloneable.booleanequals(Object obj)WindowFrame.FrameBoundgetEnd()Return the end bound, may be nullWindowFrame.FrameModegetMode()WindowFrame.FrameBoundgetStart()inthashCode()voidsetEnd(WindowFrame.FrameBound upperBound)voidsetMode(WindowFrame.FrameMode mode)voidsetStart(WindowFrame.FrameBound lowerBound)StringtoString()
-
-
-
Constructor Detail
-
WindowFrame
public WindowFrame(WindowFrame.FrameMode mode)
-
-
Method Detail
-
getStart
public WindowFrame.FrameBound getStart()
-
getEnd
public WindowFrame.FrameBound getEnd()
Return the end bound, may be null- Returns:
-
setStart
public void setStart(WindowFrame.FrameBound lowerBound)
-
setEnd
public void setEnd(WindowFrame.FrameBound upperBound)
-
getMode
public WindowFrame.FrameMode getMode()
-
setMode
public void setMode(WindowFrame.FrameMode mode)
-
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface:LanguageObjectMethod for accepting a visitor. It is the responsibility of the language object to call back on the visitor.- Specified by:
acceptVisitorin interfaceLanguageObject- Parameters:
visitor- Visitor being used
-
clone
public WindowFrame clone()
Description copied from interface:LanguageObjectImplement clone to make objects cloneable.- Specified by:
clonein interfaceLanguageObject- Overrides:
clonein classObject- Returns:
- Deep clone of this object
-
-