public List < ? > loadDataAndPopulateResults ( DataFrame dataFrame , EntityMetadata m , KunderaQuery kunderaQuery ) { if ( kunderaQuery != null && kunderaQuery . isAggregated ( ) ) { return dataFrame . collectAsList ( ) ; } // TODO: handle the case of specific field selection else { return populateEntityObjectsList ( dataFrame , m ) ; } }
Load data and populate results .