Class WindowFunctionFramable.OffsetFollowingStart<A extends EqualExpression<?,?,?>>
- java.lang.Object
-
- nz.co.gregs.dbvolution.expressions.windows.WindowFunctionFramable.FrameStart<A>
-
- nz.co.gregs.dbvolution.expressions.windows.WindowFunctionFramable.OffsetFollowingStart<A>
-
- All Implemented Interfaces:
DBExpression,HasSQLString,WindowingFunctionFramableInterface.EmptyFrameStart<A>,WindowingFunctionFramableInterface.FrameStart<A>,WindowingFunctionFramableInterface.FrameStartFollowing<A>,WindowingFunctionFramableInterface.WindowPart<A>
- Enclosing class:
- WindowFunctionFramable<A extends EqualExpression<?,?,?>>
public static class WindowFunctionFramable.OffsetFollowingStart<A extends EqualExpression<?,?,?>> extends WindowFunctionFramable.FrameStart<A> implements WindowingFunctionFramableInterface.FrameStartFollowing<A>
-
-
Field Summary
-
Fields inherited from class nz.co.gregs.dbvolution.expressions.windows.WindowFunctionFramable.FrameStart
offset, type
-
-
Constructor Summary
Constructors Constructor Description OffsetFollowingStart(WindowFunctionFramable.FrameType<A> type, int offset)OffsetFollowingStart(WindowFunctionFramable.FrameType<A> type, long offset)OffsetFollowingStart(WindowFunctionFramable.FrameType<A> type, IntegerExpression offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowFunctionFramable.OffsetFollowingStart<A>copy()A Complete Copy Of This DBValue.AforFollowing(int offset)AforFollowing(IntegerExpression offset)StringtoSQLString(DBDefinition defn)Produces the snippet provided by this class.AunboundedFollowing()-
Methods inherited from interface nz.co.gregs.dbvolution.expressions.DBExpression
createSQLForFromClause, createSQLForGroupByClause, getQueryableDatatypeForExpressionValue, getTablesInvolved, isAggregator, isComplexExpression, isPurelyFunctional, isWindowingFunction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class nz.co.gregs.dbvolution.expressions.windows.WindowFunctionFramable.FrameStart
createSQLForFromClause, createSQLForGroupByClause, getQueryableDatatypeForExpressionValue, getRequiredExpressionClass, getTablesInvolved, isAggregator, isComplexExpression, isWindowingFunction
-
Methods inherited from interface nz.co.gregs.dbvolution.expressions.windows.WindowingFunctionFramableInterface.WindowPart
getRequiredExpressionClass
-
-
-
-
Constructor Detail
-
OffsetFollowingStart
public OffsetFollowingStart(WindowFunctionFramable.FrameType<A> type, int offset)
-
OffsetFollowingStart
public OffsetFollowingStart(WindowFunctionFramable.FrameType<A> type, long offset)
-
OffsetFollowingStart
public OffsetFollowingStart(WindowFunctionFramable.FrameType<A> type, IntegerExpression offset)
-
-
Method Detail
-
toSQLString
public String toSQLString(DBDefinition defn)
Description copied from interface:HasSQLStringProduces the snippet provided by this class.This is only used internally.
If you are extending DBvolution and adding a new function this is the place to format the information for use in SQL. A DBDefinition instance is provided to supply context and so your SQL can used on multiple database engines.
- Specified by:
toSQLStringin interfaceHasSQLString- Parameters:
defn- the target databaseSupport DBvolution at Patreon
- Returns:
- the DBValue formatted as a SQL snippet
-
copy
public WindowFunctionFramable.OffsetFollowingStart<A> copy()
Description copied from interface:DBExpressionA Complete Copy Of This DBValue.Immutability in DBvolution is maintain by internally copying objects.
This method enables immutability by performing a deep copy of the object.
Singletons may return themselves but all other objects must return a new instance with copies of all mutable fields.
Support DBvolution at Patreon
- Specified by:
copyin interfaceDBExpression- Specified by:
copyin interfaceWindowingFunctionFramableInterface.WindowPart<A extends EqualExpression<?,?,?>>- Specified by:
copyin classWindowFunctionFramable.FrameStart<A extends EqualExpression<?,?,?>>- Returns:
- a copy of this
DBValue
-
forFollowing
public A forFollowing(int offset)
- Specified by:
forFollowingin interfaceWindowingFunctionFramableInterface.FrameStart<A extends EqualExpression<?,?,?>>
-
forFollowing
public A forFollowing(IntegerExpression offset)
- Specified by:
forFollowingin interfaceWindowingFunctionFramableInterface.FrameStart<A extends EqualExpression<?,?,?>>
-
unboundedFollowing
public A unboundedFollowing()
- Specified by:
unboundedFollowingin interfaceWindowingFunctionFramableInterface.FrameStart<A extends EqualExpression<?,?,?>>
-
-