@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_server = true && (isSetServer()); builder.append(present_server); if (present_server) builder.append(server); boolean present_uri = true && (isSetUri()); builder.append(present_uri); if (present_uri) builder.append(uri); boolean present_db = true && (isSetDb()); builder.append(present_db); if (present_db) builder.append(db); boolean present_table = true && (isSetTable()); builder.append(present_table); if (present_table) builder.append(table); boolean present_column = true && (isSetColumn()); builder.append(present_column); if (present_column) builder.append(column); return builder.toHashCode(); }
if (struct.isSetTable()) { oprot.writeFieldBegin(TABLE_FIELD_DESC); oprot.writeString(struct.table);
if (isSetTable()) { if (!first) sb.append(", "); sb.append("table:");
/** 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 SERVER: return isSetServer(); case URI: return isSetUri(); case DB: return isSetDb(); case TABLE: return isSetTable(); case COLUMN: return isSetColumn(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetTable()).compareTo(typedOther.isSetTable()); if (lastComparison != 0) { return lastComparison; if (isSetTable()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table, typedOther.table); if (lastComparison != 0) {
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))
/** * Performs a deep copy on <i>other</i>. */ public TSentryAuthorizable(TSentryAuthorizable other) { if (other.isSetServer()) { this.server = other.server; } if (other.isSetUri()) { this.uri = other.uri; } if (other.isSetDb()) { this.db = other.db; } if (other.isSetTable()) { this.table = other.table; } if (other.isSetColumn()) { this.column = other.column; } }
optionals.set(1); if (struct.isSetTable()) { optionals.set(2); oprot.writeString(struct.db); if (struct.isSetTable()) { oprot.writeString(struct.table);