@ SuppressWarnings ( "unchecked" ) public < T > T get ( String column , Object defaultValue ) { Object result = getColumns ( ) . get ( column ) ; return ( T ) ( result != null ? result : defaultValue ) ; }
Get column of any mysql type . Returns defaultValue if null .