public LongColumnStatsData getLongStats() {
    if (getSetField() == _Fields.LONG_STATS) {
      return (LongColumnStatsData)getFieldValue();
    } else {
      throw new java.lang.RuntimeException("Cannot get field 'longStats' because union is currently set to " + getFieldDesc(getSetField()).name);
    }
  }
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