private ByteBuffer toColumnName ( Object obj ) { SimpleCompositeBuilder composite = new SimpleCompositeBuilder ( bufferSize , Equality . EQUAL ) ; // Iterate through each component and add to a CompositeType structure for ( FieldMapper < ? > mapper : components ) { try { composite . addWithoutControl ( mapper . toByteBuffer ( obj ) ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } } return composite . get ( ) ; }
Return the column name byte buffer for this entity