This is the shikomizue which is traditionally a blade inside a three foot staff. But it's not confined to that design either. It could be that this is actually the length of the stick and this exposes the blade. There's no set design pattern. It's just an example of a type of weapon that has some sort of hidden blade or implement inside it.
Just one example of what shikomizue is.