Class SqlLikeChainChecker

java.lang.Object
org.apache.flink.table.runtime.functions.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 Details

    • SqlLikeChainChecker

      public SqlLikeChainChecker(String pattern)
  • Method Details

    • check

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