| 程序包 | 说明 |
|---|---|
| net.hasor.dataql |
DataQL 全面提供 “数据” + “服务” 整合查询能力。
|
| net.hasor.dataql.compiler.ast | |
| net.hasor.dataql.compiler.ast.expr | |
| net.hasor.dataql.compiler.ast.fmt | |
| net.hasor.dataql.compiler.ast.inst | |
| net.hasor.dataql.compiler.ast.value | |
| net.hasor.dataql.domain |
DataQL,结果模型。
|
| net.hasor.dataql.extend.jsr223 |
DataQL 的 jsr223 支持。
|
| net.hasor.dataql.runtime |
DataQL,执行运行时。
|
| net.hasor.dataql.runtime.mem |
内存数据结构。
|
| net.hasor.dataql.runtime.operator |
提供运算符实现,包含:一元运算,二元运算。
|
| net.hasor.dataql.runtime.operator.ops |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
Query
查询
|
interface |
QueryApiBinder
全面提供 “数据库 + 服务” 整合查询,并为查询结果提供全面的数据整合能力。
|
| 限定符和类型 | 方法和说明 |
|---|---|
default List<Object> |
FragmentProcess.batchRunFragment(Hints hint,
List<Map<String,Object>> params,
String fragmentString)
批量执行
|
Object |
Udf.call(Hints readOnly,
Object... params)
UDF 的返回值必须是一个 对象或者数组
|
Object |
FragmentProcess.runFragment(Hints hint,
Map<String,Object> params,
String fragmentString)
常规执行
|
default void |
Hints.setHints(Hints hints)
设置选项参数
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
InstFormat.doFormat(int depth,
Hints formatOption,
FormatWriter writer)
格式化
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TernaryExpression.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
UnaryExpression.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
AtomExpression.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
PrivilegeExpression.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
DyadicExpression.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ObjectFormat.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
ListFormat.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RunInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
ThrowInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
InstSet.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
VarInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
HintInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
SwitchInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
ImportInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
ReturnInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
ExitInst.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ListVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
LambdaVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
NameRouteVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
EnterRouteVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
PrimitiveVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
SubscriptRouteVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
FragmentVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
ObjectVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
void |
FunCallRouteVariable.doFormat(int depth,
Hints formatOption,
FormatWriter writer) |
| 限定符和类型 | 方法和说明 |
|---|---|
DataModel |
UdfModel.call(Hints readOnly,
Object... params) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataQLScriptEngine
JSR223 引擎机制的实现。
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CompilerVarQuery
用于封装和引发 QL 查询执行。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
HintsReadOnly
用于封装 Hint。
|
class |
HintsSet
用于封装 Hint。
|
class |
InsetProcessContext
指令执行器接口
|
| 构造器和说明 |
|---|
HintsReadOnly(Hints option) |
HintsSet(Hints optionSet) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
RefFragmentCall.call(Hints readOnly,
Object... params) |
Object |
RefLambdaCall.call(Hints readOnly,
Object... params) |
Object |
RefCall.invokeMethod(Object[] paramArrays,
Hints optionSet,
Finder finder) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
OperatorProcess.doProcess(String operator,
Object[] args,
Hints option)
执行运算
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
BinaryDOP.doDyadicProcess(String operator,
Object fstObject,
Object secObject,
Hints option) |
Object |
ObjectEqDOP.doDyadicProcess(String operator,
Object fstObject,
Object secObject,
Hints option) |
Object |
CompareDOP.doDyadicProcess(String operator,
Object fstObject,
Object secObject,
Hints option) |
Object |
NumberDOP.doDyadicProcess(String operator,
Object fstObject,
Object secObject,
Hints option) |
Object |
StringJointDOP.doProcess(String operator,
Object[] args,
Hints option) |
Object |
NumberUOP.doUnaryProcess(String operator,
Object object,
Hints option) |
Object |
BooleanUOP.doUnaryProcess(String operator,
Object object,
Hints option) |
Copyright © 2020. All rights reserved.