@Override public boolean equals(Object o) { if (this == o) { return true; } // LegacyDimensionSpec can be equal to DefaultDimensionSpec if (!(o instanceof DefaultDimensionSpec)) { return false; } DefaultDimensionSpec that = (DefaultDimensionSpec) o; if (dimension != null ? !dimension.equals(that.dimension) : that.dimension != null) { return false; } if (outputName != null ? !outputName.equals(that.outputName) : that.outputName != null) { return false; } if (outputType != null ? !outputType.equals(that.outputType) : that.outputType != null) { return false; } return true; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ExtractionDimensionSpec that = (ExtractionDimensionSpec) o; if (extractionFn != null ? !extractionFn.equals(that.extractionFn) : that.extractionFn != null) { return false; } if (dimension != null ? !dimension.equals(that.dimension) : that.dimension != null) { return false; } if (outputName != null ? !outputName.equals(that.outputName) : that.outputName != null) { return false; } if (outputType != null ? !outputType.equals(that.outputType) : that.outputType != null) { return false; } return true; }
if ((columnCapabilities == null || columnCapabilities.getType().equals(ValueType.STRING)) && cardinality > 0) { final AggregatorFactory[] aggregatorFactories = query
public void merge(ColumnCapabilities other) { if (other == null) { return; } if (type == null) { type = other.getType(); } if (!type.equals(other.getType())) { throw new ISE("Cannot merge columns of type[%s] and [%s]", type, other.getType()); } this.dictionaryEncoded |= other.isDictionaryEncoded(); this.runLengthEncoded |= other.isRunLengthEncoded(); this.hasInvertedIndexes |= other.hasBitmapIndexes(); this.hasSpatialIndexes |= other.hasSpatialIndexes(); this.hasMultipleValues |= other.hasMultipleValues(); this.filterable &= other.isFilterable(); } }
@Override public boolean equals(Object o) { if (this == o) { return true; } // LegacyDimensionSpec can be equal to DefaultDimensionSpec if (!(o instanceof DefaultDimensionSpec)) { return false; } DefaultDimensionSpec that = (DefaultDimensionSpec) o; if (dimension != null ? !dimension.equals(that.dimension) : that.dimension != null) { return false; } if (outputName != null ? !outputName.equals(that.outputName) : that.outputName != null) { return false; } if (outputType != null ? !outputType.equals(that.outputType) : that.outputType != null) { return false; } return true; }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } ExtractionDimensionSpec that = (ExtractionDimensionSpec) o; if (extractionFn != null ? !extractionFn.equals(that.extractionFn) : that.extractionFn != null) { return false; } if (dimension != null ? !dimension.equals(that.dimension) : that.dimension != null) { return false; } if (outputName != null ? !outputName.equals(that.outputName) : that.outputName != null) { return false; } if (outputType != null ? !outputType.equals(that.outputType) : that.outputType != null) { return false; } return true; }
if ((columnCapabilities == null || columnCapabilities.getType().equals(ValueType.STRING)) && cardinality > 0) { final AggregatorFactory[] aggregatorFactories = query
public void merge(ColumnCapabilities other) { if (other == null) { return; } if (type == null) { type = other.getType(); } if (!type.equals(other.getType())) { throw new ISE("Cannot merge columns of type[%s] and [%s]", type, other.getType()); } this.dictionaryEncoded |= other.isDictionaryEncoded(); this.runLengthEncoded |= other.isRunLengthEncoded(); this.hasInvertedIndexes |= other.hasBitmapIndexes(); this.hasSpatialIndexes |= other.hasSpatialIndexes(); this.hasMultipleValues |= other.hasMultipleValues(); this.filterable &= other.isFilterable(); } }