list.add(foreignSchemaName); boolean present_foreignTableName = true && (isSetForeignTableName()); list.add(present_foreignTableName); if (present_foreignTableName)
if (isSetForeignTableName()) { if (!first) sb.append(", "); sb.append("foreignTableName:");
if (struct.isSetForeignTableName()) { oprot.writeFieldBegin(FOREIGN_TABLE_NAME_FIELD_DESC); oprot.writeString(struct.foreignTableName);
lastComparison = Boolean.valueOf(isSetForeignTableName()).compareTo(other.isSetForeignTableName()); if (lastComparison != 0) { return lastComparison; if (isSetForeignTableName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.foreignTableName, other.foreignTableName); 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_foreignTableName = true && this.isSetForeignTableName(); boolean that_present_foreignTableName = true && that.isSetForeignTableName(); if (this_present_foreignTableName || that_present_foreignTableName) { if (!(this_present_foreignTableName && that_present_foreignTableName))
optionals.set(4); if (struct.isSetForeignTableName()) { optionals.set(5); oprot.writeString(struct.foreignSchemaName); if (struct.isSetForeignTableName()) { oprot.writeString(struct.foreignTableName);
/** * 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; } }