public static class PartitionFilter.PartitionsSetFilter extends Object implements PartitionFilter
PartitionFilter.PartitionRangeFilter, PartitionFilter.PartitionsSetFilter, PartitionFilter.UniquePartitionFilter
Constructor and Description |
---|
PartitionsSetFilter(Set<Integer> partitionIds) |
Modifier and Type | Method and Description |
---|---|
boolean |
isPartitionAllowed(int partition)
Used to filter partitions based on a certain criteria, for example, a set of partition ids.
|
public boolean isPartitionAllowed(int partition)
PartitionFilter
isPartitionAllowed
in interface PartitionFilter