Package org.teiid.language
Class WindowFrame
- java.lang.Object
-
- org.teiid.language.BaseLanguageObject
-
- org.teiid.language.WindowFrame
-
- All Implemented Interfaces:
LanguageObject
public class WindowFrame extends BaseLanguageObject
Defines with window frame for a window function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WindowFrame.BoundMode
static class
WindowFrame.FrameBound
static class
WindowFrame.FrameMode
-
Constructor Summary
Constructors Constructor Description WindowFrame(WindowFrame.FrameMode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageObjectVisitor visitor)
WindowFrame
clone()
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(LanguageObjectVisitor visitor)
-
toString
public String toString()
- Overrides:
toString
in classBaseLanguageObject
-
clone
public WindowFrame clone()
-
-