Package com.facebook.presto.hive.shaded.org.apache.thrift.protocol

Examples of com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TField


  }

  @Override
  public TField readFieldBegin() throws TException {
    assert (!inner);
    TField f = new TField("", ORDERED_TYPE, (short) -1);
    // slight hack to communicate to DynamicSerDe that the field ids are not
    // being set but things are ordered.
    return f;
  }
View Full Code Here


    Arrays.fill(fieldsPresent, false);

    // Read the fields.
    for (int i = 0; i < getNumFields(); i++) {
      DynamicSerDeTypeBase mt = null;
      TField field = null;

      if (!isRealThrift && getField(i).isSkippable()) {
        // PRE - all the fields are required and serialized in order - is
        // !isRealThrift
        mt = ordered_types[i];
View Full Code Here

      if (f == null && !writeNulls) {
        continue;
      }

      if (thrift_mode) {
        field = new TField(mt.name, mt.getType(), (short) mt.fieldid);
        oprot.writeFieldBegin(field);
      }

      if (f == null) {
        ((org.apache.hadoop.hive.serde2.thrift.WriteNullsProtocol) oprot)
View Full Code Here

  @Override
  public TField readFieldBegin() throws TException {
    // slight hack to communicate to DynamicSerDe that the field ids are not
    // being set but things are ordered.
    f = new TField("", ORDERED_TYPE, (short) -1);
    return f;
  }
View Full Code Here

TOP

Related Classes of com.facebook.presto.hive.shaded.org.apache.thrift.protocol.TField

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.