Interface PluginFilterService


public interface PluginFilterService
Service to determine Plugin filters to be used during read. The plugin filters determined are combined using AND. The filter is expected to be deterministic (for reattempts) and agnostic of the application order which is non-deterministic.
  • Method Summary

    Modifier and Type
    Method
    Description
    getFilter(String filePath, Configuration config)
    Determine the filter for a given read path.
  • Method Details

    • getFilter

      BatchFilter getFilter(String filePath, Configuration config)
      Determine the filter for a given read path. The determination is based on the path and the read configuration, this should be carefully considered when using this in queries that might refer to the same table/files with multiple aliases.
      Parameters:
      filePath - The fully qualified file path that is being read
      config - The read configuration is supplied as input. This should not be changed.
      Returns:
      The plugin filter determined for the given filePath