public static PTFPartition create(Configuration cfg,
      AbstractSerDe serDe,
      StructObjectInspector inputOI,
      StructObjectInspector outputOI)
      throws HiveException {
    return new PTFPartition(cfg, serDe, inputOI, outputOI);
  }
This can be used for functions with no parameters.
next() function in this impl does not fetch anything from rowContainer, thus saving IO.
It just increments the pointer to maintain iterator contract.
ql/src/java/org/apache/hadoop/hive/ql/exec/PTFPartition.java