Class BinPacking.PackingIterable<T>

java.lang.Object
org.apache.iceberg.util.BinPacking.PackingIterable<T>
All Implemented Interfaces:
Iterable<List<T>>
Enclosing class:
BinPacking

public static class BinPacking.PackingIterable<T> extends Object implements Iterable<List<T>>
  • Constructor Details

    • PackingIterable

      public PackingIterable(Iterable<T> iterable, long targetWeight, int lookback, Function<T,Long> weightFunc)
    • PackingIterable

      public PackingIterable(Iterable<T> iterable, long targetWeight, int lookback, Function<T,Long> weightFunc, boolean largestBinFirst)
  • Method Details