class InventoryEstimateDaoESImp extends BaseDaoESImp implements InventoryEstimateDao {

    @Override
    public Impression getPredictions_SIGMA_TCs_PI_BNs(Day day, List<TargetingChannel> tcs, List<TargetingChannel> bns) throws IOException
    {
        /**
         * If tcs size is zero the return is zero
         */
        if (CommonUtil.isEmpty(tcs))
        {
            return new Impression();
        }

        BoolQueryBuilder bnsq = createAndQueryForSingleValue(bns);
        BoolQueryBuilder tcsbq = createOrQueryForSingleValue(tcs);
        bnsq = bnsq.must(tcsbq);

        return getPredictionsForQuery(day, bnsq);
    }

    public  InventoryEstimateDaoESImp();
    public  InventoryEstimateDaoESImp(Properties properties);

}