| Modifier and Type | Field and Description |
|---|---|
protected Query |
dataQuery |
protected String |
sourceCode |
INDEX_OVERFLOW_NEAR, INDEX_OVERFLOW_NULL, INDEX_OVERFLOW_THROW, MAX_DECIMAL_DIGITS, MIN_DECIMAL_WIDTH, MIN_DECIMAL_WIDTH_BIG, MIN_DECIMAL_WIDTH_DOUBLE, MIN_DECIMAL_WIDTH_FLOAT, MIN_INTEGER_WIDTH, MIN_INTEGER_WIDTH_BIG, MIN_INTEGER_WIDTH_BYTE, MIN_INTEGER_WIDTH_INT, MIN_INTEGER_WIDTH_LONG, MIN_INTEGER_WIDTH_SHORT, NUMBER_ROUNDING, NUMBER_ROUNDING_CEILING, NUMBER_ROUNDING_DOWN, NUMBER_ROUNDING_FLOOR, NUMBER_ROUNDING_HALF_DOWN, NUMBER_ROUNDING_HALF_EVEN, NUMBER_ROUNDING_HALF_UP, NUMBER_ROUNDING_UNNECESSARY, NUMBER_ROUNDING_UP| Constructor and Description |
|---|
Swagger2Query() |
Swagger2Query(DataQL dataQL) |
Swagger2Query(Finder finder,
Map<String,Supplier<?>> shareVarMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
addShareVar(String key,
Object value)
添加全局变量
|
Swagger2Query |
clone()
复制一个Query
|
QueryResult |
execute(CustomizeScope customizeScope)
执行查询
|
getHint, getHints, removeHint, setHint, setHint, setHintequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, execute, execute, putShareVarcomputeIfAbsent, forEach, getHint, getHints, getOrDefault, getOrMap, putIfAbsent, removeHint, setHint, setHint, setHint, setHintsprotected final String sourceCode
protected Query dataQuery
public Swagger2Query()
throws IOException,
ParseException
IOExceptionParseExceptionpublic Swagger2Query(DataQL dataQL) throws IOException, ParseException
IOExceptionParseExceptionpublic Swagger2Query(Finder finder, Map<String,Supplier<?>> shareVarMap) throws IOException, ParseException
IOExceptionParseExceptionpublic void addShareVar(String key, Object value)
QueryaddShareVar in interface Querypublic QueryResult execute(CustomizeScope customizeScope) throws InstructRuntimeException
Queryexecute in interface QueryInstructRuntimeExceptionCopyright © 2020. All rights reserved.