@Override
  public boolean equals(final Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    final TagFilter that = (TagFilter) o;
    return super.equals(o) && Objects.equals(index, that.index);
  }
{@link TagFilter} and {@link AttributeFilter} share the same values filter for query logic on
their values. {@link TagFilter} and {@link AttributeFilter} just indicates that how to get the
id/attribute value from the device entry.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/filter/impl/singlechild/TagFilter.java