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 class
WindowFrame.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 void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.WindowFrame
clone()
Implement clone to make objects cloneable.boolean
equals(Object obj)
WindowFrame.FrameBound
getEnd()
Return the end bound, may be nullWindowFrame.FrameMode
getMode()
WindowFrame.FrameBound
getStart()
int
hashCode()
void
setEnd(WindowFrame.FrameBound upperBound)
void
setMode(WindowFrame.FrameMode mode)
void
setStart(WindowFrame.FrameBound lowerBound)
String
toString()
-
-
-
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:LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.- Specified by:
acceptVisitor
in interfaceLanguageObject
- Parameters:
visitor
- Visitor being used
-
clone
public WindowFrame clone()
Description copied from interface:LanguageObject
Implement clone to make objects cloneable.- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep clone of this object
-
-