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, checkAndDelete_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); } } }
protected checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws org.apache.thrift.TException { checkAndDelete_result result = new checkAndDelete_result(); try { result.success = iface.checkAndDelete(args.table, args.row, args.family, args.qualifier, args.value, args.deleteSingle); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
public checkAndDelete_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
public checkAndDelete_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
@Override public void clear() { setSuccessIsSet(false); this.success = false; this.io = null; }
public checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws org.apache.thrift.TException { checkAndDelete_result result = new checkAndDelete_result(); try { result.success = iface.checkAndDelete(args.table, args.row, args.family, args.qualifier, args.value, args.tdelete); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
public checkAndDelete_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, checkAndDelete_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) { checkAndDelete_result result = new checkAndDelete_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 checkAndDelete_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; }
public checkAndDelete_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }
public void onComplete(Boolean o) { checkAndDelete_result result = new checkAndDelete_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 checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws org.apache.thrift.TException { checkAndDelete_result result = new checkAndDelete_result(); try { result.success = iface.checkAndDelete(args.table, args.row, args.family, args.qualifier, args.value, args.deleteSingle); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
public checkAndDelete_result getResult(I iface, checkAndDelete_args args) throws org.apache.thrift.TException { checkAndDelete_result result = new checkAndDelete_result(); try { result.success = iface.checkAndDelete(args.table, args.row, args.family, args.qualifier, args.value, args.deleteSingle); result.setSuccessIsSet(true); } catch (TIOError io) { result.io = io; } return result; } }
public checkAndDelete_result setSuccess(boolean success) { this.success = success; setSuccessIsSet(true); return this; }
@Override public void clear() { setSuccessIsSet(false); this.success = false; this.io = null; }
public checkAndDelete_result( boolean success, TIOError io) { this(); this.success = success; setSuccessIsSet(true); this.io = io; }