void function ( ) { if ( isUserItemFileSpecified ( ) ) { readUserItemFilterIfNeeded ( ) ; } if ( isUsersFileSpecified ( ) || isUserItemFilterSpecified ( ) ) { readUserIds ( ) ; } if ( isItemsFileSpecified ( ) || isUserItemFilterSpecified ( ) ) { readItemIds ( ) ; } }
reads user ids and item ids from files specified in a job configuration concode_field_sep Map<Long,FastIDSet> userItemFilter concode_elem_sep Logger log concode_elem_sep Pattern SEPARATOR concode_elem_sep FastIDSet emptySet concode_elem_sep String USER_ITEM_FILE concode_elem_sep String usersFile concode_elem_sep FastIDSet userIds concode_elem_sep FastIDSet itemIds concode_elem_sep String itemsFile concode_elem_sep String userItemFile concode_elem_sep Configuration conf concode_field_sep void readItemIds concode_elem_sep FastIDSet extractAllItemIdsFromUserItemFilter concode_elem_sep FastIDSet getItemIds concode_elem_sep InputStream openFile concode_elem_sep FastIDSet readIDList concode_elem_sep FastIDSet extractAllUserIdsFromUserItemFilter concode_elem_sep Map<Long,FastIDSet> readUserItemFilter concode_elem_sep FastIDSet getUserIds concode_elem_sep boolean isItemsFileSpecified concode_elem_sep boolean isUserItemFilterSpecified concode_elem_sep void addUserAndItemIdToUserItemFilter concode_elem_sep boolean isUsersFileSpecified concode_elem_sep boolean isUserItemFileSpecified concode_elem_sep FastIDSet getItemsToRecommendForUser concode_elem_sep void readUserItemFilterIfNeeded concode_elem_sep void readUserIds