public T initInstance ( T instance , ColumnList < String > columns ) { for ( com . netflix . astyanax . model . Column < String > column : columns ) { Field field = fields . get ( column . getName ( ) ) ; if ( field != null ) { // otherwise it may be a column that was // removed, etc. Coercions . setFieldFromColumn ( instance , field , column ) ; } } return instance ; }
Populate the given instance with the values from the given column list