class DiffGeneratedPartitionPredicate implements PartitionPredicate {

  @Override
  public short getPartitionPredicateLimit() {
    if (Strings.isNullOrEmpty(getPartitionPredicate())) {
      // if the generated partition predicate has no meaningful value cut the limit to 0 as no partitions should be
      // fetched.
      return 0;
    }
    return partitionLimit;
  }

  public  DiffGeneratedPartitionPredicate(
      @Nonnull HiveEndpoint source,
      @Nonnull HiveEndpoint replica,
      TableReplication tableReplication,
      Function<Path, String> checksumFunction);

}