@Override public void write(org.apache.thrift.protocol.TProtocol prot, TBinaryColumn struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (ByteBuffer _iter114 : struct.values) { oprot.writeBinary(_iter114); } } oprot.writeBinary(struct.nulls); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TTableName struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.qualifier); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetNs()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetNs()) { oprot.writeBinary(struct.ns); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); for (Map.Entry<Long, ByteBuffer> _iter835 : struct.metadata.entrySet()) { oprot.writeI64(_iter835.getKey()); oprot.writeBinary(_iter835.getValue()); } } oprot.writeBool(struct.isSupported); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, resourceGet_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { oprot.writeBinary(struct.success); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TI32Column struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (int _iter82 : struct.values) { oprot.writeI32(_iter82); } } oprot.writeBinary(struct.nulls); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, ThriftFlumeEvent struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.headers.size()); for (Map.Entry<String, String> _iter5 : struct.headers.entrySet()) { oprot.writeString(_iter5.getKey()); oprot.writeString(_iter5.getValue()); } } oprot.writeBinary(struct.body); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, invokeMethod_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { oprot.writeBinary(struct.success); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TRowMutations struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.row); { oprot.writeI32(struct.mutations.size()); for (TMutation _iter138 : struct.mutations) { _iter138.write(oprot); } } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, KeyCount struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.key); oprot.writeI32(struct.count); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, resourceInvokeMethod_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { oprot.writeBinary(struct.success); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TStringColumn struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (String _iter106 : struct.values) { oprot.writeString(_iter106); } } oprot.writeBinary(struct.nulls); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, KeyCount struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.key); oprot.writeI32(struct.count); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, getResource_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { oprot.writeBinary(struct.success); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TBoolColumn struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (boolean _iter58 : struct.values) { oprot.writeBool(_iter58); } } oprot.writeBinary(struct.nulls); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IndexExpression struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.column_name); oprot.writeI32(struct.op.getValue()); oprot.writeBinary(struct.value); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, DropPartitionsExpr struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.expr); BitSet optionals = new BitSet(); if (struct.isSetPartArchiveLevel()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetPartArchiveLevel()) { oprot.writeI32(struct.partArchiveLevel); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TI16Column struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (short _iter74 : struct.values) { oprot.writeI16(_iter74); } } oprot.writeBinary(struct.nulls); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, IndexExpression struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBinary(struct.column_name); oprot.writeI32(struct.op.getValue()); oprot.writeBinary(struct.value); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, RuntimeStat struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI32(struct.weight); oprot.writeBinary(struct.payload); BitSet optionals = new BitSet(); if (struct.isSetCreateTime()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetCreateTime()) { oprot.writeI32(struct.createTime); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TByteColumn struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); for (byte _iter66 : struct.values) { oprot.writeByte(_iter66); } } oprot.writeBinary(struct.nulls); }