Query query String = >Map
This commit is contained in:
parent
9f1ea2fa8e
commit
81dbd153f2
|
@ -1,21 +1,22 @@
|
|||
package com.loafle.overflow.crawler.config;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* Created by snoop on 2017-04-21.
|
||||
*/
|
||||
public class Query {
|
||||
|
||||
String query;
|
||||
Map<String,Object> queryInfo;
|
||||
List<String> keys;
|
||||
|
||||
public String getQuery() {
|
||||
return query;
|
||||
public Map<String, Object> getQueryInfo() {
|
||||
return queryInfo;
|
||||
}
|
||||
|
||||
public void setQuery(String query) {
|
||||
this.query = query;
|
||||
public void setQueryInfo(Map<String, Object> queryInfo) {
|
||||
this.queryInfo = queryInfo;
|
||||
}
|
||||
|
||||
public List<String> getKeys() {
|
||||
|
|
|
@ -19,5 +19,16 @@
|
|||
"container":"network_crawler"
|
||||
},
|
||||
"items" : [
|
||||
{
|
||||
"queries": [
|
||||
{
|
||||
"queryInfo" : {
|
||||
"query" : "show session status",
|
||||
"direction" : "col"
|
||||
},
|
||||
"keys" : []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user