code: protected Tuple columnToTuple(Cell col, CfInfo cfInfo, AbstractType comparator) throws IOException
      {
          CfDef cfDef = cfInfo.cfDef;
          Tuple pair = TupleFactory.getInstance().newTuple(2);
  
          ByteBuffer colName = col.name().toByteBuffer();
  
          // name
          if(comparator instanceof AbstractCompositeType)
              setTupleValue(pair, 0, composeComposite((AbstractCompositeType)comparator,colName));
          else
              setTupleValue(pair, 0, cassandraToObj(comparator, colName));
  
          // value
          Map<ByteBuffer,AbstractType> validators = getValidatorMap(cfDef);
          if (cfInfo.cql3Table && !cfInfo.compactCqlTable)
          {
              ByteBuffer[] names = ((AbstractCompositeType) parseType(cfDef.comparator_type)).split(colName);
              colName = names[names.length-1];
          }
          if (validators.get(colName) == null)
          {
              Map<MarshallerType, AbstractType> marshallers = getDefaultMarshallers(cfDef);
              setTupleValue(pair, 1, cassandraToObj(marshallers.get(MarshallerType.DEFAULT_VALIDATOR), col.value()));
          }
          else
              setTupleValue(pair, 1, cassandraToObj(validators.get(colName), col.value()));
          return pair;
      }
docs: convert a column to a tuple