@Override
  public void writeString(String str) throws TException {
    if (inner) {
      if (!firstInnerField) {
        // super hack city notice the mod plus only happens after firstfield
        // hit, so == 0 is right.
        if (isMap && elemIndex++ % 2 == 0) {
          internalWriteString(mapSeparator);
        } else {
          internalWriteString(secondarySeparator);
        }
      } else {
        firstInnerField = false;
      }
    }
    internalWriteString(str);
  }
Initialize the TProtocol.

@param conf
         System properties
@param tbl
         table properties
@throws TException
serde/src/java/org/apache/hadoop/hive/serde2/thrift/TCTLSeparatedProtocol.java