@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_table = true && (isSetTable()); list.add(present_table); if (present_table) list.add(table); boolean present_tscan = true && (isSetTscan()); list.add(present_tscan); if (present_tscan) list.add(tscan); boolean present_numRows = true; list.add(present_numRows); if (present_numRows) list.add(numRows); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_table = true && (isSetTable()); list.add(present_table); if (present_table) list.add(table); boolean present_tscan = true && (isSetTscan()); list.add(present_tscan); if (present_tscan) list.add(tscan); boolean present_numRows = true; list.add(present_numRows); if (present_numRows) list.add(numRows); return list.hashCode(); }
lastComparison = Boolean.valueOf(isSetTscan()).compareTo(other.isSetTscan()); if (lastComparison != 0) { return lastComparison; if (isSetTscan()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tscan, other.tscan); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetTscan()).compareTo(other.isSetTscan()); if (lastComparison != 0) { return lastComparison; if (isSetTscan()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tscan, other.tscan); if (lastComparison != 0) {
public boolean equals(getScannerResults_args that) { if (that == null) return false; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table)) return false; if (!this.table.equals(that.table)) return false; } boolean this_present_tscan = true && this.isSetTscan(); boolean that_present_tscan = true && that.isSetTscan(); if (this_present_tscan || that_present_tscan) { if (!(this_present_tscan && that_present_tscan)) return false; if (!this.tscan.equals(that.tscan)) return false; } boolean this_present_numRows = true; boolean that_present_numRows = true; if (this_present_numRows || that_present_numRows) { if (!(this_present_numRows && that_present_numRows)) return false; if (this.numRows != that.numRows) return false; } return true; }
public boolean equals(getScannerResults_args that) { if (that == null) return false; boolean this_present_table = true && this.isSetTable(); boolean that_present_table = true && that.isSetTable(); if (this_present_table || that_present_table) { if (!(this_present_table && that_present_table)) return false; if (!this.table.equals(that.table)) return false; } boolean this_present_tscan = true && this.isSetTscan(); boolean that_present_tscan = true && that.isSetTscan(); if (this_present_tscan || that_present_tscan) { if (!(this_present_tscan && that_present_tscan)) return false; if (!this.tscan.equals(that.tscan)) return false; } boolean this_present_numRows = true; boolean that_present_numRows = true; if (this_present_numRows || that_present_numRows) { if (!(this_present_numRows && that_present_numRows)) return false; if (this.numRows != that.numRows) return false; } return true; }
/** 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 TABLE: return isSetTable(); case TSCAN: return isSetTscan(); case NUM_ROWS: return isSetNumRows(); } throw new IllegalStateException(); }
/** 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 TABLE: return isSetTable(); case TSCAN: return isSetTscan(); case NUM_ROWS: return isSetNumRows(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public getScannerResults_args(getScannerResults_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTscan()) { this.tscan = new TScan(other.tscan); } this.numRows = other.numRows; }
/** * Performs a deep copy on <i>other</i>. */ public getScannerResults_args(getScannerResults_args other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetTable()) { this.table = org.apache.thrift.TBaseHelper.copyBinary(other.table); } if (other.isSetTscan()) { this.tscan = new TScan(other.tscan); } this.numRows = other.numRows; }