@Override
  protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
    switch (setField_) {
      case BOOLEAN_STATS:
        BooleanColumnStatsData booleanStats = (BooleanColumnStatsData)value_;
        booleanStats.write(oprot);
        return;
      case LONG_STATS:
        LongColumnStatsData longStats = (LongColumnStatsData)value_;
        longStats.write(oprot);
        return;
      case DOUBLE_STATS:
        DoubleColumnStatsData doubleStats = (DoubleColumnStatsData)value_;
        doubleStats.write(oprot);
        return;
      case STRING_STATS:
        StringColumnStatsData stringStats = (StringColumnStatsData)value_;
        stringStats.write(oprot);
        return;
      case BINARY_STATS:
        BinaryColumnStatsData binaryStats = (BinaryColumnStatsData)value_;
        binaryStats.write(oprot);
        return;
      case DECIMAL_STATS:
        DecimalColumnStatsData decimalStats = (DecimalColumnStatsData)value_;
        decimalStats.write(oprot);
        return;
      case DATE_STATS:
        DateColumnStatsData dateStats = (DateColumnStatsData)value_;
        dateStats.write(oprot);
        return;
      case TIMESTAMP_STATS:
        TimestampColumnStatsData timestampStats = (TimestampColumnStatsData)value_;
        timestampStats.write(oprot);
        return;
      default:
        throw new java.lang.IllegalStateException("Cannot write union with unknown field " + setField_);
    }
  }
Find the _Fields constant that matches name, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java