@Override
    public boolean equals(Object o) {

        if (this == o) {
            return true;
        }
        if (!(o instanceof DeleteStream)) {
            return false;
        }

        DeleteStream that = (DeleteStream) o;

        if (onDeleteExpression != null ? !onDeleteExpression.equals(that.onDeleteExpression) : that
                .onDeleteExpression != null) {
            return false;
        }

        return true;
    }
Query output stream deleting entry from table
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/execution/query/output/stream/DeleteStream.java