public BlobChunk setLobId(int lobId) { this.lobId = lobId; setLobIdIsSet(true); return this; }
@Override public void clear() { this.chunk = null; setLastIsSet(false); this.last = false; setLobIdIsSet(false); this.lobId = 0; setOffsetIsSet(false); this.offset = 0; setTotalLengthIsSet(false); this.totalLength = 0; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.lobId = iprot.readI32(); struct.setLobIdIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BlobChunk struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.chunk = iprot.readBinary(); struct.setChunkIsSet(true); struct.last = iprot.readBool(); struct.setLastIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.lobId = iprot.readI32(); struct.setLobIdIsSet(true); } if (incoming.get(1)) { struct.offset = iprot.readI64(); struct.setOffsetIsSet(true); } if (incoming.get(2)) { struct.totalLength = iprot.readI64(); struct.setTotalLengthIsSet(true); } } }