if (isSetColumnName()) { if (!first) sb.append(", "); sb.append("columnName:");
builder.append(grantOption.getValue()); boolean present_columnName = true && (isSetColumnName()); builder.append(present_columnName); if (present_columnName)
if (struct.isSetColumnName()) { oprot.writeFieldBegin(COLUMN_NAME_FIELD_DESC); oprot.writeString(struct.columnName);
lastComparison = Boolean.valueOf(isSetColumnName()).compareTo(typedOther.isSetColumnName()); if (lastComparison != 0) { return lastComparison; if (isSetColumnName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.columnName, typedOther.columnName); 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(4); if (struct.isSetColumnName()) { optionals.set(5); oprot.writeI32(struct.grantOption.getValue()); if (struct.isSetColumnName()) { oprot.writeString(struct.columnName);
boolean this_present_columnName = true && this.isSetColumnName(); boolean that_present_columnName = true && that.isSetColumnName(); if (this_present_columnName || that_present_columnName) { if (!(this_present_columnName && that_present_columnName))
this.grantOption = other.grantOption; if (other.isSetColumnName()) { this.columnName = other.columnName;
boolean this_present_columnName = true && tSentryPrivilege1.isSetColumnName(); boolean that_present_columnName = true && tSentryPrivilege2.isSetColumnName(); if (this_present_columnName || that_present_columnName) { if (!(this_present_columnName && that_present_columnName)) {