list.add(parentTableName); boolean present_foreignCatalogName = true && (isSetForeignCatalogName()); list.add(present_foreignCatalogName); if (present_foreignCatalogName)
if (isSetForeignCatalogName()) { if (!first) sb.append(", "); sb.append("foreignCatalogName:");
if (struct.isSetForeignCatalogName()) { oprot.writeFieldBegin(FOREIGN_CATALOG_NAME_FIELD_DESC); oprot.writeString(struct.foreignCatalogName);
lastComparison = Boolean.valueOf(isSetForeignCatalogName()).compareTo(other.isSetForeignCatalogName()); if (lastComparison != 0) { return lastComparison; if (isSetForeignCatalogName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.foreignCatalogName, other.foreignCatalogName); 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 SESSION_HANDLE: return isSetSessionHandle(); case PARENT_CATALOG_NAME: return isSetParentCatalogName(); case PARENT_SCHEMA_NAME: return isSetParentSchemaName(); case PARENT_TABLE_NAME: return isSetParentTableName(); case FOREIGN_CATALOG_NAME: return isSetForeignCatalogName(); case FOREIGN_SCHEMA_NAME: return isSetForeignSchemaName(); case FOREIGN_TABLE_NAME: return isSetForeignTableName(); } throw new IllegalStateException(); }
boolean this_present_foreignCatalogName = true && this.isSetForeignCatalogName(); boolean that_present_foreignCatalogName = true && that.isSetForeignCatalogName(); if (this_present_foreignCatalogName || that_present_foreignCatalogName) { if (!(this_present_foreignCatalogName && that_present_foreignCatalogName))
optionals.set(2); if (struct.isSetForeignCatalogName()) { optionals.set(3); oprot.writeString(struct.parentTableName); if (struct.isSetForeignCatalogName()) { oprot.writeString(struct.foreignCatalogName);
/** * Performs a deep copy on <i>other</i>. */ public TGetCrossReferenceReq(TGetCrossReferenceReq other) { if (other.isSetSessionHandle()) { this.sessionHandle = new TSessionHandle(other.sessionHandle); } if (other.isSetParentCatalogName()) { this.parentCatalogName = other.parentCatalogName; } if (other.isSetParentSchemaName()) { this.parentSchemaName = other.parentSchemaName; } if (other.isSetParentTableName()) { this.parentTableName = other.parentTableName; } if (other.isSetForeignCatalogName()) { this.foreignCatalogName = other.foreignCatalogName; } if (other.isSetForeignSchemaName()) { this.foreignSchemaName = other.foreignSchemaName; } if (other.isSetForeignTableName()) { this.foreignTableName = other.foreignTableName; } }