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, setHint
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, execute, putShareVar
computeIfAbsent, forEach, getHint, getHints, getOrDefault, getOrMap, putIfAbsent, removeHint, setHint, setHint, setHint, setHints
protected final String sourceCode
protected Query dataQuery
public Swagger2Query() throws IOException, ParseException
IOException
ParseException
public Swagger2Query(DataQL dataQL) throws IOException, ParseException
IOException
ParseException
public Swagger2Query(Finder finder, Map<String,Supplier<?>> shareVarMap) throws IOException, ParseException
IOException
ParseException
public void addShareVar(String key, Object value)
Query
addShareVar
in interface Query
public QueryResult execute(CustomizeScope customizeScope) throws InstructRuntimeException
Query
execute
in interface Query
InstructRuntimeException
Copyright © 2020. All rights reserved.