if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.chunk = iprot.readString(); struct.setChunkIsSet(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); } } }