protected static <T,G,C> List<T> |
AbstractDataFrameImpl.replenish(List<T> itemDTOList,
java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|
static <T,G,C> List<T> |
AbstractDataFrameImpl.replenish(List<T> itemDTOList,
java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
List<C> allDim,
ReplenishFunction<G,C,T> getEmptyObject) |
分组计算差集, 然后将差集补充到该分组内
将原始集合(itemDTOList) 按照groupDim维度进分组, 然后将每个分组内的所有collectDim字段进行汇总
汇总后 与 allAbscissa进行计算差集,这些差集就是需要补充的条目, 然后将这些差集按照getEmptyObject逻辑生成空对象添加到该分组内
|
<G,C> IFrame<T> |
IFrame.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|
<G,C> IFrame<T> |
IFrame.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.
|
<G,C> JDFrame<T> |
JDFrame.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|
<G,C> JDFrame<T> |
JDFrame.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.
|
<G,C> JDFrameImpl<T> |
JDFrameImpl.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|
<G,C> JDFrameImpl<T> |
JDFrameImpl.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
List<C> allDim,
ReplenishFunction<G,C,T> getEmptyObject) |
============================== Other ===============
|
<G,C> SDFrame<T> |
SDFrame.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|
<G,C> SDFrame<T> |
SDFrame.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.
|
<G,C> SDFrameImpl<T> |
SDFrameImpl.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|
<G,C> SDFrameImpl<T> |
SDFrameImpl.replenish(java.util.function.Function<T,G> groupDim,
java.util.function.Function<T,C> collectDim,
List<C> allDim,
ReplenishFunction<G,C,T> getEmptyObject) |
|