lastComparison = java.lang.Boolean.valueOf(isSetLogsToWatch()).compareTo(other.isSetLogsToWatch()); if (lastComparison != 0) { return lastComparison; if (isSetLogsToWatch()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logsToWatch, other.logsToWatch); if (lastComparison != 0) {
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new java.lang.IllegalArgumentException(); } switch (field) { case TFINO: return isSetTfino(); case CREDENTIALS: return isSetCredentials(); case TABLE_NAME: return isSetTableName(); case LOGS_TO_WATCH: return isSetLogsToWatch(); } throw new java.lang.IllegalStateException(); }
optionals.set(2); if (struct.isSetLogsToWatch()) { optionals.set(3); oprot.writeString(struct.tableName); if (struct.isSetLogsToWatch()) {
lastComparison = Boolean.valueOf(isSetLogsToWatch()).compareTo(other.isSetLogsToWatch()); if (lastComparison != 0) { return lastComparison; if (isSetLogsToWatch()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.logsToWatch, other.logsToWatch); if (lastComparison != 0) {
boolean this_present_logsToWatch = true && this.isSetLogsToWatch(); boolean that_present_logsToWatch = true && that.isSetLogsToWatch(); if (this_present_logsToWatch || that_present_logsToWatch) { if (!(this_present_logsToWatch && that_present_logsToWatch))
optionals.set(2); if (struct.isSetLogsToWatch()) { optionals.set(3); oprot.writeString(struct.tableName); if (struct.isSetLogsToWatch()) {
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_tfino = true && (isSetTfino()); list.add(present_tfino); if (present_tfino) list.add(tfino); boolean present_credentials = true && (isSetCredentials()); list.add(present_credentials); if (present_credentials) list.add(credentials); boolean present_tableName = true && (isSetTableName()); list.add(present_tableName); if (present_tableName) list.add(tableName); boolean present_logsToWatch = true && (isSetLogsToWatch()); list.add(present_logsToWatch); if (present_logsToWatch) list.add(logsToWatch); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public drainReplicationTable_args(drainReplicationTable_args other) { if (other.isSetTfino()) { this.tfino = new org.apache.accumulo.core.trace.thrift.TInfo(other.tfino); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(other.credentials); } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetLogsToWatch()) { Set<String> __this__logsToWatch = new HashSet<String>(other.logsToWatch); this.logsToWatch = __this__logsToWatch; } }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case TFINO: return isSetTfino(); case CREDENTIALS: return isSetCredentials(); case TABLE_NAME: return isSetTableName(); case LOGS_TO_WATCH: return isSetLogsToWatch(); } throw new IllegalStateException(); }
boolean this_present_logsToWatch = true && this.isSetLogsToWatch(); boolean that_present_logsToWatch = true && that.isSetLogsToWatch(); if (this_present_logsToWatch || that_present_logsToWatch) { if (!(this_present_logsToWatch && that_present_logsToWatch))
/** * Performs a deep copy on <i>other</i>. */ public drainReplicationTable_args(drainReplicationTable_args other) { if (other.isSetTfino()) { this.tfino = new org.apache.accumulo.core.trace.thrift.TInfo(other.tfino); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(other.credentials); } if (other.isSetTableName()) { this.tableName = other.tableName; } if (other.isSetLogsToWatch()) { java.util.Set<java.lang.String> __this__logsToWatch = new java.util.HashSet<java.lang.String>(other.logsToWatch); this.logsToWatch = __this__logsToWatch; } }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTfino()) ? 131071 : 524287); if (isSetTfino()) hashCode = hashCode * 8191 + tfino.hashCode(); hashCode = hashCode * 8191 + ((isSetCredentials()) ? 131071 : 524287); if (isSetCredentials()) hashCode = hashCode * 8191 + credentials.hashCode(); hashCode = hashCode * 8191 + ((isSetTableName()) ? 131071 : 524287); if (isSetTableName()) hashCode = hashCode * 8191 + tableName.hashCode(); hashCode = hashCode * 8191 + ((isSetLogsToWatch()) ? 131071 : 524287); if (isSetLogsToWatch()) hashCode = hashCode * 8191 + logsToWatch.hashCode(); return hashCode; }