Class WindowFunctionFramable.Rows<A extends EqualExpression<?,?,?>>
- java.lang.Object
-
- nz.co.gregs.dbvolution.expressions.windows.WindowFunctionFramable.FrameType<A>
-
- nz.co.gregs.dbvolution.expressions.windows.WindowFunctionFramable.Rows<A>
-
- All Implemented Interfaces:
DBExpression
,HasSQLString
,WindowingFunctionFramableInterface.FrameType<A>
,WindowingFunctionFramableInterface.WindowPart<A>
- Enclosing class:
- WindowFunctionFramable<A extends EqualExpression<?,?,?>>
public static class WindowFunctionFramable.Rows<A extends EqualExpression<?,?,?>> extends WindowFunctionFramable.FrameType<A>
-
-
Constructor Summary
Constructors Constructor Description Rows(WindowFunctionFramable.Sorted<A> sorted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WindowFunctionFramable.Rows<A>
copy()
A Complete Copy Of This DBValue.String
toSQLString(DBDefinition defn)
Produces the snippet provided by this class.-
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.FrameType
createSQLForFromClause, createSQLForGroupByClause, currentRow, forFollowing, forFollowing, getQueryableDatatypeForExpressionValue, getRequiredExpressionClass, getSorted, getTablesInvolved, isAggregator, isComplexExpression, isPurelyFunctional, isWindowingFunction, offsetPrecedingAndCurrentRow, offsetPrecedingAndCurrentRow, onlyCurrentRow, preceding, preceding, unboundedPreceding, unboundedPrecedingAndCurrentRow
-
-
-
-
Constructor Detail
-
Rows
public Rows(WindowFunctionFramable.Sorted<A> sorted)
-
-
Method Detail
-
toSQLString
public String toSQLString(DBDefinition defn)
Description copied from interface:HasSQLString
Produces 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.
- Parameters:
defn
- the target databaseSupport DBvolution at Patreon
- Returns:
- the DBValue formatted as a SQL snippet
-
copy
public WindowFunctionFramable.Rows<A> copy()
Description copied from interface:DBExpression
A 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:
copy
in interfaceDBExpression
- Specified by:
copy
in interfaceWindowingFunctionFramableInterface.WindowPart<A extends EqualExpression<?,?,?>>
- Specified by:
copy
in classWindowFunctionFramable.FrameType<A extends EqualExpression<?,?,?>>
- Returns:
- a copy of this
DBValue
-
-