in zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/thrift/RemoteInterpreterContext.java [1351:1428]
public void write(org.apache.thrift.protocol.TProtocol prot, RemoteInterpreterContext struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetNoteId()) {
optionals.set(0);
}
if (struct.isSetNoteName()) {
optionals.set(1);
}
if (struct.isSetParagraphId()) {
optionals.set(2);
}
if (struct.isSetReplName()) {
optionals.set(3);
}
if (struct.isSetParagraphTitle()) {
optionals.set(4);
}
if (struct.isSetParagraphText()) {
optionals.set(5);
}
if (struct.isSetAuthenticationInfo()) {
optionals.set(6);
}
if (struct.isSetConfig()) {
optionals.set(7);
}
if (struct.isSetGui()) {
optionals.set(8);
}
if (struct.isSetNoteGui()) {
optionals.set(9);
}
if (struct.isSetLocalProperties()) {
optionals.set(10);
}
oprot.writeBitSet(optionals, 11);
if (struct.isSetNoteId()) {
oprot.writeString(struct.noteId);
}
if (struct.isSetNoteName()) {
oprot.writeString(struct.noteName);
}
if (struct.isSetParagraphId()) {
oprot.writeString(struct.paragraphId);
}
if (struct.isSetReplName()) {
oprot.writeString(struct.replName);
}
if (struct.isSetParagraphTitle()) {
oprot.writeString(struct.paragraphTitle);
}
if (struct.isSetParagraphText()) {
oprot.writeString(struct.paragraphText);
}
if (struct.isSetAuthenticationInfo()) {
oprot.writeString(struct.authenticationInfo);
}
if (struct.isSetConfig()) {
oprot.writeString(struct.config);
}
if (struct.isSetGui()) {
oprot.writeString(struct.gui);
}
if (struct.isSetNoteGui()) {
oprot.writeString(struct.noteGui);
}
if (struct.isSetLocalProperties()) {
{
oprot.writeI32(struct.localProperties.size());
for (java.util.Map.Entry<java.lang.String, java.lang.String> _iter5 : struct.localProperties.entrySet())
{
oprot.writeString(_iter5.getKey());
oprot.writeString(_iter5.getValue());
}
}
}
}