private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter279 : struct.statsObj) { _iter279.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } if (struct.isSetIsStatsCompliant()) { oprot.writeFieldBegin(IS_STATS_COMPLIANT_FIELD_DESC); oprot.writeBool(struct.isStatsCompliant); oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.statsDesc.write(oprot); { oprot.writeI32(struct.statsObj.size()); for (ColumnStatisticsObj _iter280 : struct.statsObj) { _iter280.write(oprot); } } BitSet optionals = new BitSet(); if (struct.isSetIsStatsCompliant()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetIsStatsCompliant()) { oprot.writeBool(struct.isStatsCompliant); } }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { try { write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.statsDesc.write(oprot); { oprot.writeI32(struct.statsObj.size()); for (ColumnStatisticsObj _iter274 : struct.statsObj) { _iter274.write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.statsDesc.write(oprot); { oprot.writeI32(struct.statsObj.size()); for (ColumnStatisticsObj _iter274 : struct.statsObj) { _iter274.write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; struct.statsDesc.write(oprot); { oprot.writeI32(struct.statsObj.size()); for (ColumnStatisticsObj _iter272 : struct.statsObj) { _iter272.write(oprot); } } }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter273 : struct.statsObj) { _iter273.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter271 : struct.statsObj) { _iter271.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.statsDesc != null) { oprot.writeFieldBegin(STATS_DESC_FIELD_DESC); struct.statsDesc.write(oprot); oprot.writeFieldEnd(); } if (struct.statsObj != null) { oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); for (ColumnStatisticsObj _iter273 : struct.statsObj) { _iter273.write(oprot); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } oprot.writeFieldStop(); oprot.writeStructEnd(); }