class MySQLBinlogProtocolValueFactory {

    public static MySQLBinlogProtocolValue getBinlogProtocolValue(final MySQLColumnType columnType) {
        Preconditions.checkArgument(BINLOG_PROTOCOL_VALUES.containsKey(columnType), "Cannot find MySQL type '%s' in column type when process binlog protocol value", columnType);
        return BINLOG_PROTOCOL_VALUES.get(columnType);
    }

}