接口 JDFrame<T>
-
- 所有已知子接口:
WindowJDFrame<T>
- 所有已知实现类:
JDFrameImpl
,WindowJDFrameImpl
public interface JDFrame<T> extends IFrame<T>
JDFrame The operations before and after are discontinuous, and all operations take effect in real time. Even after executing the termination operation, they can still be reused without the need to re read to generate a stream- 作者:
- caizhihao
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 JDFrame<FI2<T,Integer>>
addRankCol(Sorter<T> sorter)
Add ranking columns by comparator Ranking logic, the same value means the Ranking is the same.JDFrame<T>
addRankCol(Sorter<T> sorter, SetFunction<T,Integer> set)
Add ranking column to a certain column by ComparatorJDFrame<FI2<T,Integer>>
addRowNumberCol()
ddd ordinal columnJDFrame<T>
addRowNumberCol(SetFunction<T,Integer> set)
Add a numbered column to a specific columnJDFrame<FI2<T,Integer>>
addRowNumberCol(Sorter<T> sorter)
Sort by comparator first, then add ordinal columnsJDFrame<T>
addRowNumberCol(Sorter<T> sorter, SetFunction<T,Integer> set)
Add a numbered column to a specific columnJDFrame<T>
append(T t)
add element to Frame<R> BigDecimal
avg(java.util.function.Function<T,R> function)
average the values of the field<R> List<R>
col(java.util.function.Function<T,R> function)
Get a column valueList<String>
columns()
Get column headerslong
count()
get row countlong
countDistinct(Comparator<T> comparator)
Calculate the quantity after deduplication<R extends Comparable<R>>
longcountDistinct(java.util.function.Function<T,R> function)
Calculate the quantity after deduplicationJDFrame<T>
cut(Integer startIndex, Integer endIndex)
cut elements within the scopeJDFrame<T>
cutFirst(int n)
Cut the top n elementJDFrame<T>
cutFirstRank(Sorter<T> sorter, int n)
Cut the top N rankings data The same value is considered to have the same rankingJDFrame<T>
cutLast(int n)
Cut the last n elementJDFrame<T>
cutPage(int page, int pageSize)
cut paginated dataJDFrame<T>
defaultScale(int scale)
Set default decimal placesJDFrame<T>
defaultScale(int scale, RoundingMode roundingMode)
Set default decimal placesJDFrame<T>
distinct()
distinct by T value<R extends Comparable<R>>
JDFrame<T>distinct(Comparator<T> comparator)
distinct by comparator<R extends Comparable<R>>
JDFrame<T>distinct(java.util.function.Function<T,R> function)
distinct by field valueJDFrame<T>
forEachDo(java.util.function.Consumer<? super T> action)
Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.<R> JDFrame<R>
from(java.util.stream.Stream<R> data)
Convert to other JDFrame<K> JDFrame<FI2<K,List<T>>>
group(java.util.function.Function<? super T,? extends K> key)
Group list<K,R extends Number>
JDFrame<FI2<K,BigDecimal>>groupByAvg(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
Group average<K,J,R extends Number>
JDFrame<FI3<K,J,BigDecimal>>groupByAvg(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, NumberFunction<T,R> value)
Group average<K,J,H,R extends Number>
JDFrame<FI4<K,J,H,BigDecimal>>groupByAvg(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,H> key3, NumberFunction<T,R> value)
Group average<K> JDFrame<FI2<K,Long>>
groupByCount(java.util.function.Function<T,K> key)
Group count<K,J>
JDFrame<FI3<K,J,Long>>groupByCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2)
Group count<K,J,H>
JDFrame<FI4<K,J,H,Long>>groupByCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,H> key3)
Group count<K,J,V extends Comparable<? super V>>
JDFrame<FI3<K,J,T>>groupByMax(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max<K,V extends Comparable<? super V>>
JDFrame<FI2<K,T>>groupByMax(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max<K,J,V extends Comparable<? super V>>
JDFrame<FI3<K,J,MaxMin<T>>>groupByMaxMin(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max and min element<K,V extends Comparable<? super V>>
JDFrame<FI2<K,MaxMin<T>>>groupByMaxMin(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max and min element<K,J,V extends Comparable<? super V>>
JDFrame<FI3<K,J,MaxMin<V>>>groupByMaxMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max and min value<K,V extends Comparable<? super V>>
JDFrame<FI2<K,MaxMin<V>>>groupByMaxMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max and min value<K,J,V extends Comparable<? super V>>
JDFrame<FI3<K,J,V>>groupByMaxValue(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max value<K,V extends Comparable<? super V>>
JDFrame<FI2<K,V>>groupByMaxValue(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max value<K,J,V extends Comparable<? super V>>
JDFrame<FI3<K,J,T>>groupByMin(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group min<K,V extends Comparable<? super V>>
JDFrame<FI2<K,T>>groupByMin(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group min<K,J,V extends Comparable<? super V>>
JDFrame<FI3<K,J,V>>groupByMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group min value<K,V extends Comparable<? super V>>
JDFrame<FI2<K,V>>groupByMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group min value<K,R extends Number>
JDFrame<FI2<K,BigDecimal>>groupBySum(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
Group summation<K,J,R extends Number>
JDFrame<FI3<K,J,BigDecimal>>groupBySum(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, NumberFunction<T,R> value)
Group summation<K,J,H,R extends Number>
JDFrame<FI4<K,J,H,BigDecimal>>groupBySum(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,H> key3, NumberFunction<T,R> value)
Group summation<K,R extends Number>
JDFrame<FI3<K,BigDecimal,Long>>groupBySumCount(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
Group sum and count together<K,J,R extends Number>
JDFrame<FI4<K,J,BigDecimal,Long>>groupBySumCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, NumberFunction<T,R> value)
Group sum and count togetherT
head()
Get the first elementList<T>
head(int n)
Get the first n elements<R,K>
JDFrame<R>join(IFrame<K> other, JoinOn<T,K> on)
inner join Frame such asIFrame.join(IFrame, JoinOn, Join)
, but the default Join isDefaultJoin
, it will automatically map to a new Frame based on the same name<R,K>
JDFrame<R>join(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
inner join Frame<R,K>
JDFrame<R>leftJoin(IFrame<K> other, JoinOn<T,K> on)
left join Frame such asIFrame.leftJoin(IFrame, JoinOn, Join)
, but the default Join isDefaultJoin
,<R,K>
JDFrame<R>leftJoin(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
left join Frame if connection conditions false, The callback value K for Join will be null, always keep T<R> JDFrame<R>
map(java.util.function.Function<T,R> map)
convert to the new Frame<R extends Number>
JDFrame<T>mapPercent(java.util.function.Function<T,R> get, SetFunction<T,BigDecimal> set)
Percentage convert such asIFrame.mapPercent(Function, SetFunction, int)
, but default scale is 2<R extends Number>
JDFrame<T>mapPercent(java.util.function.Function<T,R> get, SetFunction<T,BigDecimal> set, int scale)
Percentage convert you can convert the value of a certain field to a percentage, Then assign a value to a certain column through SetFunction<R extends Comparable<R>>
Tmax(java.util.function.Function<T,R> function)
Finding the maximum element<R extends Comparable<? super R>>
MaxMin<T>maxMin(java.util.function.Function<T,R> function)
Finding the maximum and minimum element<R extends Comparable<? super R>>
MaxMin<R>maxMinValue(java.util.function.Function<T,R> function)
Finding the maximum and minimum value<R extends Comparable<? super R>>
RmaxValue(java.util.function.Function<T,R> function)
Finding the maximum value<R extends Comparable<R>>
Tmin(java.util.function.Function<T,R> function)
Finding the minimum element<R extends Comparable<? super R>>
RminValue(java.util.function.Function<T,R> function)
Finding the minimum value<F> JDFrame<FI2<T,BigDecimal>>
overAvg(Window<T> overParam, java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range<F> JDFrame<FI2<T,BigDecimal>>
overAvg(java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range<F> JDFrame<T>
overAvgS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range<F> JDFrame<T>
overAvgS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window rangeJDFrame<FI2<T,Integer>>
overCount()
count window function calculate the count within the window rangeJDFrame<FI2<T,Integer>>
overCount(Window<T> overParam)
count window function calculate the count within the window rangeJDFrame<T>
overCountS(SetFunction<T,Integer> setFunction)
count window function calculate the count within the window rangeJDFrame<T>
overCountS(SetFunction<T,Integer> setFunction, Window<T> overParam)
count window function calculate the count within the window rangeJDFrame<FI2<T,BigDecimal>>
overCumeDist(Window<T> overParam)
Cume Dist window functionJDFrame<T>
overCumeDistS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)
Cume Dist window function set the function result to the setFunctionJDFrame<FI2<T,Integer>>
overDenseRank(Window<T> overParam)
dense rank window functionJDFrame<T>
overDenseRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)
dense rank window function set the function result to the setFunction<F> JDFrame<FI2<T,F>>
overFirstValue(Window<T> overParam, java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range<F> JDFrame<FI2<T,F>>
overFirstValue(java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range<F> JDFrame<T>
overFirstValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range<F> JDFrame<T>
overFirstValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range<F> JDFrame<FI2<T,F>>
overLag(Window<T> overParam, java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row<F> JDFrame<FI2<T,F>>
overLag(java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row<F> JDFrame<T>
overLagS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row<F> JDFrame<T>
overLagS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row<F> JDFrame<FI2<T,F>>
overLastValue(Window<T> overParam, java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range<F> JDFrame<FI2<T,F>>
overLastValue(java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range<F> JDFrame<T>
overLastValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range<F> JDFrame<T>
overLastValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range<F> JDFrame<FI2<T,F>>
overLead(Window<T> overParam, java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row<F> JDFrame<FI2<T,F>>
overLead(java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row<F> JDFrame<T>
overLeadS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row<F> JDFrame<T>
overLeadS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row<F extends Comparable<? super F>>
JDFrame<FI2<T,F>>overMaxValue(Window<T> overParam, java.util.function.Function<T,F> field)
max window function calculate the max value within the window range<F extends Comparable<? super F>>
JDFrame<FI2<T,F>>overMaxValue(java.util.function.Function<T,F> field)
max window function calculate the max value within the window range<F extends Comparable<? super F>>
JDFrame<T>overMaxValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
max window function calculate the max value within the window range<F extends Comparable<? super F>>
JDFrame<T>overMaxValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
max window function calculate the max value within the window range<F extends Comparable<? super F>>
JDFrame<FI2<T,F>>overMinValue(Window<T> overParam, java.util.function.Function<T,F> field)
min window function calculate the min value within the window range<F extends Comparable<? super F>>
JDFrame<FI2<T,F>>overMinValue(java.util.function.Function<T,F> field)
min window function calculate the min value within the window range<F extends Comparable<? super F>>
JDFrame<T>overMinValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
min window function calculate the min value within the window range<F extends Comparable<? super F>>
JDFrame<T>overMinValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
min window function calculate the min value within the window range<F> JDFrame<FI2<T,F>>
overNthValue(Window<T> overParam, java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range<F> JDFrame<FI2<T,F>>
overNthValue(java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range<F> JDFrame<T>
overNthValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range<F> JDFrame<T>
overNthValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window rangeJDFrame<FI2<T,Integer>>
overNtile(int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrame<FI2<T,Integer>>
overNtile(Window<T> overParam, int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrame<T>
overNtileS(SetFunction<T,Integer> setFunction, int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrame<T>
overNtileS(SetFunction<T,Integer> setFunction, Window<T> overParam, int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrame<FI2<T,BigDecimal>>
overPercentRank(Window<T> overParam)
Percent rank window functionJDFrame<T>
overPercentRankS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)
Percent rank window function set the function result to the setFunctionJDFrame<FI2<T,Integer>>
overRank(Window<T> overParam)
rank window functionJDFrame<T>
overRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)
rank window function set the function result to the setFunctionJDFrame<FI2<T,Integer>>
overRowNumber()
rowNumber window functionJDFrame<FI2<T,Integer>>
overRowNumber(Window<T> overParam)
rowNumber window functionJDFrame<T>
overRowNumberS(SetFunction<T,Integer> setFunction)
rowNumber window function set the function result to the setFunctionJDFrame<T>
overRowNumberS(SetFunction<T,Integer> setFunction, Window<T> overParam)
rowNumber window function set the function result to the setFunction<F> JDFrame<FI2<T,BigDecimal>>
overSum(Window<T> overParam, java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range<F> JDFrame<FI2<T,BigDecimal>>
overSum(java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range<F> JDFrame<T>
overSumS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range<F> JDFrame<T>
overSumS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window rangeJDFrame<List<T>>
partition(int n)
partition cut the matrix into multiple small matrices, with each matrix size nstatic <R> JDFrame<R>
read(List<R> list)
Convert a list to JDFramestatic <K,V>
JDFrame<FI2<K,V>>read(Map<K,V> map)
Convert a map to JDFramestatic <K,J,V>
JDFrame<FI3<K,J,V>>readMap(Map<K,Map<J,V>> map)
Convert a map to JDFrame<C> JDFrame<T>
replenish(java.util.function.Function<T,C> collectDim, List<C> allDim, java.util.function.Function<C,T> getEmptyObject)
Summarize all collectDim values, calculate the difference between them, and then add the missing difference to the Frame through getEmptyObject<G,C>
JDFrame<T>replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, ReplenishFunction<G,C,T> getEmptyObject)
such asIFrame.replenish(Function, Function, List, ReplenishFunction)
, but can not Specify allDim, will auto generate allDim, The default allDim is the value of all collectDim fields in the set<G,C>
JDFrame<T>replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, List<C> allDim, ReplenishFunction<G,C,T> getEmptyObject)
Calculate the difference in groups and then add the difference to that group according to the groupDim dimension, and then summarize all collectDim fields within each group After summarizing, calculate the difference sets with allAbscissa, which are the entries that need to be supplemented.<R,K>
JDFrame<R>rightJoin(IFrame<K> other, JoinOn<T,K> on)
right join Frame such asIFrame.rightJoin(IFrame, JoinOn, Join)
, but the default Join isDefaultJoin
,<R,K>
JDFrame<R>rightJoin(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
right join Frame if connection conditions false, The callback value T for Join will be null, always keep Kvoid
show()
print the 10 row to the consolevoid
show(int n)
print the n row to the consoleJDFrame<T>
sortAsc(Comparator<T> comparator)
Ascending order<R extends Comparable<R>>
JDFrame<T>sortAsc(java.util.function.Function<T,R> function)
Ascending orderJDFrame<T>
sortDesc(Comparator<T> comparator)
Descending order<R extends Comparable<? super R>>
JDFrame<T>sortDesc(java.util.function.Function<T,R> function)
Descending order by field<R> BigDecimal
sum(java.util.function.Function<T,R> function)
Sum the values of the fieldT
tail()
Get the last elementList<T>
tail(int n)
Get the last n elementsJDFrame<T>
union(IFrame<T> other)
add other Frame to thisJDFrame<T>
where(java.util.function.Predicate<? super T> predicate)
filter by predicate<R extends Comparable<R>>
JDFrame<T>whereBetween(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval,front closed and back closed.<R extends Comparable<R>>
JDFrame<T>whereBetweenL(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval , front close and back open [start,end)<R extends Comparable<R>>
JDFrame<T>whereBetweenN(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval , front open and back open (start,end)<R extends Comparable<R>>
JDFrame<T>whereBetweenR(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval , front open and back close (start,end]<R> JDFrame<T>
whereEq(java.util.function.Function<T,R> function, R value)
Filter equals<R extends Comparable<R>>
JDFrame<T>whereGe(java.util.function.Function<T,R> function, R value)
Filter Greater than or equal to<R extends Comparable<R>>
JDFrame<T>whereGt(java.util.function.Function<T,R> function, R value)
Filter Greater than value<R> JDFrame<T>
whereIn(java.util.function.Function<T,R> function, List<R> list)
The query value is within the specified range<R extends Comparable<R>>
JDFrame<T>whereLe(java.util.function.Function<T,R> function, R value)
Filter less than or equal to<R> JDFrame<T>
whereLike(java.util.function.Function<T,R> function, R value)
Fuzzy query contains specified values<R> JDFrame<T>
whereLikeLeft(java.util.function.Function<T,R> function, R value)
prefix fuzzy query contains specified values<R> JDFrame<T>
whereLikeRight(java.util.function.Function<T,R> function, R value)
suffix fuzzy query contains specified values<R extends Comparable<R>>
JDFrame<T>whereLt(java.util.function.Function<T,R> function, R value)
Filter LESS than value<R extends Comparable<R>>
JDFrame<T>whereNotBetween(java.util.function.Function<T,R> function, R start, R end)
Out of range screening, (front closed and back closed) [start,end]<R extends Comparable<R>>
JDFrame<T>whereNotBetweenN(java.util.function.Function<T,R> function, R start, R end)
Out of range screening, (front open and back open) (start,end)<R> JDFrame<T>
whereNotEq(java.util.function.Function<T,R> function, R value)
Filter not equals<R> JDFrame<T>
whereNotIn(java.util.function.Function<T,R> function, List<R> list)
The query value is outside the specified range<R> JDFrame<T>
whereNotLike(java.util.function.Function<T,R> function, R value)
Fuzzy query not contains specified values<R> JDFrame<T>
whereNotNull(java.util.function.Function<T,R> function)
Filter field values that are not null,If it is string compatible, null and '' situationsJDFrame<T>
whereNotTrue(java.util.function.Predicate<T> predicate)
filter not true by predicate<R> JDFrame<T>
whereNull(java.util.function.Function<T,R> function)
Filter field values that are null, If it is string compatible, null and '' situationsJDFrame<T>
whereTrue(java.util.function.Predicate<T> predicate)
filter true by predicateWindowJDFrame<T>
window()
open a empty windowWindowJDFrame<T>
window(Window<T> window)
open a window-
从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
方法详细资料
-
readMap
static <K,J,V> JDFrame<FI3<K,J,V>> readMap(Map<K,Map<J,V>> map)
Convert a map to JDFrame
-
from
<R> JDFrame<R> from(java.util.stream.Stream<R> data)
Convert to other JDFrame
-
forEachDo
JDFrame<T> forEachDo(java.util.function.Consumer<? super T> action)
Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.
-
defaultScale
JDFrame<T> defaultScale(int scale)
Set default decimal places- 指定者:
defaultScale
在接口中IFrame<T>
-
defaultScale
JDFrame<T> defaultScale(int scale, RoundingMode roundingMode)
Set default decimal places- 指定者:
defaultScale
在接口中IFrame<T>
-
join
<R,K> JDFrame<R> join(IFrame<K> other, JoinOn<T,K> on)
inner join Frame such asIFrame.join(IFrame, JoinOn, Join)
, but the default Join isDefaultJoin
, it will automatically map to a new Frame based on the same name
-
leftJoin
<R,K> JDFrame<R> leftJoin(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
left join Frame if connection conditions false, The callback value K for Join will be null, always keep T
-
leftJoin
<R,K> JDFrame<R> leftJoin(IFrame<K> other, JoinOn<T,K> on)
left join Frame such asIFrame.leftJoin(IFrame, JoinOn, Join)
, but the default Join isDefaultJoin
,
-
rightJoin
<R,K> JDFrame<R> rightJoin(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
right join Frame if connection conditions false, The callback value T for Join will be null, always keep K
-
rightJoin
<R,K> JDFrame<R> rightJoin(IFrame<K> other, JoinOn<T,K> on)
right join Frame such asIFrame.rightJoin(IFrame, JoinOn, Join)
, but the default Join isDefaultJoin
,
-
mapPercent
<R extends Number> JDFrame<T> mapPercent(java.util.function.Function<T,R> get, SetFunction<T,BigDecimal> set, int scale)
Percentage convert you can convert the value of a certain field to a percentage, Then assign a value to a certain column through SetFunction- 指定者:
mapPercent
在接口中IFrame<T>
- 类型参数:
R
- the percentage field type- 参数:
get
- need percentage convert fieldset
- field for storing percentage valuesscale
- percentage retain decimal places
-
mapPercent
<R extends Number> JDFrame<T> mapPercent(java.util.function.Function<T,R> get, SetFunction<T,BigDecimal> set)
Percentage convert such asIFrame.mapPercent(Function, SetFunction, int)
, but default scale is 2- 指定者:
mapPercent
在接口中IFrame<T>
- 参数:
get
- need percentage convert fieldset
- field for storing percentage values
-
partition
JDFrame<List<T>> partition(int n)
partition cut the matrix into multiple small matrices, with each matrix size n
-
addRowNumberCol
JDFrame<FI2<T,Integer>> addRowNumberCol()
ddd ordinal column- 指定者:
addRowNumberCol
在接口中IFrame<T>
- 返回:
- FI2(T,Number)
-
addRowNumberCol
JDFrame<FI2<T,Integer>> addRowNumberCol(Sorter<T> sorter)
Sort by comparator first, then add ordinal columns- 指定者:
addRowNumberCol
在接口中IFrame<T>
- 参数:
sorter
- the sort comparator
-
addRowNumberCol
JDFrame<T> addRowNumberCol(SetFunction<T,Integer> set)
Add a numbered column to a specific column- 指定者:
addRowNumberCol
在接口中IFrame<T>
- 参数:
set
- specific column
-
addRowNumberCol
JDFrame<T> addRowNumberCol(Sorter<T> sorter, SetFunction<T,Integer> set)
Add a numbered column to a specific column- 指定者:
addRowNumberCol
在接口中IFrame<T>
- 参数:
sorter
- the sorterset
- specific column
-
addRankCol
JDFrame<FI2<T,Integer>> addRankCol(Sorter<T> sorter)
Add ranking columns by comparator Ranking logic, the same value means the Ranking is the same. This is different fromaddRowNumberCol()
- 指定者:
addRankCol
在接口中IFrame<T>
- 参数:
sorter
- the ranking comparator
-
addRankCol
JDFrame<T> addRankCol(Sorter<T> sorter, SetFunction<T,Integer> set)
Add ranking column to a certain column by Comparator- 指定者:
addRankCol
在接口中IFrame<T>
- 参数:
sorter
- the ranking sorterset
- certain column
-
sortDesc
JDFrame<T> sortDesc(Comparator<T> comparator)
Descending order
-
sortDesc
<R extends Comparable<? super R>> JDFrame<T> sortDesc(java.util.function.Function<T,R> function)
Descending order by field
-
sortAsc
JDFrame<T> sortAsc(Comparator<T> comparator)
Ascending order
-
sortAsc
<R extends Comparable<R>> JDFrame<T> sortAsc(java.util.function.Function<T,R> function)
Ascending order
-
cutFirstRank
JDFrame<T> cutFirstRank(Sorter<T> sorter, int n)
Cut the top N rankings data The same value is considered to have the same ranking- 指定者:
cutFirstRank
在接口中IFrame<T>
- 参数:
sorter
- the ranking sortern
- the top n
-
distinct
<R extends Comparable<R>> JDFrame<T> distinct(java.util.function.Function<T,R> function)
distinct by field value
-
distinct
<R extends Comparable<R>> JDFrame<T> distinct(Comparator<T> comparator)
distinct by comparator
-
countDistinct
<R extends Comparable<R>> long countDistinct(java.util.function.Function<T,R> function)
Calculate the quantity after deduplication- 指定者:
countDistinct
在接口中IFrame<T>
-
countDistinct
long countDistinct(Comparator<T> comparator)
Calculate the quantity after deduplication- 指定者:
countDistinct
在接口中IFrame<T>
-
whereNull
<R> JDFrame<T> whereNull(java.util.function.Function<T,R> function)
Filter field values that are null, If it is string compatible, null and '' situations
-
whereNotNull
<R> JDFrame<T> whereNotNull(java.util.function.Function<T,R> function)
Filter field values that are not null,If it is string compatible, null and '' situations- 指定者:
whereNotNull
在接口中IFrame<T>
- 类型参数:
R
- the filter field type- 参数:
function
- the filter field
-
whereBetween
<R extends Comparable<R>> JDFrame<T> whereBetween(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval,front closed and back closed. [start,end] [start,end]- 指定者:
whereBetween
在接口中IFrame<T>
- 参数:
function
- the filter fieldstart
- start valueend
- end value
-
whereBetweenN
<R extends Comparable<R>> JDFrame<T> whereBetweenN(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval , front open and back open (start,end)- 指定者:
whereBetweenN
在接口中IFrame<T>
- 参数:
function
- the filter fieldstart
- start valueend
- end value
-
whereBetweenR
<R extends Comparable<R>> JDFrame<T> whereBetweenR(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval , front open and back close (start,end]- 指定者:
whereBetweenR
在接口中IFrame<T>
- 参数:
function
- the filter fieldstart
- start valueend
- end value
-
whereBetweenL
<R extends Comparable<R>> JDFrame<T> whereBetweenL(java.util.function.Function<T,R> function, R start, R end)
Screening within the interval , front close and back open [start,end)- 指定者:
whereBetweenL
在接口中IFrame<T>
- 参数:
function
- the filter fieldstart
- start valueend
- end value
-
whereNotBetween
<R extends Comparable<R>> JDFrame<T> whereNotBetween(java.util.function.Function<T,R> function, R start, R end)
Out of range screening, (front closed and back closed) [start,end]- 指定者:
whereNotBetween
在接口中IFrame<T>
- 参数:
function
- the filter fieldstart
- start valueend
- end value
-
whereNotBetweenN
<R extends Comparable<R>> JDFrame<T> whereNotBetweenN(java.util.function.Function<T,R> function, R start, R end)
Out of range screening, (front open and back open) (start,end)- 指定者:
whereNotBetweenN
在接口中IFrame<T>
- 参数:
function
- the filter fieldstart
- start valueend
- end value
-
whereIn
<R> JDFrame<T> whereIn(java.util.function.Function<T,R> function, List<R> list)
The query value is within the specified range
-
whereNotIn
<R> JDFrame<T> whereNotIn(java.util.function.Function<T,R> function, List<R> list)
The query value is outside the specified range- 指定者:
whereNotIn
在接口中IFrame<T>
- 参数:
function
- the filter fieldlist
- specified range
-
whereNotTrue
JDFrame<T> whereNotTrue(java.util.function.Predicate<T> predicate)
filter not true by predicate- 指定者:
whereNotTrue
在接口中IFrame<T>
-
whereNotEq
<R> JDFrame<T> whereNotEq(java.util.function.Function<T,R> function, R value)
Filter not equals- 指定者:
whereNotEq
在接口中IFrame<T>
- 参数:
function
- the fieldvalue
- not need value
-
whereGt
<R extends Comparable<R>> JDFrame<T> whereGt(java.util.function.Function<T,R> function, R value)
Filter Greater than value
-
whereGe
<R extends Comparable<R>> JDFrame<T> whereGe(java.util.function.Function<T,R> function, R value)
Filter Greater than or equal to
-
whereLt
<R extends Comparable<R>> JDFrame<T> whereLt(java.util.function.Function<T,R> function, R value)
Filter LESS than value
-
whereLe
<R extends Comparable<R>> JDFrame<T> whereLe(java.util.function.Function<T,R> function, R value)
Filter less than or equal to
-
whereLike
<R> JDFrame<T> whereLike(java.util.function.Function<T,R> function, R value)
Fuzzy query contains specified values
-
whereNotLike
<R> JDFrame<T> whereNotLike(java.util.function.Function<T,R> function, R value)
Fuzzy query not contains specified values- 指定者:
whereNotLike
在接口中IFrame<T>
- 参数:
function
- the fieldvalue
- query value
-
whereLikeLeft
<R> JDFrame<T> whereLikeLeft(java.util.function.Function<T,R> function, R value)
prefix fuzzy query contains specified values- 指定者:
whereLikeLeft
在接口中IFrame<T>
- 参数:
function
- the fieldvalue
- query value
-
whereLikeRight
<R> JDFrame<T> whereLikeRight(java.util.function.Function<T,R> function, R value)
suffix fuzzy query contains specified values- 指定者:
whereLikeRight
在接口中IFrame<T>
- 参数:
function
- the fieldvalue
- query value
-
sum
<R> BigDecimal sum(java.util.function.Function<T,R> function)
Sum the values of the field
-
avg
<R> BigDecimal avg(java.util.function.Function<T,R> function)
average the values of the field
-
maxMin
<R extends Comparable<? super R>> MaxMin<T> maxMin(java.util.function.Function<T,R> function)
Finding the maximum and minimum element
-
maxMinValue
<R extends Comparable<? super R>> MaxMin<R> maxMinValue(java.util.function.Function<T,R> function)
Finding the maximum and minimum value- 指定者:
maxMinValue
在接口中IFrame<T>
- 参数:
function
- the field
-
max
<R extends Comparable<R>> T max(java.util.function.Function<T,R> function)
Finding the maximum element
-
maxValue
<R extends Comparable<? super R>> R maxValue(java.util.function.Function<T,R> function)
Finding the maximum value
-
minValue
<R extends Comparable<? super R>> R minValue(java.util.function.Function<T,R> function)
Finding the minimum value
-
min
<R extends Comparable<R>> T min(java.util.function.Function<T,R> function)
Finding the minimum element
-
group
<K> JDFrame<FI2<K,List<T>>> group(java.util.function.Function<? super T,? extends K> key)
Group list
-
groupBySum
<K,R extends Number> JDFrame<FI2<K,BigDecimal>> groupBySum(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
Group summation- 指定者:
groupBySum
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupBySum
<K,J,R extends Number> JDFrame<FI3<K,J,BigDecimal>> groupBySum(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, NumberFunction<T,R> value)
Group summation- 指定者:
groupBySum
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupBySum
<K,J,H,R extends Number> JDFrame<FI4<K,J,H,BigDecimal>> groupBySum(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,H> key3, NumberFunction<T,R> value)
Group summation- 指定者:
groupBySum
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldkey3
- third level group fieldvalue
- Aggregated field
-
groupByCount
<K> JDFrame<FI2<K,Long>> groupByCount(java.util.function.Function<T,K> key)
Group count- 指定者:
groupByCount
在接口中IFrame<T>
- 参数:
key
- group field
-
groupByCount
<K,J> JDFrame<FI3<K,J,Long>> groupByCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2)
Group count- 指定者:
groupByCount
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group field
-
groupByCount
<K,J,H> JDFrame<FI4<K,J,H,Long>> groupByCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,H> key3)
Group count- 指定者:
groupByCount
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldkey3
- third level group field
-
groupBySumCount
<K,R extends Number> JDFrame<FI3<K,BigDecimal,Long>> groupBySumCount(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
Group sum and count together- 指定者:
groupBySumCount
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field- 返回:
- FItem3(key, Sum, Count)
-
groupBySumCount
<K,J,R extends Number> JDFrame<FI4<K,J,BigDecimal,Long>> groupBySumCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, NumberFunction<T,R> value)
Group sum and count together- 指定者:
groupBySumCount
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field- 返回:
- FItem4(key, ke2,Sum, Count)
-
groupByAvg
<K,R extends Number> JDFrame<FI2<K,BigDecimal>> groupByAvg(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
Group average- 指定者:
groupByAvg
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByAvg
<K,J,R extends Number> JDFrame<FI3<K,J,BigDecimal>> groupByAvg(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, NumberFunction<T,R> value)
Group average- 指定者:
groupByAvg
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupByAvg
<K,J,H,R extends Number> JDFrame<FI4<K,J,H,BigDecimal>> groupByAvg(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,H> key3, NumberFunction<T,R> value)
Group average- 指定者:
groupByAvg
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldkey3
- third level group fieldvalue
- Aggregated field
-
groupByMax
<K,V extends Comparable<? super V>> JDFrame<FI2<K,T>> groupByMax(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max- 指定者:
groupByMax
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByMax
<K,J,V extends Comparable<? super V>> JDFrame<FI3<K,J,T>> groupByMax(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max- 指定者:
groupByMax
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupByMaxValue
<K,V extends Comparable<? super V>> JDFrame<FI2<K,V>> groupByMaxValue(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max value- 指定者:
groupByMaxValue
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByMaxValue
<K,J,V extends Comparable<? super V>> JDFrame<FI3<K,J,V>> groupByMaxValue(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max value- 指定者:
groupByMaxValue
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupByMin
<K,V extends Comparable<? super V>> JDFrame<FI2<K,T>> groupByMin(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group min- 指定者:
groupByMin
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByMin
<K,J,V extends Comparable<? super V>> JDFrame<FI3<K,J,T>> groupByMin(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group min- 指定者:
groupByMin
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupByMinValue
<K,V extends Comparable<? super V>> JDFrame<FI2<K,V>> groupByMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group min value- 指定者:
groupByMinValue
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByMinValue
<K,J,V extends Comparable<? super V>> JDFrame<FI3<K,J,V>> groupByMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group min value- 指定者:
groupByMinValue
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupByMaxMinValue
<K,V extends Comparable<? super V>> JDFrame<FI2<K,MaxMin<V>>> groupByMaxMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max and min value- 指定者:
groupByMaxMinValue
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByMaxMinValue
<K,J,V extends Comparable<? super V>> JDFrame<FI3<K,J,MaxMin<V>>> groupByMaxMinValue(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max and min value- 指定者:
groupByMaxMinValue
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
groupByMaxMin
<K,V extends Comparable<? super V>> JDFrame<FI2<K,MaxMin<T>>> groupByMaxMin(java.util.function.Function<T,K> key, java.util.function.Function<T,V> value)
Group max and min element- 指定者:
groupByMaxMin
在接口中IFrame<T>
- 参数:
key
- group fieldvalue
- Aggregated field
-
groupByMaxMin
<K,J,V extends Comparable<? super V>> JDFrame<FI3<K,J,MaxMin<T>>> groupByMaxMin(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2, java.util.function.Function<T,V> value)
Group max and min element- 指定者:
groupByMaxMin
在接口中IFrame<T>
- 参数:
key
- group fieldkey2
- secondary level group fieldvalue
- Aggregated field
-
window
WindowJDFrame<T> window(Window<T> window)
open a window- 参数:
window
- window param
-
window
WindowJDFrame<T> window()
open a empty window
-
overRowNumber
JDFrame<FI2<T,Integer>> overRowNumber(Window<T> overParam)
rowNumber window function- 参数:
overParam
- window param
-
overRowNumberS
JDFrame<T> overRowNumberS(SetFunction<T,Integer> setFunction, Window<T> overParam)
rowNumber window function set the function result to the setFunction- 参数:
setFunction
- function result acceptoverParam
- window param
-
overRowNumberS
JDFrame<T> overRowNumberS(SetFunction<T,Integer> setFunction)
rowNumber window function set the function result to the setFunction- 参数:
setFunction
- function result accept
-
overRank
JDFrame<FI2<T,Integer>> overRank(Window<T> overParam)
rank window function- 参数:
overParam
- window param
-
overRankS
JDFrame<T> overRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)
rank window function set the function result to the setFunction- 参数:
setFunction
- function result acceptoverParam
- window param
-
overDenseRank
JDFrame<FI2<T,Integer>> overDenseRank(Window<T> overParam)
dense rank window function- 参数:
overParam
- window param
-
overDenseRankS
JDFrame<T> overDenseRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)
dense rank window function set the function result to the setFunction- 参数:
setFunction
- function result acceptoverParam
- window param
-
overPercentRank
JDFrame<FI2<T,BigDecimal>> overPercentRank(Window<T> overParam)
Percent rank window function- 参数:
overParam
- window param
-
overPercentRankS
JDFrame<T> overPercentRankS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)
Percent rank window function set the function result to the setFunction- 参数:
setFunction
- function result acceptoverParam
- window param
-
overCumeDist
JDFrame<FI2<T,BigDecimal>> overCumeDist(Window<T> overParam)
Cume Dist window function- 参数:
overParam
- window param
-
overCumeDistS
JDFrame<T> overCumeDistS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)
Cume Dist window function set the function result to the setFunction- 参数:
setFunction
- function result acceptoverParam
- window param
-
overLag
<F> JDFrame<FI2<T,F>> overLag(Window<T> overParam, java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row- 参数:
overParam
- window paramfield
- field valuen
- first n rows
-
overLagS
<F> JDFrame<T> overLagS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field valuen
- first n rows
-
overLag
<F> JDFrame<FI2<T,F>> overLag(java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row- 参数:
field
- field valuen
- first n rows
-
overLagS
<F> JDFrame<T> overLagS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
Lag window function get the value of the first n rows of the current row- 参数:
setFunction
- function result acceptfield
- field valuen
- first n rows
-
overLead
<F> JDFrame<FI2<T,F>> overLead(Window<T> overParam, java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row- 参数:
overParam
- window paramfield
- field valuen
- last n rows
-
overLeadS
<F> JDFrame<T> overLeadS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field valuen
- last n rows
-
overLead
<F> JDFrame<FI2<T,F>> overLead(java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row- 参数:
field
- field valuen
- last n rows
-
overLeadS
<F> JDFrame<T> overLeadS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
lead window function get the value of the last n rows of the current row- 参数:
setFunction
- function result acceptfield
- field valuen
- last n rows
-
overNthValue
<F> JDFrame<FI2<T,F>> overNthValue(Window<T> overParam, java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range- 参数:
field
- field valuen
- last n rows
-
overNthValueS
<F> JDFrame<T> overNthValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field valuen
- last n rows
-
overNthValue
<F> JDFrame<FI2<T,F>> overNthValue(java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range- 参数:
field
- field valuen
- last n rows
-
overNthValueS
<F> JDFrame<T> overNthValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
NthValue window function get the Nth row within the window range- 参数:
setFunction
- function result acceptfield
- field valuen
- last n rows
-
overFirstValue
<F> JDFrame<FI2<T,F>> overFirstValue(Window<T> overParam, java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range- 参数:
field
- field value
-
overFirstValueS
<F> JDFrame<T> overFirstValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field value
-
overFirstValue
<F> JDFrame<FI2<T,F>> overFirstValue(java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range- 参数:
field
- field value
-
overFirstValueS
<F> JDFrame<T> overFirstValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
FirstValue window function get the first row within the window range- 参数:
setFunction
- function result acceptfield
- field value
-
overLastValue
<F> JDFrame<FI2<T,F>> overLastValue(Window<T> overParam, java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range- 参数:
overParam
- window paramfield
- field value
-
overLastValueS
<F> JDFrame<T> overLastValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field value
-
overLastValue
<F> JDFrame<FI2<T,F>> overLastValue(java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range- 参数:
field
- field value
-
overLastValueS
<F> JDFrame<T> overLastValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
LastValue window function get the last row within the window range- 参数:
setFunction
- function result acceptfield
- field value
-
overSum
<F> JDFrame<FI2<T,BigDecimal>> overSum(Window<T> overParam, java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range- 参数:
overParam
- window paramfield
- field value
-
overSum
<F> JDFrame<FI2<T,BigDecimal>> overSum(java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range- 参数:
field
- field value
-
overSumS
<F> JDFrame<T> overSumS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field value
-
overSumS
<F> JDFrame<T> overSumS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)
Sum window function calculate the sum within the window range- 参数:
setFunction
- function result acceptfield
- field value
-
overAvg
<F> JDFrame<FI2<T,BigDecimal>> overAvg(Window<T> overParam, java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range- 参数:
overParam
- window paramfield
- field value
-
overAvg
<F> JDFrame<FI2<T,BigDecimal>> overAvg(java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range- 参数:
field
- field value
-
overAvgS
<F> JDFrame<T> overAvgS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field value
-
overAvgS
<F> JDFrame<T> overAvgS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)
avg window function calculate the avg value within the window range- 参数:
setFunction
- function result acceptfield
- field value
-
overMaxValue
<F extends Comparable<? super F>> JDFrame<FI2<T,F>> overMaxValue(Window<T> overParam, java.util.function.Function<T,F> field)
max window function calculate the max value within the window range- 参数:
overParam
- window paramfield
- field value
-
overMaxValue
<F extends Comparable<? super F>> JDFrame<FI2<T,F>> overMaxValue(java.util.function.Function<T,F> field)
max window function calculate the max value within the window range- 参数:
field
- field value
-
overMaxValueS
<F extends Comparable<? super F>> JDFrame<T> overMaxValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
max window function calculate the max value within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field value
-
overMaxValueS
<F extends Comparable<? super F>> JDFrame<T> overMaxValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
max window function calculate the max value within the window range- 参数:
setFunction
- function result acceptfield
- field value
-
overMinValue
<F extends Comparable<? super F>> JDFrame<FI2<T,F>> overMinValue(Window<T> overParam, java.util.function.Function<T,F> field)
min window function calculate the min value within the window range- 参数:
overParam
- window paramfield
- field value
-
overMinValue
<F extends Comparable<? super F>> JDFrame<FI2<T,F>> overMinValue(java.util.function.Function<T,F> field)
min window function calculate the min value within the window range- 参数:
field
- field value
-
overMinValueS
<F extends Comparable<? super F>> JDFrame<T> overMinValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
min window function calculate the min value within the window range- 参数:
setFunction
- function result acceptoverParam
- window paramfield
- field value
-
overMinValueS
<F extends Comparable<? super F>> JDFrame<T> overMinValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
min window function calculate the min value within the window range- 参数:
setFunction
- function result acceptfield
- field value
-
overCount
JDFrame<FI2<T,Integer>> overCount(Window<T> overParam)
count window function calculate the count within the window range- 参数:
overParam
- window param
-
overCount
JDFrame<FI2<T,Integer>> overCount()
count window function calculate the count within the window range
-
overCountS
JDFrame<T> overCountS(SetFunction<T,Integer> setFunction, Window<T> overParam)
count window function calculate the count within the window range- 参数:
setFunction
- function result acceptoverParam
- window param
-
overCountS
JDFrame<T> overCountS(SetFunction<T,Integer> setFunction)
count window function calculate the count within the window range- 参数:
setFunction
- function result accept
-
overNtile
JDFrame<FI2<T,Integer>> overNtile(int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1- 参数:
n
- size of buckets
-
overNtile
JDFrame<FI2<T,Integer>> overNtile(Window<T> overParam, int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1- 参数:
n
- size of bucketsoverParam
- window param
-
overNtileS
JDFrame<T> overNtileS(SetFunction<T,Integer> setFunction, Window<T> overParam, int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1- 参数:
setFunction
- function result acceptn
- size of bucketsoverParam
- window param
-
overNtileS
JDFrame<T> overNtileS(SetFunction<T,Integer> setFunction, int n)
Ntile window function assign bucket numbers evenly to windows, starting from 1- 参数:
setFunction
- function result acceptn
- size of buckets
-
replenish
<C> JDFrame<T> replenish(java.util.function.Function<T,C> collectDim, List<C> allDim, java.util.function.Function<C,T> getEmptyObject)
Summarize all collectDim values, calculate the difference between them, and then add the missing difference to the Frame through getEmptyObject
-
replenish
<G,C> JDFrame<T> replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, List<C> allDim, ReplenishFunction<G,C,T> getEmptyObject)
Calculate the difference in groups and then add the difference to that group according to the groupDim dimension, and then summarize all collectDim fields within each group After summarizing, calculate the difference sets with allAbscissa, which are the entries that need to be supplemented. Then, generate empty objects according to the ReplenishFunction logic and add them to the group- 指定者:
replenish
在接口中IFrame<T>
- 类型参数:
G
- The type of groupingC
- type of collection within the group The set supplemented by @ return- 参数:
groupDim
- Dimension fields for groupingcollectDim
- Data fields collected within the groupallDim
- All dimensions that need to be displayed within the groupgetEmptyObject
- Logic for generating empty objects
-
replenish
<G,C> JDFrame<T> replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, ReplenishFunction<G,C,T> getEmptyObject)
such asIFrame.replenish(Function, Function, List, ReplenishFunction)
, but can not Specify allDim, will auto generate allDim, The default allDim is the value of all collectDim fields in the set
-
-