public interface BrokerQueryConstructor
| Modifier and Type | Method and Description |
|---|---|
void |
addFromStatement(String fromStatement)
This adds the from part of the broker query.
|
void |
addOrderStatement(String orderStatement)
This adds the order part of the broker query.
|
void |
addQueryParameters(Map<String,Object> queryparameters)
This adds the query parameters needed for the broker query.
|
void |
addSelectStatement(String selectStatement)
This adds the select part of the broker query.
|
void |
addWhereStatement(String whereStatement)
This adds the condition part of the broker query.
|
String |
assembleQuery()
This assembles the full broker query.
|
Map<String,Object> |
getQueryParameters()
This returns the full map of the all the parameters needed in the broker query.
|
void addSelectStatement(String selectStatement)
selectStatement - The select part of the broker query to be addedvoid addFromStatement(String fromStatement)
fromStatement - The from part of the broker query to be addedvoid addWhereStatement(String whereStatement)
whereStatement - The condition to be added to the broker queryvoid addOrderStatement(String orderStatement)
orderStatement - The order part of the broker query to be addedvoid addQueryParameters(Map<String,Object> queryparameters)
queryparameters - The query parameters needed for the broker queryMap<String,Object> getQueryParameters()
String assembleQuery()
Copyright © 2017 SDL Group. All rights reserved.