@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDatabaseName()) { hash = (37 * hash) + DATABASENAME_FIELD_NUMBER; hash = (53 * hash) + getDatabaseName().hashCode(); } if (hasTableName()) { hash = (37 * hash) + TABLENAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } if (hasPartitionName()) { hash = (37 * hash) + PARTITIONNAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.catalog.proto.CatalogProtos.PartitionIdentifierProto)) { return super.equals(obj); } org.apache.tajo.catalog.proto.CatalogProtos.PartitionIdentifierProto other = (org.apache.tajo.catalog.proto.CatalogProtos.PartitionIdentifierProto) obj; boolean result = true; result = result && (hasDatabaseName() == other.hasDatabaseName()); if (hasDatabaseName()) { result = result && getDatabaseName() .equals(other.getDatabaseName()); } result = result && (hasTableName() == other.hasTableName()); if (hasTableName()) { result = result && getTableName() .equals(other.getTableName()); } result = result && (hasPartitionName() == other.hasPartitionName()); if (hasPartitionName()) { result = result && getPartitionName() .equals(other.getPartitionName()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
throws ServiceException { String dbName = request.getDatabaseName(); String tbName = request.getTableName();
throws ServiceException { String dbName = request.getDatabaseName(); String tbName = request.getTableName(); String partitionName = request.getPartitionName();
throws ServiceException { String dbName = request.getDatabaseName(); String tbName = request.getTableName(); String partitionName = request.getPartitionName();
/** * <code>required string tableName = 2;</code> */ public Builder clearTableName() { bitField0_ = (bitField0_ & ~0x00000002); tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /**