public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; exists_result result = new exists_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch (Exception ex) { LOGGER.error("Exception writing to internal frame buffer", ex); } fb.close(); } };
public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; exists_result result = new exists_result(); if (e instanceof TIOError) { result.io = (TIOError) e; result.setIoIsSet(true); msg = result; } else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch (Exception ex) { LOGGER.error("Exception writing to internal frame buffer", ex); } fb.close(); } };
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 exists_result deepCopy() { return new exists_result(this); }
public exists_result deepCopy() { return new exists_result(this); }
public boolean recv_exists() throws TIOError, org.apache.thrift.TException { exists_result result = new exists_result(); receiveBase(result, "exists"); if (result.isSetSuccess()) { return result.success; } if (result.io != null) { throw result.io; } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); }
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; } }
public boolean recv_exists() throws TIOError, org.apache.thrift.TException { exists_result result = new exists_result(); receiveBase(result, "exists"); if (result.isSetSuccess()) { return result.success; } if (result.io != null) { throw result.io; } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); }
public boolean recv_exists() throws TIOError, org.apache.thrift.TException { exists_result result = new exists_result(); receiveBase(result, "exists"); if (result.isSetSuccess()) { return result.success; } if (result.io != null) { throw result.io; } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); }
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 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) {
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 deepCopy() { return new exists_result(this); }
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 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 deepCopy() { return new exists_result(this); }
public boolean recv_exists() throws TIOError, org.apache.thrift.TException { exists_result result = new exists_result(); receiveBase(result, "exists"); if (result.isSetSuccess()) { return result.success; } if (result.io != null) { throw result.io; } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); }
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 boolean recv_exists() throws TIOError, org.apache.thrift.TException { exists_result result = new exists_result(); receiveBase(result, "exists"); if (result.isSetSuccess()) { return result.success; } if (result.io != null) { throw result.io; } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "exists failed: unknown result"); }