规则引擎QLExpress的简单应用
QLExpress 是一个轻量级的类java语法规则引擎,作为一个嵌入式规则引擎在业务系统中使用。让业务规则定义简便而不失灵活。让业务人员就可以定义业务规则。支持标 准的JAVA语法,还可以支持自定义操作符号、操作符号重载、 函数定义、宏定义、数据延迟加载等。
QLExpress可以执行标准的java语法,例如 '哈哈'.equals('哈哈')、if(true) {1} else{2}等,可以动态获取运算结果。
QLExpress 3.0.6下载地址:http://code.taobao.org/p/QLExpress/file/2949/qlexpress-3.0.6.zip
wiki地址:http://code.taobao.org/p/QLExpress/wiki/index/
demo代码如下:
package com.test;
import com.ql.util.express.ExpressRunner; public class Test {
/**
*
* @return void
* @throws Exception
*/
public static void main(String[] args) throws Exception {
String express1 = " 1 in (2) ";
String express2 = " if(false){ 1} else{2} ";
String express3 = " round(4.34,1) ";
String express4 = " '哈哈'.equals('哈哈') ";
ExpressRunner runner = new ExpressRunner(); System.out.println("表达式计算:" + express1 + " 处理结果: " + runner.execute(express1, null, null, false, false) );
System.out.println("表达式计算:" + express2 + " 处理结果: " + runner.execute(express2, null, null, false, false) );
System.out.println("表达式计算:" + express3 + " 处理结果: " + runner.execute(express3, null, null, false, false) );
System.out.println("表达式计算:" + express4 + " 处理结果: " + runner.execute(express4, null, null, false, false) ); }
}
代码运行截图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAsYAAAB/CAIAAABjUJN2AAAYI0lEQVR4nO2d24GrOgxFU1cKSj0p4VaRZlIM9yMJ+CHJsi0Cc7LW1wzYxpaFtDEELgsAAADANJejOwAAAAD/AkgKAAAACABJAQAAAAEgKQAAACAAJAUAAAAEgKQAAACAAJAUAAAAEACSAgAAAAJAUgAAAEAAB0mK5/16ud6fex7icdv7CLAsy7I8bpfbY5mb0y/4w7/HZrTPFPwamtts5/7zfv1DplF623V2cCrtz+N2abDO4vN+/bHZQFJsxVW3mCOLE49b2rDRx3d/PEWnezc30sMkxdtEar1kSrMB1qZ83q/h0x5O1snL9f6MkxRW4k0OW1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MCgAgED6gqC2V4yGXWGuNxxr278cWP0dOKCrB9zXHln2/oYNp5fjxyar67zoGh0CAgBOCIHp3+WQR+XCvqcRyBn7BADw74GkAAAAgAAOvnEAAAAA/wZICgAAAAgASQEAAAABICkAAAAgACQFAAAABICkAAAAgACQFAAAABAAkgIAAAACQFIAAABAAEgKAAAACABJAQAAAAEgKQAAACAAJAUAAAAEgKQAAACAAJAUAAAAEACSAgAAAAJAUgAAAEAASAoAAAAIAAEBAAAAASApAAAAIAAkBQAAAASApAAAAIAAkBQAAAAQAJICAAAAAkBSAAAAQABICgAAAAgASQEAAAABICkAAAAgACQFAAAABPA/yND67IdSvgIAAAAASUVORK5CYII=" alt="" />
限时领取免费Java相关资料,涵盖了Java、Redis、MongoDB、MySQL、Zookeeper、Spring Cloud、Dubbo/Kafka、Hadoop、Hbase、Flink等高并发分布式、大数据、机器学习等技术。
资料传送门:https://mp.weixin.qq.com/s/u2b_NVNuMuAPE0w4lc45fw
关注下方公众号即可免费领取:
规则引擎QLExpress的简单应用的更多相关文章
- 规则引擎drools的简单使用
规则引擎适用于有复杂多变的规则,如商品满减.积分赠送.考勤规则等 一.引入maven依赖 <dependency> <groupId>org.drools</groupI ...
- Asp.net 面向接口可扩展框架之业务规则引擎扩展组件
随着面向接口可扩展框架的继续开发,有些功能开发出现了"瓶颈",有太多的东西要写死才好做.但写死的代码扩展性是非常的不好,迷茫中寻找出入... 进而想到我以前开发的好几个项目,都已有 ...
- JAVA规则引擎JSR-94笔札
JAVA规则引擎JSR-94笔札 JSR-94 是由JCP(Java Community Process)组织所制定的java规则引擎API的java请求规范.它主要定义了规则引擎在java运行时的一 ...
- 纸壳CMS3.0中的规则引擎,表达式计算
纸壳CMS3.0中的规则引擎,用于计算通用表达试结果.通常业务逻辑总是复杂多变的,使用这个规则引擎可以灵活的修改计算表达式. IRuleManager IRuleManager,是使用规则引擎的主要接 ...
- QLExpress 规则引擎使用介绍
一个轻量级的类java语法规则引擎,作为一个嵌入式规则引擎在业务系统中使用.让业务规则定义简便而不失灵活.让业务人员就可以定义业务规则.支持标准的JAVA语法,还可以支持自定义操作符号.操作符号重载. ...
- 规则引擎 - drools 使用讲解(简单版) - Java
drools规则引擎 项目链接 现状: 运维同学(各种同学)通过后台管理界面直接配置相关规则,这里是通过输入框.下拉框等完成输入的,非常简单: 规则配置完毕后,前端请求后端,此时服务端根据参数(即规则 ...
- 规则引擎深度对比,LiteFlow vs Drools!
前言 Drools是一款老牌的java规则引擎框架,早在十几年前,我刚工作的时候,曾在一家第三方支付企业工作.在核心的支付路由层面我记得就是用Drools来做的. 难能可贵的是,Drools这个项目在 ...
- Scala化规则引擎
1. 引言 什么是规则引擎 一个业务规则包含一组条件和在此条件下执行的操作,它们表示业务规则应用程序的一段业务逻辑.业务规则通常应该由业务分析人员和策略管理者开发和修改,但有些复杂的业务规则也可以由技 ...
- Atitit.工作流 与 规则引擎
Atitit.工作流 与 规则引擎 1.1. 应用来说,通常分为三部分:界面.业务逻辑和存储1 1.2. 自定义操作系列1 1.3. 自定义按钮系列2 1.1. 应用来说,通常分为三部分:界面.业务逻 ...
随机推荐
- ZOJ 1004 Anagrams by Stack(DFS+数据结构)
Anagrams by Stack 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4 题目大意:输入两个字符串序列,判 ...
- 时区之痒 - 从手机GPS模块获取的时间,真的是北京时间么?
去年互联网地图行业开始引入众包模式,国内比较大的地图商,比如四维图新.高德地图.百度地图纷纷开始推出UGC应用,众包给用户采集门址.公交站等信息,并按照工作量给与采集者一定的回报.我曾经玩过某德推出的 ...
- [学习笔记]设计模式之Flyweight
为方便读者,本文已添加至索引: 设计模式 学习笔记索引 写在前面 Flyweight(享元)模式运用共享技术,可以有效地支持大量细粒度的对象.今天我们会去参观小霍比特人们的酿酒工坊……等等,不是享元模 ...
- Git (2)
要使用Git首先遇到的问题是怎么把文件加到库中. 很简单. 新建一个目录,然后git init. 完成上述工作之后的唯一改动是在当前目录下生成了一个.git的子目录.这个子目录是一个集中的数据库,包含 ...
- 网页登陆校验码C#版代码
[DefaultProperty("Text")] [ToolboxData("<{0}:ValidateCode runat=server></{0} ...
- MySQL配置文件路径及‘The total number of locks exceeds the lock table size’问题
在删除mysql中的数据时,遇到报错: ERROR 1206 (HY000): The total number of locks exceeds the lock table size 查了查,发现 ...
- quick-x 触摸事件的新方法
--[[ local function onTouch(event, x, y) print(event, x, y) if event == "began" then retur ...
- python的py文件打包成exe
一.首先需要安装Pyinstaller-- 使用pip来安装模块 (我电脑上装的是python的一个编译环境Anaconda,如果电脑上装的是python自带的IDE的话,就直接进入python的安装 ...
- python随机数
前提:需要导入random模块 >>>import random 1.random.random random.random()用于生成一个0到1的随机符小数: 0 <= n ...
- 2016021903 - 下载安装使用Memory Analyzer
Memory Analyzer是做什么的? 分析java程序中分析内存泄露问题. 1.下载Memory Analyzer Memory Analyzer下载地址:http://www.eclipse. ...