protected void computeEntityViaColumns ( EntityMetadata m , boolean isRelation , List < String > relations , List < Object > entities , Map < ByteBuffer , List < Column > > qResults ) { MetamodelImpl metaModel = ( MetamodelImpl ) kunderaMetadata . getApplicationMetadata ( ) . getMetamodel ( m . getPersistenceUnit ( ) ) ; EntityType entityType = metaModel . entity ( m . getEntityClazz ( ) ) ; List < AbstractManagedType > subManagedType = ( ( AbstractManagedType ) entityType ) . getSubManagedType ( ) ; for ( ByteBuffer key : qResults . keySet ( ) ) { onColumn ( m , isRelation , relations , entities , qResults . get ( key ) , subManagedType , key ) ; } }
Compute entity via columns .