pstmt.setString(5, table.getMeta().getDataFormat()); pstmt.setBoolean(6, table.getSchema() == null); pstmt.executeUpdate();
pstmt.setString(5, table.getMeta().getDataFormat()); pstmt.setBoolean(6, table.getSchema() == null); pstmt.executeUpdate();
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDataFormat()) { hash = (37 * hash) + DATAFORMAT_FIELD_NUMBER; hash = (53 * hash) + getDataFormat().hashCode(); } if (hasParams()) { hash = (37 * hash) + PARAMS_FIELD_NUMBER; hash = (53 * hash) + getParams().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.TableProto)) { return super.equals(obj); } org.apache.tajo.catalog.proto.CatalogProtos.TableProto other = (org.apache.tajo.catalog.proto.CatalogProtos.TableProto) obj; boolean result = true; result = result && (hasDataFormat() == other.hasDataFormat()); if (hasDataFormat()) { result = result && getDataFormat() .equals(other.getDataFormat()); } result = result && (hasParams() == other.hasParams()); if (hasParams()) { result = result && getParams() .equals(other.getParams()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public TableMeta(TableProto proto) { this.dataFormat = proto.getDataFormat(); this.options = new KeyValueSet(proto.getParams()); }
/** * <code>required string dataFormat = 1;</code> */ public Builder clearDataFormat() { bitField0_ = (bitField0_ & ~0x00000001); dataFormat_ = getDefaultInstance().getDataFormat(); onChanged(); return this; } /**
public TableMeta(TableProto proto) { this.dataFormat = proto.getDataFormat(); this.propertySet = new KeyValueSet(proto.getParams()); }