populate cache with ` facts ' , which in our case are factpurchase objects . concode_field_sep String PARTITIONED_CACHE_NAME concode_elem_sep int idGen concode_elem_sep String REPLICATED_CACHE_NAME concode_elem_sep Map<Integer,DimProduct> dataProduct concode_elem_sep Map<Integer,DimStore> dataStore concode_field_sep void queryStorePurchases concode_elem_sep T rand concode_elem_sep void populateDimensions concode_elem_sep void queryProductPurchases concode_elem_sep void main concode_elem_sep void printQueryResults
void function ( Cache < Integer , FactPurchase > arg0 ) { for ( int loc0 = 0 ; loc0 < 100 ; loc0 ++ ) { int loc1 = idGen ++ ; DimStore loc2 = rand ( dataStore . values ( ) ) ; DimProduct loc3 = rand ( dataProduct . values ( ) ) ; arg0 . put ( loc1 , new FactPurchase ( loc1 , loc3 . getId ( ) , loc2 . getId ( ) , ( loc0 + 1 ) ) ) ; } }