public interface WindowDefinition<T, U extends Comparable<? super U>>
Represents window definition, which will define the result set to construct the window
T
- the type of Window elementU
- the type of field to sortType Params | Return Type | Name and description |
---|---|---|
|
public Object |
getId() Get the id of window definition |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of() Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(Function<? super T, ?> partitionBy) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(org.apache.groovy.ginq.provider.collection.runtime.Queryable.Order<? super T, ? extends U> orderBy) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(List<Queryable.Order<? super T, ? extends U>> orderBy) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(Function<? super T, ?> partitionBy, List<Queryable.Order<? super T, ? extends U>> orderBy) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(Function<? super T, ?> partitionBy, List<Queryable.Order<? super T, ? extends U>> orderBy, RowBound rows) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(List<Queryable.Order<? super T, ? extends U>> orderBy, RowBound rows) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(Function<? super T, ?> partitionBy, List<Queryable.Order<? super T, ? extends U>> orderBy, ValueBound<? extends U> range) Factory method to create WindowDefinition instance |
<T, U extends Comparable<? super U>> |
public static WindowDefinition<T, U> |
of(List<Queryable.Order<? super T, ? extends U>> orderBy, ValueBound<? extends U> range) Factory method to create WindowDefinition instance |
|
public List<Queryable.Order<? super T, ? extends U>> |
orderBy() Define order, similar to SQL's order by of window definition |
|
public Function<? super T, ?> |
partitionBy() Define partition, similar to SQL's partition by of window definition |
|
public ValueBound<? extends U> |
range() Define the window bounds by values, similar to MySQL's range between 1.0 preceding and 1.0 following of window definition |
|
public RowBound |
rows() Define the window bounds by offsets, similar to MySQL's rows between 1 preceding and 1 following of window definition |
|
public WindowDefinition<T, U> |
setId(Object id) Set the id of window definition |
Get the id of window definition
Factory method to create WindowDefinition instance
T
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
partitionBy
- partition definitionT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
orderBy
- order definitionT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
orderBy
- order definitionT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
partitionBy
- partition definitionorderBy
- order definitionT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
partitionBy
- partition definitionorderBy
- order definitionrows
- the window boundsT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
orderBy
- order definitionrows
- the window boundsT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
partitionBy
- partition definitionorderBy
- order definitionrange
- the window boundsT
- the type of Queryable elementU
- the type of field to sortFactory method to create WindowDefinition instance
orderBy
- order definitionrange
- the window boundsT
- the type of Queryable elementU
- the type of field to sort Define order, similar to SQL's order by
of window definition
Define partition, similar to SQL's partition by
of window definition
Define the window bounds by values, similar to MySQL's range between 1.0 preceding and 1.0 following
of window definition
Define the window bounds by offsets, similar to MySQL's rows between 1 preceding and 1 following
of window definition
Set the id of window definition
id
- the id of window definition