code: private void setCollectionTupleValues(Tuple tuple, int position, Object value, AbstractType<?> validator) throws ExecException
      {
          if (validator instanceof MapType)
          {
              setMapTupleValues(tuple, position, value, validator);
              return;
          }
          AbstractType elementValidator;
          if (validator instanceof SetType)
              elementValidator = ((SetType<?>) validator).getElementsType();
          else if (validator instanceof ListType)
              elementValidator = ((ListType<?>) validator).getElementsType();
          else
              return;
  
          int i = 0;
          Tuple innerTuple = TupleFactory.getInstance().newTuple(((Collection<?>) value).size());
          for (Object entry : (Collection<?>) value)
          {
              setTupleValue(innerTuple, i, cassandraToPigData(entry, elementValidator), elementValidator);
              i++;
          }
          tuple.set(position, innerTuple);
      }
docs: set the values of set/list at and after the position of the tuple