question: protected LogicalTable generateTable ( String tableName , Granularity granularity , LogicalTableDictionary tableDictionary ) throws BadApiRequestException { LogicalTable generated = tableDictionary . get ( new TableIdentifier ( tableName , granularity ) ) ; if ( generated == null ) { String msg = TABLE_GRANULARITY_MISMATCH . logFormat ( granularity , tableName ) ; LOG . error ( msg ) ; throw new BadApiRequestException ( msg ) ; } LOG . trace ( "Generated logical table: {} with granularity {}" , generated , granularity ) ; return generated ; }
target:  Extracts a specific logical table object given a valid table name and a valid granularity.