public ClobChunk setLast(boolean last) { this.last = last; setLastIsSet(true); return this; }
public ClobChunk( String chunk, boolean last) { this(); this.chunk = chunk; this.last = last; setLastIsSet(true); }
@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.BOOL) { struct.last = iprot.readBool(); struct.setLastIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, ClobChunk struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.chunk = iprot.readString(); 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); } } }