@Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        TopNCacheReadCommand statement = (TopNCacheReadCommand) o;
        return Objects.equals(getEntityId(), statement.getEntityId());
    }
Database TopN statement, including Database SQL statement, mongoDB and Redis commands.
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/manual/cache/TopNCacheReadCommand.java