presto-elasticsearch/src/main/java/io/prestosql/elasticsearch/ElasticsearchTableHandle.java/ElasticsearchTableHandle/equals
class ElasticsearchTableHandle:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        ElasticsearchTableHandle that = (ElasticsearchTableHandle) o;
        return schema.equals(that.schema) &&
                index.equals(that.index) &&
                constraint.equals(that.constraint) &&
                query.equals(that.query);
    }