if (isSetDbName()) { if (!first) sb.append(", "); sb.append("dbName:");
builder.append(serverName); boolean present_dbName = true && (isSetDbName()); builder.append(present_dbName); if (present_dbName)
if (struct.isSetDbName()) { oprot.writeFieldBegin(DB_NAME_FIELD_DESC); oprot.writeString(struct.dbName);
lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); if (lastComparison != 0) { return lastComparison; if (isSetDbName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, typedOther.dbName); 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 IllegalArgumentException(); } switch (field) { case PRIVILEGE_SCOPE: return isSetPrivilegeScope(); case SERVER_NAME: return isSetServerName(); case DB_NAME: return isSetDbName(); case TABLE_NAME: return isSetTableName(); case URI: return isSetURI(); case ACTION: return isSetAction(); case CREATE_TIME: return isSetCreateTime(); case GRANT_OPTION: return isSetGrantOption(); case COLUMN_NAME: return isSetColumnName(); } throw new IllegalStateException(); }
oprot.writeString(struct.action); BitSet optionals = new BitSet(); if (struct.isSetDbName()) { optionals.set(0); if (struct.isSetDbName()) { oprot.writeString(struct.dbName);
boolean this_present_dbName = true && this.isSetDbName(); boolean that_present_dbName = true && that.isSetDbName(); if (this_present_dbName || that_present_dbName) { if (!(this_present_dbName && that_present_dbName))
this.serverName = other.serverName; if (other.isSetDbName()) { this.dbName = other.dbName;
boolean this_present_dbName = true && tSentryPrivilege1.isSetDbName(); boolean that_present_dbName = true && tSentryPrivilege2.isSetDbName(); if (this_present_dbName || that_present_dbName) { if (!(this_present_dbName && that_present_dbName)) {