public static short getShort ( Cursor cursor , String columnName ) { if ( cursor == null ) { return - 1 ; } return cursor . getShort ( cursor . getColumnIndex ( columnName ) ) ; }
Read the short data for the column .