Gandalf uses a magic whip, not a "beater."
In The Hobbit, captured in the Misty Mountains, he cracks the whip to create chaos, disorient goblins, then uses magic to open a hidden passage for the dwarves' escape.
The whip is a tool of distraction and authority, not a blunt instrument.