@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); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TByteValue struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetValue()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetValue()) { oprot.writeByte(struct.value); } }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, TColumnValue struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; oprot.writeBinary(struct.family); oprot.writeBinary(struct.qualifier); oprot.writeBinary(struct.value); java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTimestamp()) { optionals.set(0); } if (struct.isSetTags()) { optionals.set(1); } if (struct.isSetType()) { optionals.set(2); } oprot.writeBitSet(optionals, 3); if (struct.isSetTimestamp()) { oprot.writeI64(struct.timestamp); } if (struct.isSetTags()) { oprot.writeBinary(struct.tags); } if (struct.isSetType()) { oprot.writeByte(struct.type); } }
oprot.writeByte(struct.version);
oprot.writeByte(struct.my_byte);
oprot.writeByte(struct.g);
oprot.writeByte(struct.g);
oprot.writeByte(struct.version);
oprot.writeByte(struct.version);
public void writeBitSet(BitSet bs, int vectorWidth) throws TException { byte[] bytes = toByteArray(bs, vectorWidth); for (byte b : bytes) { writeByte(b); } }
oprot.writeByte(struct.byteVal);
oprot.writeByte(struct.byteVal);
oprot.writeByte(struct.version);
oprot.writeByte(struct.version);
oprot.writeByte(_iter54.getValue());
@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); }
@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); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeByte(struct.signum); oprot.writeI32(struct.scale); oprot.writeBinary(struct.magnitude); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeByte(struct.signum); oprot.writeI32(struct.scale); oprot.writeBinary(struct.magnitude); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, EntityId struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.id); oprot.writeByte(struct.type); oprot.writeI64(struct.connId); oprot.writeBinary(struct.token); }