Althjough only one product seems to be on offer, the photos in the Amazon listing (click here) appear to show two variants - one with a pull switch and the other with a cable coming out of that hole with an in-line switch and a plug (in one illustration a 2-pin plug). All are 'wall lights'.... it looks like a wall light poorly converted using the hole in the base, for the flex, maybe originally for a pull switch
Kind Regards, John