src/main/java/org/apache/datasketches/pig/frequencies/DataToFrequentItemsSketch.java [65:79]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if (inputTuple.size() != 1) {
      throw new IllegalArgumentException("Input tuple must have 1 bag");
    }
    final DataBag bag = (DataBag) inputTuple.get(0);
    updateSketch(bag, this.accumSketch_);
  }

  @Override
  public void cleanup() {
    this.accumSketch_ = null;
  }

  @Override
  public Tuple getValue() {
    if (this.accumSketch_ == null) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/pig/tuple/DataToSketch.java [103:117]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    if (inputTuple.size() != 1) {
      throw new IllegalArgumentException("Input tuple must have 1 bag");
    }
    final DataBag bag = (DataBag) inputTuple.get(0);
    updateSketch(bag, this.accumSketch_);
  }

  @Override
  public void cleanup() {
    this.accumSketch_ = null;
  }

  @Override
  public Tuple getValue() {
    if (this.accumSketch_ == null) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



