Class SqlLikeChainChecker


  • public class SqlLikeChainChecker
    extends Object
    String Like util: Matches a chained sequence of checkers.

    This has 4 chain scenarios cases in it (has no escaping or single char wildcards) 1) anchored left "abc%def%" 2) anchored right "%abc%def" 3) unanchored "%abc%def%" 4) anchored on both sides "abc%def"

    • Constructor Detail

      • SqlLikeChainChecker

        public SqlLikeChainChecker​(String pattern)
    • Method Detail

      • check

        public boolean check​(org.apache.flink.table.data.binary.BinaryStringData str)