类 JDFrameImpl<T>
- java.lang.Object
-
- io.github.burukeyou.dataframe.iframe.AbstractCommonFrame<T>
-
- io.github.burukeyou.dataframe.iframe.AbstractWindowDataFrame<T>
-
- io.github.burukeyou.dataframe.iframe.AbstractDataFrameImpl<T>
-
- io.github.burukeyou.dataframe.iframe.JDFrameImpl<T>
-
- 直接已知子类:
WindowJDFrameImpl
public class JDFrameImpl<T> extends AbstractDataFrameImpl<T> implements JDFrame<T>
- 作者:
- caizhihao
-
-
字段概要
字段 修饰符和类型 字段 说明 List<T>dataList-
从类继承的字段 io.github.burukeyou.dataframe.iframe.AbstractWindowDataFrame
emptyWindow, window
-
从类继承的字段 io.github.burukeyou.dataframe.iframe.AbstractCommonFrame
defaultRoundingMode, defaultScale, fieldList, MSG, oldModeField
-
-
构造器概要
构造器 构造器 说明 JDFrameImpl(List<T> list)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JDFrameImpl<FI2<T,Integer>>addRankCol(Sorter<T> sorter)Add ranking columns by comparator Ranking logic, the same value means the Ranking is the same.JDFrameImpl<T>addRankCol(Sorter<T> sorter, SetFunction<T,Integer> set)Add ranking column to a certain column by ComparatorJDFrameImpl<FI2<T,Integer>>addRowNumberCol()ddd ordinal columnJDFrameImpl<T>addRowNumberCol(SetFunction<T,Integer> set)Add a numbered column to a specific columnJDFrameImpl<FI2<T,Integer>>addRowNumberCol(Sorter<T> sorter)Sort by comparator first, then add ordinal columnsJDFrameImpl<T>addRowNumberCol(Sorter<T> sorter, SetFunction<T,Integer> set)Add a numbered column to a specific columnJDFrameImpl<T>append(T t)add element to Framelongcount()get row countlongcountDistinct(Comparator<T> comparator)Calculate the quantity after deduplication<R extends Comparable<R>>
longcountDistinct(java.util.function.Function<T,R> function)Calculate the quantity after deduplicationJDFrameImpl<T>cut(Integer startIndex, Integer endIndex)cut elements within the scopeJDFrameImpl<T>cutFirst(int n)截取前n个JDFrameImpl<T>cutFirstRank(Sorter<T> sorter, int n)Cut the top N rankings data The same value is considered to have the same rankingJDFrameImpl<T>cutLast(int n)Cut the last n elementJDFrame<T>cutPage(int page, int pageSize)cut paginated dataJDFrameImpl<T>defaultScale(int scale)Set default decimal placesJDFrameImpl<T>defaultScale(int scale, RoundingMode roundingMode)Set default decimal placesJDFrameImpl<T>distinct()distinct by T value<R extends Comparable<R>>
JDFrameImpl<T>distinct(Comparator<T> comparator)distinct by comparator<R extends Comparable<R>>
JDFrameImpl<T>distinct(java.util.function.Function<T,R> function)distinct by field value<F> JDFrameImpl<T>fi2Frame(JDFrameImpl<FI2<T,F>> frame, SetFunction<T,F> setFunction)JDFrameImpl<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> JDFrameImpl<R>from(List<R> list)<R> JDFrameImpl<R>from(java.util.stream.Stream<R> stream)Convert to other JDFrame<K> JDFrame<FI2<K,List<T>>>group(java.util.function.Function<T,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)=========================== 分组相关 =====================================<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 together<R,K>
JDFrameImpl<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>
JDFrameImpl<R>join(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)inner join Frame<R,K>
JDFrameImpl<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>
JDFrameImpl<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> JDFrameImpl<R>map(java.util.function.Function<T,R> map)convert to the new Frame<R extends Number>
JDFrameImpl<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>
JDFrameImpl<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<F> JDFrameImpl<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> JDFrameImpl<FI2<T,BigDecimal>>overAvg(java.util.function.Function<T,F> field)avg window function calculate the avg value within the window range<F> JDFrameImpl<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> JDFrameImpl<T>overAvgS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)avg window function calculate the avg value within the window rangeJDFrameImpl<FI2<T,Integer>>overCount()count window function calculate the count within the window rangeJDFrameImpl<FI2<T,Integer>>overCount(Window<T> overParam)count window function calculate the count within the window rangeJDFrameImpl<T>overCountS(SetFunction<T,Integer> setFunction)count window function calculate the count within the window rangeJDFrameImpl<T>overCountS(SetFunction<T,Integer> setFunction, Window<T> overParam)count window function calculate the count within the window rangeJDFrameImpl<FI2<T,BigDecimal>>overCumeDist(Window<T> overParam)Cume Dist window functionJDFrameImpl<T>overCumeDistS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)Cume Dist window function set the function result to the setFunctionJDFrameImpl<FI2<T,Integer>>overDenseRank(Window<T> overParam)dense rank window functionJDFrameImpl<T>overDenseRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)dense rank window function set the function result to the setFunction<F> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<FI2<T,F>>overLastValue(java.util.function.Function<T,F> field)LastValue window function get the last row within the window range<F> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<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 rangeJDFrameImpl<FI2<T,Integer>>overNtile(int n)Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrameImpl<FI2<T,Integer>>overNtile(Window<T> overParam, int n)Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrameImpl<T>overNtileS(SetFunction<T,Integer> setFunction, int n)Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrameImpl<T>overNtileS(SetFunction<T,Integer> setFunction, Window<T> overParam, int n)Ntile window function assign bucket numbers evenly to windows, starting from 1JDFrameImpl<FI2<T,BigDecimal>>overPercentRank(Window<T> overParam)Percent rank window functionJDFrameImpl<T>overPercentRankS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)Percent rank window function set the function result to the setFunctionJDFrameImpl<FI2<T,Integer>>overRank(Window<T> overParam)rank window functionJDFrameImpl<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 functionJDFrameImpl<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 setFunctionJDFrameImpl<T>overRowNumberS(SetFunction<T,Integer> setFunction, Window<T> overParam)rowNumber window function set the function result to the setFunction<F> JDFrameImpl<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> JDFrameImpl<FI2<T,BigDecimal>>overSum(java.util.function.Function<T,F> field)Sum window function calculate the sum within the window range<F> JDFrameImpl<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> JDFrameImpl<T>overSumS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)Sum window function calculate the sum within the window rangeJDFrameImpl<List<T>>partition(int n)partition cut the matrix into multiple small matrices, with each matrix size n<C> JDFrameImpl<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>
JDFrameImpl<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>
JDFrameImpl<T>replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, List<C> allDim, ReplenishFunction<G,C,T> getEmptyObject)============================== Other ===============protected <R> JDFrameImpl<R>returnDF(List<R> dataList)protected <R> JDFrameImpl<R>returnDF(java.util.stream.Stream<R> stream)<R,K>
JDFrameImpl<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>
JDFrameImpl<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 KJDFrameImpl<T>sortAsc(Comparator<T> comparator)Ascending order<R extends Comparable<R>>
JDFrameImpl<T>sortAsc(java.util.function.Function<T,R> function)Ascending orderJDFrameImpl<T>sortDesc(Comparator<T> comparator)=========================== 排序相关 =====================================<R extends Comparable<? super R>>
JDFrameImpl<T>sortDesc(java.util.function.Function<T,R> function)Descending order by fieldjava.util.stream.Stream<T>stream()get streamList<T>toLists()Convert to listJDFrameImpl<T>union(IFrame<T> other)add other Frame to thisJDFrameImpl<T>where(java.util.function.Predicate<? super T> predicate)filter by predicate<R extends Comparable<R>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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>>
JDFrameImpl<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> JDFrameImpl<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> JDFrameImpl<T>whereNull(java.util.function.Function<T,R> function)=========================== 筛选相关 =====================================JDFrame<T>whereTrue(java.util.function.Predicate<T> predicate)filter true by predicateWindowJDFrame<T>window()open a empty windowWindowJDFrame<T>window(Window<T> window)================= Window ============================================-
从类继承的方法 io.github.burukeyou.dataframe.iframe.AbstractDataFrameImpl
avg, buildFieldList, col, columns, getApplyValue, getListGroupMaxMinFunction, getListGroupMaxMinValueFunction, getListMaxFunction, getListMinFunction, groupKey, groupKey, groupKey, groupKey, groupToMap, head, head, iterator, joinList, leftJoinList, max, maxMin, maxMinValue, maxValue, mergeCollection, min, minValue, page, replenish, replenish, replenish, rightJoinList, show, show, streamFilterNull, subList, sum, tail, tail, whereBetweenLStream, whereBetweenNStream, whereBetweenRStream, whereBetweenStream, whereEqStream, whereGeStream, whereGtStream, whereInStream, whereLeStream, whereLikeLeftStream, whereLikeRightStream, whereLikeStream, whereLtStream, whereNotBetweenNStream, whereNotBetweenStream, whereNotEqStream, whereNotInStream, whereNotLikeStream, whereNotNullStream, whereNullStream
-
从类继承的方法 io.github.burukeyou.dataframe.iframe.AbstractWindowDataFrame
dfsFindWindow, getBigDecimalValue, getFirstSlidingWindow, getIndexRange, isAllRow, isInRange, overAbject, slidingWindowAvg, slidingWindowForMaxValue, slidingWindowForMinValue, slidingWindowSum, updateSlidingWindowMaxQueue, updateSlidingWindowMinQueue, windowFunctionForAvg, windowFunctionForCount, windowFunctionForCumeDist, windowFunctionForDenseRank, windowFunctionForLag, windowFunctionForLead, windowFunctionForMaxValue, windowFunctionForMinValue, windowFunctionForNthValue, windowFunctionForNtile, windowFunctionForPercentRank, windowFunctionForRank, windowFunctionForRowNumber, windowFunctionForSum
-
从类继承的方法 io.github.burukeyou.dataframe.iframe.AbstractCommonFrame
bigDecimalToClassValue, buildPrintDataArr, getOldRoundingMode, getSuperClassActualTypeArguments, getSuperInterfaceActualTypeArguments, initDefaultScale, rankingSameAsc, rankingSameAsc, transmitMember
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
方法详细资料
-
count
public long count()
从接口复制的说明:IFrameget row count
-
from
public <R> JDFrameImpl<R> from(java.util.stream.Stream<R> stream)
从接口复制的说明:JDFrameConvert to other JDFrame
-
forEachDo
public JDFrameImpl<T> forEachDo(java.util.function.Consumer<? super T> action)
从接口复制的说明:JDFramePerforms the given action for each element of the Iterable until all elements have been processed or the action throws an exception.
-
defaultScale
public JDFrameImpl<T> defaultScale(int scale)
从接口复制的说明:JDFrameSet default decimal places- 指定者:
defaultScale在接口中IFrame<T>- 指定者:
defaultScale在接口中JDFrame<T>
-
defaultScale
public JDFrameImpl<T> defaultScale(int scale, RoundingMode roundingMode)
从接口复制的说明:JDFrameSet default decimal places- 指定者:
defaultScale在接口中IFrame<T>- 指定者:
defaultScale在接口中JDFrame<T>
-
from
public <R> JDFrameImpl<R> from(List<R> list)
-
map
public <R> JDFrameImpl<R> map(java.util.function.Function<T,R> map)
从接口复制的说明:JDFrameconvert to the new Frame
-
mapPercent
public <R extends Number> JDFrameImpl<T> mapPercent(java.util.function.Function<T,R> get, SetFunction<T,BigDecimal> set)
从接口复制的说明:JDFramePercentage convert such asIFrame.mapPercent(Function, SetFunction, int), but default scale is 2- 指定者:
mapPercent在接口中IFrame<T>- 指定者:
mapPercent在接口中JDFrame<T>- 参数:
get- need percentage convert fieldset- field for storing percentage values
-
mapPercent
public <R extends Number> JDFrameImpl<T> mapPercent(java.util.function.Function<T,R> get, SetFunction<T,BigDecimal> set, int scale)
从接口复制的说明:JDFramePercentage 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>- 指定者:
mapPercent在接口中JDFrame<T>- 类型参数:
R- the percentage field type- 参数:
get- need percentage convert fieldset- field for storing percentage valuesscale- percentage retain decimal places
-
partition
public JDFrameImpl<List<T>> partition(int n)
从接口复制的说明:JDFramepartition cut the matrix into multiple small matrices, with each matrix size n
-
append
public JDFrameImpl<T> append(T t)
从接口复制的说明:JDFrameadd element to Frame
-
union
public JDFrameImpl<T> union(IFrame<T> other)
从接口复制的说明:JDFrameadd other Frame to this
-
join
public <R,K> JDFrameImpl<R> join(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
从接口复制的说明:JDFrameinner join Frame
-
join
public <R,K> JDFrameImpl<R> join(IFrame<K> other, JoinOn<T,K> on)
从接口复制的说明:JDFrameinner 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
public <R,K> JDFrameImpl<R> leftJoin(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
从接口复制的说明:JDFrameleft join Frame if connection conditions false, The callback value K for Join will be null, always keep T
-
leftJoin
public <R,K> JDFrameImpl<R> leftJoin(IFrame<K> other, JoinOn<T,K> on)
从接口复制的说明:JDFrameleft join Frame such asIFrame.leftJoin(IFrame, JoinOn, Join), but the default Join isDefaultJoin,
-
rightJoin
public <R,K> JDFrameImpl<R> rightJoin(IFrame<K> other, JoinOn<T,K> on, Join<T,K,R> join)
从接口复制的说明:JDFrameright join Frame if connection conditions false, The callback value T for Join will be null, always keep K
-
rightJoin
public <R,K> JDFrameImpl<R> rightJoin(IFrame<K> other, JoinOn<T,K> on)
从接口复制的说明:JDFrameright join Frame such asIFrame.rightJoin(IFrame, JoinOn, Join), but the default Join isDefaultJoin,
-
addRowNumberCol
public JDFrameImpl<FI2<T,Integer>> addRowNumberCol()
从接口复制的说明:JDFrameddd ordinal column- 指定者:
addRowNumberCol在接口中IFrame<T>- 指定者:
addRowNumberCol在接口中JDFrame<T>- 返回:
- FI2(T,Number)
-
addRowNumberCol
public JDFrameImpl<FI2<T,Integer>> addRowNumberCol(Sorter<T> sorter)
从接口复制的说明:JDFrameSort by comparator first, then add ordinal columns- 指定者:
addRowNumberCol在接口中IFrame<T>- 指定者:
addRowNumberCol在接口中JDFrame<T>- 参数:
sorter- the sort comparator
-
addRowNumberCol
public JDFrameImpl<T> addRowNumberCol(SetFunction<T,Integer> set)
从接口复制的说明:JDFrameAdd a numbered column to a specific column- 指定者:
addRowNumberCol在接口中IFrame<T>- 指定者:
addRowNumberCol在接口中JDFrame<T>- 参数:
set- specific column
-
addRowNumberCol
public JDFrameImpl<T> addRowNumberCol(Sorter<T> sorter, SetFunction<T,Integer> set)
从接口复制的说明:JDFrameAdd a numbered column to a specific column- 指定者:
addRowNumberCol在接口中IFrame<T>- 指定者:
addRowNumberCol在接口中JDFrame<T>- 参数:
sorter- the sorterset- specific column
-
addRankCol
public JDFrameImpl<FI2<T,Integer>> addRankCol(Sorter<T> sorter)
从接口复制的说明:JDFrameAdd ranking columns by comparator Ranking logic, the same value means the Ranking is the same. This is different fromJDFrame.addRowNumberCol()- 指定者:
addRankCol在接口中IFrame<T>- 指定者:
addRankCol在接口中JDFrame<T>- 参数:
sorter- the ranking comparator
-
addRankCol
public JDFrameImpl<T> addRankCol(Sorter<T> sorter, SetFunction<T,Integer> set)
从接口复制的说明:JDFrameAdd ranking column to a certain column by Comparator- 指定者:
addRankCol在接口中IFrame<T>- 指定者:
addRankCol在接口中JDFrame<T>- 参数:
sorter- the ranking sorterset- certain column
-
sortDesc
public JDFrameImpl<T> sortDesc(Comparator<T> comparator)
=========================== 排序相关 =====================================
-
sortDesc
public <R extends Comparable<? super R>> JDFrameImpl<T> sortDesc(java.util.function.Function<T,R> function)
从接口复制的说明:JDFrameDescending order by field
-
sortAsc
public JDFrameImpl<T> sortAsc(Comparator<T> comparator)
从接口复制的说明:JDFrameAscending order
-
sortAsc
public <R extends Comparable<R>> JDFrameImpl<T> sortAsc(java.util.function.Function<T,R> function)
从接口复制的说明:JDFrameAscending order
-
cutFirstRank
public JDFrameImpl<T> cutFirstRank(Sorter<T> sorter, int n)
从接口复制的说明:JDFrameCut the top N rankings data The same value is considered to have the same ranking- 指定者:
cutFirstRank在接口中IFrame<T>- 指定者:
cutFirstRank在接口中JDFrame<T>- 参数:
sorter- the ranking sortern- the top n
-
cutFirst
public JDFrameImpl<T> cutFirst(int n)
截取前n个
-
cutLast
public JDFrameImpl<T> cutLast(int n)
从接口复制的说明:JDFrameCut the last n element
-
cut
public JDFrameImpl<T> cut(Integer startIndex, Integer endIndex)
从接口复制的说明:JDFramecut elements within the scope
-
distinct
public JDFrameImpl<T> distinct()
从接口复制的说明:JDFramedistinct by T value
-
distinct
public <R extends Comparable<R>> JDFrameImpl<T> distinct(java.util.function.Function<T,R> function)
从接口复制的说明:JDFramedistinct by field value
-
distinct
public <R extends Comparable<R>> JDFrameImpl<T> distinct(Comparator<T> comparator)
从接口复制的说明:JDFramedistinct by comparator
-
where
public JDFrameImpl<T> where(java.util.function.Predicate<? super T> predicate)
从接口复制的说明:JDFramefilter by predicate
-
countDistinct
public long countDistinct(Comparator<T> comparator)
从接口复制的说明:JDFrameCalculate the quantity after deduplication- 指定者:
countDistinct在接口中IFrame<T>- 指定者:
countDistinct在接口中JDFrame<T>
-
countDistinct
public <R extends Comparable<R>> long countDistinct(java.util.function.Function<T,R> function)
从接口复制的说明:JDFrameCalculate the quantity after deduplication- 指定者:
countDistinct在接口中IFrame<T>- 指定者:
countDistinct在接口中JDFrame<T>
-
whereNull
public <R> JDFrameImpl<T> whereNull(java.util.function.Function<T,R> function)
=========================== 筛选相关 =====================================
-
whereNotNull
public <R> JDFrameImpl<T> whereNotNull(java.util.function.Function<T,R> function)
从接口复制的说明:JDFrameFilter field values that are not null,If it is string compatible, null and '' situations- 指定者:
whereNotNull在接口中IFrame<T>- 指定者:
whereNotNull在接口中JDFrame<T>- 类型参数:
R- the filter field type- 参数:
function- the filter field
-
whereBetween
public <R extends Comparable<R>> JDFrameImpl<T> whereBetween(java.util.function.Function<T,R> function, R start, R end)
从接口复制的说明:JDFrameScreening within the interval,front closed and back closed. [start,end] [start,end]- 指定者:
whereBetween在接口中IFrame<T>- 指定者:
whereBetween在接口中JDFrame<T>- 参数:
function- the filter fieldstart- start valueend- end value
-
whereBetweenN
public <R extends Comparable<R>> JDFrameImpl<T> whereBetweenN(java.util.function.Function<T,R> function, R start, R end)
从接口复制的说明:JDFrameScreening within the interval , front open and back open (start,end)- 指定者:
whereBetweenN在接口中IFrame<T>- 指定者:
whereBetweenN在接口中JDFrame<T>- 参数:
function- the filter fieldstart- start valueend- end value
-
whereBetweenR
public <R extends Comparable<R>> JDFrameImpl<T> whereBetweenR(java.util.function.Function<T,R> function, R start, R end)
从接口复制的说明:JDFrameScreening within the interval , front open and back close (start,end]- 指定者:
whereBetweenR在接口中IFrame<T>- 指定者:
whereBetweenR在接口中JDFrame<T>- 参数:
function- the filter fieldstart- start valueend- end value
-
whereBetweenL
public <R extends Comparable<R>> JDFrameImpl<T> whereBetweenL(java.util.function.Function<T,R> function, R start, R end)
从接口复制的说明:JDFrameScreening within the interval , front close and back open [start,end)- 指定者:
whereBetweenL在接口中IFrame<T>- 指定者:
whereBetweenL在接口中JDFrame<T>- 参数:
function- the filter fieldstart- start valueend- end value
-
whereNotBetween
public <R extends Comparable<R>> JDFrameImpl<T> whereNotBetween(java.util.function.Function<T,R> function, R start, R end)
从接口复制的说明:JDFrameOut of range screening, (front closed and back closed) [start,end]- 指定者:
whereNotBetween在接口中IFrame<T>- 指定者:
whereNotBetween在接口中JDFrame<T>- 参数:
function- the filter fieldstart- start valueend- end value
-
whereNotBetweenN
public <R extends Comparable<R>> JDFrameImpl<T> whereNotBetweenN(java.util.function.Function<T,R> function, R start, R end)
从接口复制的说明:JDFrameOut of range screening, (front open and back open) (start,end)- 指定者:
whereNotBetweenN在接口中IFrame<T>- 指定者:
whereNotBetweenN在接口中JDFrame<T>- 参数:
function- the filter fieldstart- start valueend- end value
-
whereIn
public <R> JDFrame<T> whereIn(java.util.function.Function<T,R> function, List<R> list)
从接口复制的说明:JDFrameThe query value is within the specified range
-
whereNotIn
public <R> JDFrame<T> whereNotIn(java.util.function.Function<T,R> function, List<R> list)
从接口复制的说明:JDFrameThe query value is outside the specified range- 指定者:
whereNotIn在接口中IFrame<T>- 指定者:
whereNotIn在接口中JDFrame<T>- 参数:
function- the filter fieldlist- specified range
-
whereTrue
public JDFrame<T> whereTrue(java.util.function.Predicate<T> predicate)
从接口复制的说明:JDFramefilter true by predicate
-
whereNotTrue
public JDFrame<T> whereNotTrue(java.util.function.Predicate<T> predicate)
从接口复制的说明:JDFramefilter not true by predicate- 指定者:
whereNotTrue在接口中IFrame<T>- 指定者:
whereNotTrue在接口中JDFrame<T>
-
whereEq
public <R> JDFrame<T> whereEq(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFilter equals
-
whereNotEq
public <R> JDFrame<T> whereNotEq(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFilter not equals- 指定者:
whereNotEq在接口中IFrame<T>- 指定者:
whereNotEq在接口中JDFrame<T>- 参数:
function- the fieldvalue- not need value
-
whereGt
public <R extends Comparable<R>> JDFrame<T> whereGt(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFilter Greater than value
-
whereGe
public <R extends Comparable<R>> JDFrame<T> whereGe(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFilter Greater than or equal to
-
whereLt
public <R extends Comparable<R>> JDFrame<T> whereLt(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFilter LESS than value
-
whereLe
public <R extends Comparable<R>> JDFrameImpl<T> whereLe(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFilter less than or equal to
-
whereLike
public <R> JDFrame<T> whereLike(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFuzzy query contains specified values
-
whereNotLike
public <R> JDFrame<T> whereNotLike(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameFuzzy query not contains specified values- 指定者:
whereNotLike在接口中IFrame<T>- 指定者:
whereNotLike在接口中JDFrame<T>- 参数:
function- the fieldvalue- query value
-
whereLikeLeft
public <R> JDFrame<T> whereLikeLeft(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFrameprefix fuzzy query contains specified values- 指定者:
whereLikeLeft在接口中IFrame<T>- 指定者:
whereLikeLeft在接口中JDFrame<T>- 参数:
function- the fieldvalue- query value
-
whereLikeRight
public <R> JDFrame<T> whereLikeRight(java.util.function.Function<T,R> function, R value)
从接口复制的说明:JDFramesuffix fuzzy query contains specified values- 指定者:
whereLikeRight在接口中IFrame<T>- 指定者:
whereLikeRight在接口中JDFrame<T>- 参数:
function- the fieldvalue- query value
-
group
public <K> JDFrame<FI2<K,List<T>>> group(java.util.function.Function<T,K> key)
从接口复制的说明:JDFrameGroup list
-
groupBySum
public <K,R extends Number> JDFrame<FI2<K,BigDecimal>> groupBySum(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
=========================== 分组相关 =====================================- 指定者:
groupBySum在接口中IFrame<T>- 指定者:
groupBySum在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupBySum
public <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)
从接口复制的说明:JDFrameGroup summation- 指定者:
groupBySum在接口中IFrame<T>- 指定者:
groupBySum在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupBySum
public <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)
从接口复制的说明:JDFrameGroup summation- 指定者:
groupBySum在接口中IFrame<T>- 指定者:
groupBySum在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldkey3- third level group fieldvalue- Aggregated field
-
groupByCount
public <K> JDFrame<FI2<K,Long>> groupByCount(java.util.function.Function<T,K> key)
从接口复制的说明:JDFrameGroup count- 指定者:
groupByCount在接口中IFrame<T>- 指定者:
groupByCount在接口中JDFrame<T>- 参数:
key- group field
-
groupByCount
public <K,J> JDFrame<FI3<K,J,Long>> groupByCount(java.util.function.Function<T,K> key, java.util.function.Function<T,J> key2)
从接口复制的说明:JDFrameGroup count- 指定者:
groupByCount在接口中IFrame<T>- 指定者:
groupByCount在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group field
-
groupByCount
public <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)
从接口复制的说明:JDFrameGroup count- 指定者:
groupByCount在接口中IFrame<T>- 指定者:
groupByCount在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldkey3- third level group field
-
groupBySumCount
public <K,R extends Number> JDFrame<FI3<K,BigDecimal,Long>> groupBySumCount(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
从接口复制的说明:JDFrameGroup sum and count together- 指定者:
groupBySumCount在接口中IFrame<T>- 指定者:
groupBySumCount在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field- 返回:
- FItem3(key, Sum, Count)
-
groupBySumCount
public <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)
从接口复制的说明:JDFrameGroup sum and count together- 指定者:
groupBySumCount在接口中IFrame<T>- 指定者:
groupBySumCount在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field- 返回:
- FItem4(key, ke2,Sum, Count)
-
groupByAvg
public <K,R extends Number> JDFrame<FI2<K,BigDecimal>> groupByAvg(java.util.function.Function<T,K> key, NumberFunction<T,R> value)
从接口复制的说明:JDFrameGroup average- 指定者:
groupByAvg在接口中IFrame<T>- 指定者:
groupByAvg在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByAvg
public <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)
从接口复制的说明:JDFrameGroup average- 指定者:
groupByAvg在接口中IFrame<T>- 指定者:
groupByAvg在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupByAvg
public <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)
从接口复制的说明:JDFrameGroup average- 指定者:
groupByAvg在接口中IFrame<T>- 指定者:
groupByAvg在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldkey3- third level group fieldvalue- Aggregated field
-
groupByMax
public <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)
从接口复制的说明:JDFrameGroup max- 指定者:
groupByMax在接口中IFrame<T>- 指定者:
groupByMax在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByMax
public <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)
从接口复制的说明:JDFrameGroup max- 指定者:
groupByMax在接口中IFrame<T>- 指定者:
groupByMax在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupByMaxValue
public <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)
从接口复制的说明:JDFrameGroup max value- 指定者:
groupByMaxValue在接口中IFrame<T>- 指定者:
groupByMaxValue在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByMaxValue
public <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)
从接口复制的说明:JDFrameGroup max value- 指定者:
groupByMaxValue在接口中IFrame<T>- 指定者:
groupByMaxValue在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupByMin
public <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)
从接口复制的说明:JDFrameGroup min- 指定者:
groupByMin在接口中IFrame<T>- 指定者:
groupByMin在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByMin
public <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)
从接口复制的说明:JDFrameGroup min- 指定者:
groupByMin在接口中IFrame<T>- 指定者:
groupByMin在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupByMinValue
public <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)
从接口复制的说明:JDFrameGroup min value- 指定者:
groupByMinValue在接口中IFrame<T>- 指定者:
groupByMinValue在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByMinValue
public <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)
从接口复制的说明:JDFrameGroup min value- 指定者:
groupByMinValue在接口中IFrame<T>- 指定者:
groupByMinValue在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupByMaxMinValue
public <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)
从接口复制的说明:JDFrameGroup max and min value- 指定者:
groupByMaxMinValue在接口中IFrame<T>- 指定者:
groupByMaxMinValue在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByMaxMinValue
public <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)
从接口复制的说明:JDFrameGroup max and min value- 指定者:
groupByMaxMinValue在接口中IFrame<T>- 指定者:
groupByMaxMinValue在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
groupByMaxMin
public <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)
从接口复制的说明:JDFrameGroup max and min element- 指定者:
groupByMaxMin在接口中IFrame<T>- 指定者:
groupByMaxMin在接口中JDFrame<T>- 参数:
key- group fieldvalue- Aggregated field
-
groupByMaxMin
public <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)
从接口复制的说明:JDFrameGroup max and min element- 指定者:
groupByMaxMin在接口中IFrame<T>- 指定者:
groupByMaxMin在接口中JDFrame<T>- 参数:
key- group fieldkey2- secondary level group fieldvalue- Aggregated field
-
window
public WindowJDFrame<T> window(Window<T> window)
================= Window ============================================
-
window
public WindowJDFrame<T> window()
从接口复制的说明:JDFrameopen a empty window
-
fi2Frame
public <F> JDFrameImpl<T> fi2Frame(JDFrameImpl<FI2<T,F>> frame, SetFunction<T,F> setFunction)
-
overRowNumber
public JDFrameImpl<FI2<T,Integer>> overRowNumber(Window<T> overParam)
从接口复制的说明:JDFramerowNumber window function- 指定者:
overRowNumber在接口中JDFrame<T>- 参数:
overParam- window param
-
overRowNumber
public JDFrame<FI2<T,Integer>> overRowNumber()
从接口复制的说明:JDFramerowNumber window function- 指定者:
overRowNumber在接口中JDFrame<T>
-
overRowNumberS
public JDFrameImpl<T> overRowNumberS(SetFunction<T,Integer> setFunction, Window<T> overParam)
从接口复制的说明:JDFramerowNumber window function set the function result to the setFunction- 指定者:
overRowNumberS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window param
-
overRowNumberS
public JDFrame<T> overRowNumberS(SetFunction<T,Integer> setFunction)
从接口复制的说明:JDFramerowNumber window function set the function result to the setFunction- 指定者:
overRowNumberS在接口中JDFrame<T>- 参数:
setFunction- function result accept
-
overRank
public JDFrameImpl<FI2<T,Integer>> overRank(Window<T> overParam)
从接口复制的说明:JDFramerank window function
-
overRankS
public JDFrameImpl<T> overRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)
从接口复制的说明:JDFramerank window function set the function result to the setFunction
-
overDenseRank
public JDFrameImpl<FI2<T,Integer>> overDenseRank(Window<T> overParam)
从接口复制的说明:JDFramedense rank window function- 指定者:
overDenseRank在接口中JDFrame<T>- 参数:
overParam- window param
-
overDenseRankS
public JDFrameImpl<T> overDenseRankS(SetFunction<T,Integer> setFunction, Window<T> overParam)
从接口复制的说明:JDFramedense rank window function set the function result to the setFunction- 指定者:
overDenseRankS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window param
-
overPercentRank
public JDFrameImpl<FI2<T,BigDecimal>> overPercentRank(Window<T> overParam)
从接口复制的说明:JDFramePercent rank window function- 指定者:
overPercentRank在接口中JDFrame<T>- 参数:
overParam- window param
-
overPercentRankS
public JDFrameImpl<T> overPercentRankS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)
从接口复制的说明:JDFramePercent rank window function set the function result to the setFunction- 指定者:
overPercentRankS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window param
-
overCumeDist
public JDFrameImpl<FI2<T,BigDecimal>> overCumeDist(Window<T> overParam)
从接口复制的说明:JDFrameCume Dist window function- 指定者:
overCumeDist在接口中JDFrame<T>- 参数:
overParam- window param
-
overCumeDistS
public JDFrameImpl<T> overCumeDistS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam)
从接口复制的说明:JDFrameCume Dist window function set the function result to the setFunction- 指定者:
overCumeDistS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window param
-
overLag
public <F> JDFrameImpl<FI2<T,F>> overLag(Window<T> overParam, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameLag window function get the value of the first n rows of the current row
-
overLagS
public <F> JDFrame<T> overLagS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameLag window function get the value of the first n rows of the current row
-
overLag
public <F> JDFrameImpl<FI2<T,F>> overLag(java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameLag window function get the value of the first n rows of the current row
-
overLagS
public <F> JDFrame<T> overLagS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameLag window function get the value of the first n rows of the current row
-
overLeadS
public <F> JDFrame<T> overLeadS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFramelead window function get the value of the last n rows of the current row
-
overLead
public <F> JDFrameImpl<FI2<T,F>> overLead(Window<T> overParam, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFramelead window function get the value of the last n rows of the current row
-
overLead
public <F> JDFrameImpl<FI2<T,F>> overLead(java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFramelead window function get the value of the last n rows of the current row
-
overLeadS
public <F> JDFrame<T> overLeadS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFramelead window function get the value of the last n rows of the current row
-
overNthValue
public <F> JDFrameImpl<FI2<T,F>> overNthValue(Window<T> overParam, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameNthValue window function get the Nth row within the window range- 指定者:
overNthValue在接口中JDFrame<T>field- field valuen- last n rows
-
overNthValueS
public <F> JDFrame<T> overNthValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameNthValue window function get the Nth row within the window range- 指定者:
overNthValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window paramfield- field valuen- last n rows
-
overNthValue
public <F> JDFrameImpl<FI2<T,F>> overNthValue(java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameNthValue window function get the Nth row within the window range- 指定者:
overNthValue在接口中JDFrame<T>- 参数:
field- field valuen- last n rows
-
overNthValueS
public <F> JDFrameImpl<T> overNthValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field, int n)
从接口复制的说明:JDFrameNthValue window function get the Nth row within the window range- 指定者:
overNthValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptfield- field valuen- last n rows
-
overFirstValue
public <F> JDFrameImpl<FI2<T,F>> overFirstValue(Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameFirstValue window function get the first row within the window range- 指定者:
overFirstValue在接口中JDFrame<T>field- field value
-
overFirstValueS
public <F> JDFrame<T> overFirstValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameFirstValue window function get the first row within the window range- 指定者:
overFirstValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window paramfield- field value
-
overFirstValue
public <F> JDFrameImpl<FI2<T,F>> overFirstValue(java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameFirstValue window function get the first row within the window range- 指定者:
overFirstValue在接口中JDFrame<T>- 参数:
field- field value
-
overFirstValueS
public <F> JDFrameImpl<T> overFirstValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameFirstValue window function get the first row within the window range- 指定者:
overFirstValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptfield- field value
-
overLastValue
public <F> JDFrameImpl<FI2<T,F>> overLastValue(Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameLastValue window function get the last row within the window range- 指定者:
overLastValue在接口中JDFrame<T>- 参数:
overParam- window paramfield- field value
-
overLastValueS
public <F> JDFrameImpl<T> overLastValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameLastValue window function get the last row within the window range- 指定者:
overLastValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window paramfield- field value
-
overLastValue
public <F> JDFrameImpl<FI2<T,F>> overLastValue(java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameLastValue window function get the last row within the window range- 指定者:
overLastValue在接口中JDFrame<T>- 参数:
field- field value
-
overLastValueS
public <F> JDFrame<T> overLastValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameLastValue window function get the last row within the window range- 指定者:
overLastValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptfield- field value
-
overSum
public <F> JDFrameImpl<FI2<T,BigDecimal>> overSum(Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameSum window function calculate the sum within the window range
-
overSum
public <F> JDFrameImpl<FI2<T,BigDecimal>> overSum(java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameSum window function calculate the sum within the window range
-
overSumS
public <F> JDFrameImpl<T> overSumS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameSum window function calculate the sum within the window range
-
overSumS
public <F> JDFrameImpl<T> overSumS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameSum window function calculate the sum within the window range
-
overAvg
public <F> JDFrameImpl<FI2<T,BigDecimal>> overAvg(Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameavg window function calculate the avg value within the window range
-
overAvg
public <F> JDFrameImpl<FI2<T,BigDecimal>> overAvg(java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameavg window function calculate the avg value within the window range
-
overAvgS
public <F> JDFrameImpl<T> overAvgS(SetFunction<T,BigDecimal> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameavg window function calculate the avg value within the window range
-
overAvgS
public <F> JDFrameImpl<T> overAvgS(SetFunction<T,BigDecimal> setFunction, java.util.function.Function<T,F> field)
从接口复制的说明:JDFrameavg window function calculate the avg value within the window range
-
overMaxValue
public <F extends Comparable<? super F>> JDFrameImpl<FI2<T,F>> overMaxValue(Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemax window function calculate the max value within the window range- 指定者:
overMaxValue在接口中JDFrame<T>- 参数:
overParam- window paramfield- field value
-
overMaxValue
public <F extends Comparable<? super F>> JDFrameImpl<FI2<T,F>> overMaxValue(java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemax window function calculate the max value within the window range- 指定者:
overMaxValue在接口中JDFrame<T>- 参数:
field- field value
-
overMaxValueS
public <F extends Comparable<? super F>> JDFrameImpl<T> overMaxValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemax window function calculate the max value within the window range- 指定者:
overMaxValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window paramfield- field value
-
overMaxValueS
public <F extends Comparable<? super F>> JDFrameImpl<T> overMaxValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemax window function calculate the max value within the window range- 指定者:
overMaxValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptfield- field value
-
overMinValue
public <F extends Comparable<? super F>> JDFrameImpl<FI2<T,F>> overMinValue(Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemin window function calculate the min value within the window range- 指定者:
overMinValue在接口中JDFrame<T>- 参数:
overParam- window paramfield- field value
-
overMinValue
public <F extends Comparable<? super F>> JDFrameImpl<FI2<T,F>> overMinValue(java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemin window function calculate the min value within the window range- 指定者:
overMinValue在接口中JDFrame<T>- 参数:
field- field value
-
overMinValueS
public <F extends Comparable<? super F>> JDFrameImpl<T> overMinValueS(SetFunction<T,F> setFunction, Window<T> overParam, java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemin window function calculate the min value within the window range- 指定者:
overMinValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window paramfield- field value
-
overMinValueS
public <F extends Comparable<? super F>> JDFrameImpl<T> overMinValueS(SetFunction<T,F> setFunction, java.util.function.Function<T,F> field)
从接口复制的说明:JDFramemin window function calculate the min value within the window range- 指定者:
overMinValueS在接口中JDFrame<T>- 参数:
setFunction- function result acceptfield- field value
-
overCount
public JDFrameImpl<FI2<T,Integer>> overCount(Window<T> overParam)
从接口复制的说明:JDFramecount window function calculate the count within the window range
-
overCount
public JDFrameImpl<FI2<T,Integer>> overCount()
从接口复制的说明:JDFramecount window function calculate the count within the window range
-
overCountS
public JDFrameImpl<T> overCountS(SetFunction<T,Integer> setFunction, Window<T> overParam)
从接口复制的说明:JDFramecount window function calculate the count within the window range- 指定者:
overCountS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window param
-
overCountS
public JDFrameImpl<T> overCountS(SetFunction<T,Integer> setFunction)
从接口复制的说明:JDFramecount window function calculate the count within the window range- 指定者:
overCountS在接口中JDFrame<T>- 参数:
setFunction- function result accept
-
overNtile
public JDFrameImpl<FI2<T,Integer>> overNtile(int n)
从接口复制的说明:JDFrameNtile window function assign bucket numbers evenly to windows, starting from 1
-
overNtile
public JDFrameImpl<FI2<T,Integer>> overNtile(Window<T> overParam, int n)
从接口复制的说明:JDFrameNtile window function assign bucket numbers evenly to windows, starting from 1
-
overNtileS
public JDFrameImpl<T> overNtileS(SetFunction<T,Integer> setFunction, Window<T> overParam, int n)
从接口复制的说明:JDFrameNtile window function assign bucket numbers evenly to windows, starting from 1- 指定者:
overNtileS在接口中JDFrame<T>- 参数:
setFunction- function result acceptoverParam- window paramn- size of buckets
-
overNtileS
public JDFrameImpl<T> overNtileS(SetFunction<T,Integer> setFunction, int n)
从接口复制的说明:JDFrameNtile window function assign bucket numbers evenly to windows, starting from 1- 指定者:
overNtileS在接口中JDFrame<T>- 参数:
setFunction- function result acceptn- size of buckets
-
replenish
public <G,C> JDFrameImpl<T> replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, List<C> allDim, ReplenishFunction<G,C,T> getEmptyObject)
============================== Other ===============- 指定者:
replenish在接口中IFrame<T>- 指定者:
replenish在接口中JDFrame<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
public <C> JDFrameImpl<T> replenish(java.util.function.Function<T,C> collectDim, List<C> allDim, java.util.function.Function<C,T> getEmptyObject)
从接口复制的说明:JDFrameSummarize all collectDim values, calculate the difference between them, and then add the missing difference to the Frame through getEmptyObject
-
replenish
public <G,C> JDFrameImpl<T> replenish(java.util.function.Function<T,G> groupDim, java.util.function.Function<T,C> collectDim, ReplenishFunction<G,C,T> getEmptyObject)
从接口复制的说明:JDFramesuch 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
-
returnDF
protected <R> JDFrameImpl<R> returnDF(java.util.stream.Stream<R> stream)
-
returnDF
protected <R> JDFrameImpl<R> returnDF(List<R> dataList)
-
-