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
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetLowerOffsetClamped(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, waitMethods inherited from interface org.apache.druid.query.operator.window.WindowFrame
unwrap
-
Field Details
-
lowerOffset
-
upperOffset
-
-
Constructor Details
-
OffsetFrame
-
-
Method Details
-
hashCode
public int hashCode() -
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. -
equals
-
toString
-