public int getCounter() {
    return counter;
  }
UDTFCollector collects data from a GenericUDTF and passes the data to a
UDTFOperator.
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/UDTFCollector.java