Package org.apache.thrift

Examples of org.apache.thrift.TUnion$TUnionStandardSchemeFactory


  private static TUnion<?, ?> createUnion(
      Class<?> unionType,
      TFieldIdEnum setField,
      Object fieldValue) throws IllegalAccessException, InstantiationException {

    TUnion union = (TUnion) unionType.newInstance();
    union.setFieldValue(setField, fieldValue);
    return union;
  }
View Full Code Here

TOP

Related Classes of org.apache.thrift.TUnion$TUnionStandardSchemeFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.