lastComparison = java.lang.Boolean.valueOf(isSetTfino()).compareTo(other.isSetTfino()); if (lastComparison != 0) { return lastComparison; if (isSetTfino()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tfino, other.tfino); 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(); }
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTfino()) { optionals.set(0); if (struct.isSetTfino()) { struct.tfino.write(oprot);
lastComparison = Boolean.valueOf(isSetTfino()).compareTo(other.isSetTfino()); if (lastComparison != 0) { return lastComparison; if (isSetTfino()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tfino, other.tfino); if (lastComparison != 0) {
return false; boolean this_present_tfino = true && this.isSetTfino(); boolean that_present_tfino = true && that.isSetTfino(); if (this_present_tfino || that_present_tfino) { if (!(this_present_tfino && that_present_tfino))
TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTfino()) { optionals.set(0); if (struct.isSetTfino()) { struct.tfino.write(oprot);
@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(); }
return true; boolean this_present_tfino = true && this.isSetTfino(); boolean that_present_tfino = true && that.isSetTfino(); if (this_present_tfino || that_present_tfino) { if (!(this_present_tfino && that_present_tfino))
/** * 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; }