if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, exists_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.io = new TIOError(); struct.io.read(iprot); struct.setIoIsSet(true); } } }
public exists_result getResult(I iface, exists_args args) throws org.apache.thrift.TException { exists_result result = new exists_result(); try { result.success = iface.exists(args.table, args.tget); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
public exists_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
public exists_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; }
protected exists_result getResult(I iface, exists_args args) throws org.apache.thrift.TException { exists_result result = new exists_result(); try { result.success = iface.exists(args.table, args.get); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
@Override public void clear() { setSuccessIsSet(false); this.success = false; this.io = null; }
@Override public void clear() { setSuccessIsSet(false); this.success = false; this.io = null; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, exists_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.success = iprot.readBool(); struct.setSuccessIsSet(true); } if (incoming.get(1)) { struct.io = new TIOError(); struct.io.read(iprot); struct.setIoIsSet(true); } } }
public void onComplete(Boolean o) { exists_result result = new exists_result(); result.success = o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch (Exception e) { LOGGER.error("Exception writing to internal frame buffer", e); } fb.close(); } public void onError(Exception e) {
public void onComplete(Boolean o) { exists_result result = new exists_result(); result.success = o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch (Exception e) { LOGGER.error("Exception writing to internal frame buffer", e); } fb.close(); } public void onError(Exception e) {
@Override public void clear() { setSuccessIsSet(false); this.success = false; this.io = null; }
public exists_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
public exists_result getResult(I iface, exists_args args) throws org.apache.thrift.TException { exists_result result = new exists_result(); try { result.success = iface.exists(args.table, args.get); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
@Override public void clear() { setSuccessIsSet(false); this.success = false; this.io = null; }
public exists_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
public exists_result getResult(I iface, exists_args args) throws org.apache.thrift.TException { exists_result result = new exists_result(); try { result.success = iface.exists(args.table, args.get); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
public exists_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; }
public exists_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; }