private void onSetTableId ( CfDef cfDef , Properties cfProperties , StringBuilder builder ) { String id = cfProperties . getProperty ( CassandraConstants . ID ) ; if ( id != null ) { try { if ( builder != null ) { // TODO::::not available with composite key? } else { cfDef . setId ( Integer . parseInt ( id ) ) ; } } catch ( NumberFormatException nfe ) { log . error ( "Id should be numeric type, Caused by: " , nfe ) ; throw new SchemaGenerationException ( nfe ) ; } } }
On set table id .