public class SQLFileQueryParams
extends net.idea.modbcum.q.query.SQLFileQuery<com.fasterxml.jackson.databind.node.ObjectNode>
implements net.idea.modbcum.i.IJSONQueryParams
| Modifier and Type | Class and Description |
|---|---|
static class |
SQLFileQueryParams._fields |
| Modifier and Type | Field and Description |
|---|---|
protected String |
jsonParams |
protected String |
psql |
protected List<net.idea.modbcum.i.query.QueryParam> |
queryParams |
| Constructor and Description |
|---|
SQLFileQueryParams(File sqlFile,
com.fasterxml.jackson.databind.node.ObjectNode params) |
SQLFileQueryParams(String resourceName,
com.fasterxml.jackson.databind.node.ObjectNode params) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJsonParams() |
List<net.idea.modbcum.i.query.QueryParam> |
getParameters() |
String |
getSQL() |
protected String |
loadSQL(InputStream stream) |
protected List<net.idea.modbcum.i.query.QueryParam> |
parseParams(com.fasterxml.jackson.databind.node.ObjectNode params) |
void |
setValue(com.fasterxml.jackson.databind.node.ObjectNode params) |
getObject, loadSQL, loadSQL, setHeadergetCategory, getCondition, getFieldname, getId, getKey, getName, getPage, getPageSize, getValue, isSelected, setCondition, setFieldname, setId, setName, setPage, setPageSize, setSelected, supportsPaging, test, toStringprotected List<net.idea.modbcum.i.query.QueryParam> queryParams
protected String psql
protected String jsonParams
public SQLFileQueryParams(File sqlFile, com.fasterxml.jackson.databind.node.ObjectNode params) throws IOException
IOExceptionpublic SQLFileQueryParams(String resourceName, com.fasterxml.jackson.databind.node.ObjectNode params) throws IOException
IOExceptionpublic String getJsonParams()
getJsonParams in interface net.idea.modbcum.i.IJSONQueryParamspublic void setValue(com.fasterxml.jackson.databind.node.ObjectNode params)
setValue in interface net.idea.modbcum.i.IParameterizedQuery<net.idea.modbcum.i.bucket.Bucket,com.fasterxml.jackson.databind.node.ObjectNode,net.idea.modbcum.q.conditions.EQCondition>setValue in class net.idea.modbcum.q.query.AbstractQuery<net.idea.modbcum.i.bucket.Bucket,com.fasterxml.jackson.databind.node.ObjectNode,net.idea.modbcum.q.conditions.EQCondition,net.idea.modbcum.i.bucket.Bucket>protected List<net.idea.modbcum.i.query.QueryParam> parseParams(com.fasterxml.jackson.databind.node.ObjectNode params)
protected String loadSQL(InputStream stream) throws IOException
loadSQL in class net.idea.modbcum.q.query.SQLFileQuery<com.fasterxml.jackson.databind.node.ObjectNode>IOExceptionpublic String getSQL() throws net.idea.modbcum.i.exceptions.AmbitException
getSQL in interface net.idea.modbcum.i.IQueryObject<net.idea.modbcum.i.bucket.Bucket>getSQL in class net.idea.modbcum.q.query.SQLFileQuery<com.fasterxml.jackson.databind.node.ObjectNode>net.idea.modbcum.i.exceptions.AmbitExceptionpublic List<net.idea.modbcum.i.query.QueryParam> getParameters() throws net.idea.modbcum.i.exceptions.AmbitException
getParameters in interface net.idea.modbcum.i.IQueryObject<net.idea.modbcum.i.bucket.Bucket>getParameters in class net.idea.modbcum.q.query.BucketQuery<com.fasterxml.jackson.databind.node.ObjectNode>net.idea.modbcum.i.exceptions.AmbitExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.