@Override public void createISchema(ISchema schema) throws TException { if (!schema.isSetCatName()) { schema.setCatName(getDefaultCatalog(conf)); } client.create_ischema(schema); }
list.add(name); boolean present_catName = true && (isSetCatName()); list.add(present_catName); if (present_catName)
lastComparison = Boolean.valueOf(isSetCatName()).compareTo(other.isSetCatName()); if (lastComparison != 0) { return lastComparison; if (isSetCatName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catName, other.catName); 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 SCHEMA_TYPE: return isSetSchemaType(); case NAME: return isSetName(); case CAT_NAME: return isSetCatName(); case DB_NAME: return isSetDbName(); case COMPATIBILITY: return isSetCompatibility(); case VALIDATION_LEVEL: return isSetValidationLevel(); case CAN_EVOLVE: return isSetCanEvolve(); case SCHEMA_GROUP: return isSetSchemaGroup(); case DESCRIPTION: return isSetDescription(); } throw new IllegalStateException(); }
boolean this_present_catName = true && this.isSetCatName(); boolean that_present_catName = true && that.isSetCatName(); if (this_present_catName || that_present_catName) { if (!(this_present_catName && that_present_catName))
optionals.set(1); if (struct.isSetCatName()) { optionals.set(2); oprot.writeString(struct.name); if (struct.isSetCatName()) { oprot.writeString(struct.catName);
this.name = other.name; if (other.isSetCatName()) { this.catName = other.catName;