public < T > CFMappingDef < T > getCfMapDef ( String colFamName , boolean throwException ) { @ SuppressWarnings ( "unchecked" ) CFMappingDef < T > cfMapDef = ( CFMappingDef < T > ) cfMapByColFamName . get ( colFamName ) ; if ( null == cfMapDef && throwException ) { throw new HectorObjectMapperException ( "could not find property definitions for column family, " + colFamName + ", in class cache. This indicates the EntityManager was not initialized properly. If not using EntityManager the cache must be explicity initialized" ) ; } return cfMapDef ; }
Retrieve class mapping meta - data by ColumnFamily name .