Class CdpQueryBuilder

java.lang.Object
com.sap.myaccountsapservices.utils.CdpQueryBuilder

public final class CdpQueryBuilder extends Object
This class @CdpQueryBuilder has methods which simplify the creation of query to interact with CDP system
  • 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 system
      columns - columns needed in the select query
      whereAttributes - attributes to be considered in querying
      pageableData - pagination data like top ,orderBy