@Override public void read(org.apache.thrift.protocol.TProtocol prot, TByteValue struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.value = iprot.readByte(); struct.setValueIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TByteColumn struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list67 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.BYTE, iprot.readI32()); struct.values = new ArrayList<Byte>(_list67.size); byte _elem68; for (int _i69 = 0; _i69 < _list67.size; ++_i69) { _elem68 = iprot.readByte(); struct.values.add(_elem68); } } struct.setValuesIsSet(true); struct.nulls = iprot.readBinary(); struct.setNullsIsSet(true); } }
struct.version = iprot.readByte(); struct.setVersionIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TColumnValue struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.family = iprot.readBinary(); struct.setFamilyIsSet(true); struct.qualifier = iprot.readBinary(); struct.setQualifierIsSet(true); struct.value = iprot.readBinary(); struct.setValueIsSet(true); java.util.BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(1)) { struct.tags = iprot.readBinary(); struct.setTagsIsSet(true); } if (incoming.get(2)) { struct.type = iprot.readByte(); struct.setTypeIsSet(true); } } }
struct.my_byte = iprot.readByte(); struct.setMy_byteIsSet(true);
struct.version = iprot.readByte(); struct.setVersionIsSet(true);
struct.version = iprot.readByte(); struct.setVersionIsSet(true);
struct.byteVal = iprot.readByte(); struct.setByteValIsSet(true);
struct.byteVal = iprot.readByte(); struct.setByteValIsSet(true);
public BitSet readBitSet(int i) throws TException { int length = (int) Math.ceil(i/8.0); byte[] bytes = new byte[length]; for (int j = 0; j < length; j++) { bytes[j] = readByte(); } BitSet bs = fromByteArray(bytes); return bs; }
struct.f = iprot.readBool(); struct.setFIsSet(true); struct.g = iprot.readByte(); struct.setGIsSet(true);
struct.f = iprot.readBool(); struct.setFIsSet(true); struct.g = iprot.readByte(); struct.setGIsSet(true);
struct.version = iprot.readByte(); struct.setVersionIsSet(true);
struct.version = iprot.readByte(); struct.setVersionIsSet(true);
_val67 = iprot.readByte(); struct.badTServers.put(_key66, _val67);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TByteValue struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.value = iprot.readByte(); struct.setValueIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TByteValue struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.value = iprot.readByte(); struct.setValueIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.signum = iprot.readByte(); struct.setSignumIsSet(true); struct.scale = iprot.readI32(); struct.setScaleIsSet(true); struct.magnitude = iprot.readBinary(); struct.setMagnitudeIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Decimal struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.signum = iprot.readByte(); struct.setSignumIsSet(true); struct.scale = iprot.readI32(); struct.setScaleIsSet(true); struct.magnitude = iprot.readBinary(); struct.setMagnitudeIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, EntityId struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.id = iprot.readI64(); struct.setIdIsSet(true); struct.type = iprot.readByte(); struct.setTypeIsSet(true); struct.connId = iprot.readI64(); struct.setConnIdIsSet(true); struct.token = iprot.readBinary(); struct.setTokenIsSet(true); } }