Class CdpQueryBuilder
java.lang.Object
com.sap.myaccountsapservices.utils.CdpQueryBuilder
This class @CdpQueryBuilder has methods which simplify the creation of query to interact with CDP system
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateQuery(String tableName, List<String> columns, Map<String, Object> whereAttributes, PageableData pageableData) Method which creates CDP query based on the inputs
-
Method Details
-
createQuery
public static String createQuery(String tableName, List<String> columns, Map<String, Object> whereAttributes, PageableData pageableData) Method which creates CDP query based on the inputs- Parameters:
tableName- Name of the table or activity in the CDP systemcolumns- columns needed in the select querywhereAttributes- attributes to be considered in queryingpageableData- pagination data like top ,orderBy
-