Package org.apache.thrift

Examples of org.apache.thrift.TEnum


    fillThriftCollection(list, elemField, bag);
    return list;
  }

  private static TEnum toThriftEnum(Field elemField, String name) {
    TEnum out = elemField.getEnumValueOf(name);
    if (out == null) {
      throw new IllegalArgumentException(
          String.format("Failed to convert string '%s'" +
              " to enum value of type '%s'", name,
              ThriftUtils.getFieldValueType(elemField).getName()));
View Full Code Here

TOP

Related Classes of org.apache.thrift.TEnum

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.