[FLINK-24599][table] Replace static methods with convenient methods in LogicalType

Make the code of calling `hasRoot`/`hasFamily` less verbose by
replacing the static utility methods with member methods
`LogicalType#is()`.

This closes #17550.
1 file changed
tree: 5017f98c7da431c2d590c7a5497ce6ea98f3a948
  1. flink-connectors/
  2. .asf.yaml
  3. README.md
README.md

flink-connector-elasticsearch