@Override public void read(org.apache.thrift.protocol.TProtocol prot, BlockletBTreeIndex struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.start_key = iprot.readBinary(); struct.setStart_keyIsSet(true); struct.end_key = iprot.readBinary(); struct.setEnd_keyIsSet(true); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.start_key = iprot.readBinary(); struct.setStart_keyIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);