Skip to content

Commit

Permalink
Remove deprecated Constraint constructors
Browse files Browse the repository at this point in the history
They were deprecated 17 months ago.
  • Loading branch information
findepi committed Oct 9, 2021
1 parent df8a9ed commit c8cfaa8
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,11 @@ public Constraint(TupleDomain<ColumnHandle> summary)
this(summary, Optional.empty(), Optional.empty());
}

/**
* @deprecated Use {@link #Constraint(TupleDomain, Predicate, Set)} instead.
*/
@Deprecated
public Constraint(TupleDomain<ColumnHandle> summary, Predicate<Map<ColumnHandle, NullableValue>> predicate)
{
this(summary, Optional.of(predicate), Optional.empty());
}

public Constraint(TupleDomain<ColumnHandle> summary, Predicate<Map<ColumnHandle, NullableValue>> predicate, Set<ColumnHandle> predicateColumns)
{
this(summary, Optional.of(predicate), Optional.of(predicateColumns));
}

/**
* @deprecated Use {@link #Constraint(TupleDomain, Optional, Optional)} instead.
*/
@Deprecated
public Constraint(TupleDomain<ColumnHandle> summary, Optional<Predicate<Map<ColumnHandle, NullableValue>>> predicate)
{
this(summary, predicate, Optional.empty());
}

public Constraint(TupleDomain<ColumnHandle> summary, Optional<Predicate<Map<ColumnHandle, NullableValue>>> predicate, Optional<Set<ColumnHandle>> predicateColumns)
{
this.summary = requireNonNull(summary, "summary is null");
Expand Down

0 comments on commit c8cfaa8

Please sign in to comment.