}
@Override
public DataByteArray exec(Tuple input) throws IOException {
IrregularSamplingSummarizer result = null;
for (Object obj : input.getAll()) {
if ( obj == null ) continue; // one of arguments is null, ignore
byte[] bytes = DataType.toBytes(obj);
m_dib.reset(bytes, bytes.length);
IrregularSamplingSummarizer sum =
PigSummarizerHelper.bytes2ser(result == null ? m_summarizer1 : m_summarizer2, m_dib);
if (result == null)
result = sum;
else
result.combine(sum);