public void send_get_all_authz_updates_from(long permSeqNum, long pathSeqNum) throws org.apache.thrift.TException { get_all_authz_updates_from_args args = new get_all_authz_updates_from_args(); args.setPermSeqNum(permSeqNum); args.setPathSeqNum(pathSeqNum); sendBase("get_all_authz_updates_from", args); }
public handle_hms_notification_result getResult(I iface, handle_hms_notification_args args) throws org.apache.thrift.TException { handle_hms_notification_result result = new handle_hms_notification_result(); iface.handle_hms_notification(args.pathsUpdate); return result; } }
public get_all_related_paths_result getResult(I iface, get_all_related_paths_args args) throws org.apache.thrift.TException { get_all_related_paths_result result = new get_all_related_paths_result(); result.success = iface.get_all_related_paths(args.path, args.exactMatch); return result; } }
public void send_get_all_related_paths(String path, boolean exactMatch) throws org.apache.thrift.TException { get_all_related_paths_args args = new get_all_related_paths_args(); args.setPath(path); args.setExactMatch(exactMatch); sendBase("get_all_related_paths", args); }
private static <I extends Iface> Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> getProcessMap(Map<String, org.apache.thrift.ProcessFunction<I, ? extends org.apache.thrift.TBase>> processMap) { processMap.put("handle_hms_notification", new handle_hms_notification()); processMap.put("check_hms_seq_num", new check_hms_seq_num()); processMap.put("get_all_authz_updates_from", new get_all_authz_updates_from()); processMap.put("get_all_related_paths", new get_all_related_paths()); return processMap; }
public void send_handle_hms_notification(TPathsUpdate pathsUpdate) throws org.apache.thrift.TException { handle_hms_notification_args args = new handle_hms_notification_args(); args.setPathsUpdate(pathsUpdate); sendBase("handle_hms_notification", args); }
public void send_check_hms_seq_num(long pathSeqNum) throws org.apache.thrift.TException { check_hms_seq_num_args args = new check_hms_seq_num_args(); args.setPathSeqNum(pathSeqNum); sendBase("check_hms_seq_num", args); }
public check_hms_seq_num_result getResult(I iface, check_hms_seq_num_args args) throws org.apache.thrift.TException { check_hms_seq_num_result result = new check_hms_seq_num_result(); result.success = iface.check_hms_seq_num(args.pathSeqNum); result.setSuccessIsSet(true); return result; } }
/** * Performs a deep copy on <i>other</i>. */ public get_all_authz_updates_from_result(get_all_authz_updates_from_result other) { if (other.isSetSuccess()) { this.success = new TAuthzUpdateResponse(other.success); } }
@Override public void clear() { setPermSeqNumIsSet(false); this.permSeqNum = 0; setPathSeqNumIsSet(false); this.pathSeqNum = 0; setPathImgNumIsSet(false); this.pathImgNum = 0; }
public void recv_handle_hms_notification() throws org.apache.thrift.TException { handle_hms_notification_result result = new handle_hms_notification_result(); receiveBase(result, "handle_hms_notification"); return; }
/** * Performs a deep copy on <i>other</i>. */ public handle_hms_notification_args(handle_hms_notification_args other) { if (other.isSetPathsUpdate()) { this.pathsUpdate = new TPathsUpdate(other.pathsUpdate); } }
public get_all_authz_updates_from_result getResult(I iface, get_all_authz_updates_from_args args) throws org.apache.thrift.TException { get_all_authz_updates_from_result result = new get_all_authz_updates_from_result(); result.success = iface.get_all_authz_updates_from(args.permSeqNum, args.pathSeqNum); return result; } }
public boolean equals(handle_hms_notification_args that) { if (that == null) return false; boolean this_present_pathsUpdate = true && this.isSetPathsUpdate(); boolean that_present_pathsUpdate = true && that.isSetPathsUpdate(); if (this_present_pathsUpdate || that_present_pathsUpdate) { if (!(this_present_pathsUpdate && that_present_pathsUpdate)) return false; if (!this.pathsUpdate.equals(that.pathsUpdate)) return false; } return true; }
public boolean equals(get_all_authz_updates_from_result that) { if (that == null) return false; boolean this_present_success = true && this.isSetSuccess(); boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; if (!this.success.equals(that.success)) return false; } return true; }
public Map<String,List<String>> get_all_related_paths(String path, boolean exactMatch) throws org.apache.thrift.TException { send_get_all_related_paths(path, exactMatch); return recv_get_all_related_paths(); }
public void setFieldValue(_Fields field, Object value) { switch (field) { case PATH_SEQ_NUM: if (value == null) { unsetPathSeqNum(); } else { setPathSeqNum((Long)value); } break; } }
public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { setSuccess((Long)value); } break; } }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof check_hms_seq_num_args) return this.equals((check_hms_seq_num_args)that); return false; }
public get_all_related_paths_args( String path, boolean exactMatch) { this(); this.path = path; this.exactMatch = exactMatch; setExactMatchIsSet(true); }