if (isSetTableName()) { if (!first) sb.append(", "); sb.append("tableName:");
builder.append(dbName); boolean present_tableName = true && (isSetTableName()); builder.append(present_tableName); if (present_tableName)
if (struct.isSetTableName()) { oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); oprot.writeString(struct.tableName);
lastComparison = Boolean.valueOf(isSetTableName()).compareTo(typedOther.isSetTableName()); if (lastComparison != 0) { return lastComparison; if (isSetTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, typedOther.tableName); 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(); }
optionals.set(0); if (struct.isSetTableName()) { optionals.set(1); oprot.writeString(struct.dbName); if (struct.isSetTableName()) { oprot.writeString(struct.tableName);
boolean this_present_tableName = true && this.isSetTableName(); boolean that_present_tableName = true && that.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName))
this.dbName = other.dbName; if (other.isSetTableName()) { this.tableName = other.tableName;
boolean this_present_tableName = true && tSentryPrivilege1.isSetTableName(); boolean that_present_tableName = true && tSentryPrivilege2.isSetTableName(); if (this_present_tableName || that_present_tableName) { if (!(this_present_tableName && that_present_tableName)) {