Class CollatedFilter

Object
org.apache.spark.sql.sources.Filter
org.apache.spark.sql.sources.CollatedFilter
Direct Known Subclasses:
CollatedEqualNullSafe, CollatedEqualTo, CollatedGreaterThan, CollatedGreaterThanOrEqual, CollatedIn, CollatedLessThan, CollatedLessThanOrEqual, CollatedStringContains, CollatedStringEndsWith, CollatedStringStartsWith

public abstract class CollatedFilter extends Filter
Base class for collation aware string filters.
  • Constructor Details

    • CollatedFilter

      public CollatedFilter()
  • Method Details

    • correspondingFilter

      public abstract Filter correspondingFilter()
      The corresponding non-collation aware filter.
    • dataType

      public abstract DataType dataType()
    • references

      public String[] references()
      Description copied from class: Filter
      List of columns that are referenced by this filter.

      Note that, each element in references represents a column. The column name follows ANSI SQL names and identifiers: dots are used as separators for nested columns, name will be quoted if it contains special chars.

      Specified by:
      references in class Filter
      Returns:
      (undocumented)
    • toV2

      public Predicate toV2()