@Override
  public Class<Object> encodedClass() {
    throw new UnsupportedOperationException(
      "Union types do not expose a definitive encoded class.");
  }
Create an instance of {@code Union2} over the set of specified types.
hbase-common/src/main/java/org/apache/hadoop/hbase/types/Union2.java