Class WindowFrame.OffsetFrame
- java.lang.Object
-
- org.apache.druid.query.operator.window.WindowFrame.OffsetFrame
-
- All Implemented Interfaces:
WindowFrame
- Direct Known Subclasses:
WindowFrame.Groups,WindowFrame.Rows
- Enclosing interface:
- WindowFrame
public abstract static class WindowFrame.OffsetFrame extends Object implements WindowFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.druid.query.operator.window.WindowFrame
WindowFrame.Groups, WindowFrame.OffsetFrame, WindowFrame.Rows
-
-
Field Summary
Fields Modifier and Type Field Description IntegerlowerOffsetIntegerupperOffset
-
Constructor Summary
Constructors Constructor Description OffsetFrame(Integer lowerOffset, Integer upperOffset)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetLowerOffsetClamped(int maxRows)Calculates the applicable lower offset if the max number of rows is known.intgetUpperOffsetClamped(int maxRows)Calculates the applicable upper offset if the max number of rows is known.inthashCode()abstract StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.druid.query.operator.window.WindowFrame
unwrap
-
-
-
-
Method Detail
-
getLowerOffsetClamped
public int getLowerOffsetClamped(int maxRows)
Calculates the applicable lower offset if the max number of rows is known.
-
getUpperOffsetClamped
public int getUpperOffsetClamped(int maxRows)
Calculates the applicable upper offset if the max number of rows is known.
-
-