Package com.facebook.hive.orc

Examples of com.facebook.hive.orc.OrcUnion$OrcUnionObjectInspector


    this.fields = fields;
  }

  @Override
  public Object next(Object previous) throws IOException {
    OrcUnion result = null;
    if (valuePresent) {
      if (previous == null) {
        result = new OrcUnion();
      } else {
        result = (OrcUnion) previous;
      }
      byte tag = nextTag();
      Object previousVal = result.getObject();
      result.set(tag, fields[tag].getInComplexType(tag == result.getTag() ?
          previousVal : null, previousRow));
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of com.facebook.hive.orc.OrcUnion$OrcUnionObjectInspector

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.