code: public void partialDeserialize(TBase<?,?> base, DBObject dbObject, TFieldIdEnum... fieldIds) throws TException {
      try {
        protocol_.setDBOject(dbObject);
        protocol_.setBaseObject( base );
        protocol_.setFieldIdsFilter(base, fieldIds);
  
        base.read(protocol_);
      } finally {
        protocol_.reset();
      }
    }
docs: Deserialize only a single Thrift object
  from a byte record.
  @param base The object to read into
  @param dbObject The serialized object to read from
  @param fieldIds The FieldId's to extract
  @throws TException