if (table.hasStats()) {
if (table.hasStats()) {
hash = (53 * hash) + getSchema().hashCode(); if (hasStats()) { hash = (37 * hash) + STATS_FIELD_NUMBER; hash = (53 * hash) + getStats().hashCode();
if (hasStats()) { if (!getStats().isInitialized()) { memoizedIsInitialized = 0;
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.TableDescProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.TableDescProto.getDefaultInstance()) return this; if (other.hasTableName()) { bitField0_ |= 0x00000001; tableName_ = other.tableName_; onChanged(); } if (other.hasPath()) { bitField0_ |= 0x00000002; path_ = other.path_; onChanged(); } if (other.hasMeta()) { mergeMeta(other.getMeta()); } if (other.hasSchema()) { mergeSchema(other.getSchema()); } if (other.hasStats()) { mergeStats(other.getStats()); } if (other.hasPartition()) { mergePartition(other.getPartition()); } if (other.hasIsExternal()) { setIsExternal(other.getIsExternal()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public TableDesc(TableDescProto proto) { this(proto.getTableName(), proto.hasSchema() ? SchemaFactory.newV1(proto.getSchema()) : null, new TableMeta(proto.getMeta()), proto.hasPath() ? URI.create(proto.getPath()) : null, proto.getIsExternal()); if(proto.hasStats()) { this.stats = new TableStats(proto.getStats()); } if (proto.hasPartition()) { this.partitionMethodDesc = new PartitionMethodDesc(proto.getPartition()); } }
public TableDesc(TableDescProto proto) { this(proto.getTableName(), proto.hasSchema() ? new Schema(proto.getSchema()) : null, new TableMeta(proto.getMeta()), proto.hasPath() ? URI.create(proto.getPath()) : null, proto.getIsExternal()); if(proto.hasStats()) { this.stats = new TableStats(proto.getStats()); } if (proto.hasPartition()) { this.partitionMethodDesc = new PartitionMethodDesc(proto.getPartition()); } }