Package org.apache.iceberg.util
Class PartitionSet
- All Implemented Interfaces:
- Iterable<Pair<Integer,,- StructLike>> - Collection<Pair<Integer,,- StructLike>> - Set<Pair<Integer,- StructLike>> 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanadd(int specId, StructLike struct) booleanadd(Pair<Integer, StructLike> pair) booleanaddAll(Collection<? extends Pair<Integer, StructLike>> pairs) voidclear()booleancontains(int specId, StructLike struct) booleanbooleancontainsAll(Collection<?> objects) static PartitionSetcreate(Map<Integer, PartitionSpec> specsById) booleanisEmpty()iterator()booleanremove(int specId, StructLike struct) booleanbooleanremoveAll(Collection<?> objects) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] destArray) toString()Methods inherited from class java.util.AbstractSetequals, hashCodeMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Setspliterator
- 
Method Details- 
create
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- sizein interface- Set<Pair<Integer,- StructLike>> 
- Specified by:
- sizein class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- isEmptyin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- isEmptyin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
contains- Specified by:
- containsin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- containsin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- containsin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
contains
- 
add- Specified by:
- addin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- addin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- addin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
add
- 
remove- Specified by:
- removein interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- removein interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- removein class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
remove
- 
iterator- Specified by:
- iteratorin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- iteratorin interface- Iterable<Pair<Integer,- StructLike>> 
- Specified by:
- iteratorin interface- Set<Pair<Integer,- StructLike>> 
- Specified by:
- iteratorin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
toArray- Specified by:
- toArrayin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- toArrayin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- toArrayin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
toArraypublic <T> T[] toArray(T[] destArray) - Specified by:
- toArrayin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- toArrayin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- toArrayin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
containsAll- Specified by:
- containsAllin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- containsAllin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- containsAllin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
addAll- Specified by:
- addAllin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- addAllin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- addAllin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
retainAll- Specified by:
- retainAllin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- retainAllin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- retainAllin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
removeAll- Specified by:
- removeAllin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- removeAllin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- removeAllin class- AbstractSet<Pair<Integer,- StructLike>> 
 
- 
toString- Overrides:
- toStringin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- Collection<Pair<Integer,- StructLike>> 
- Specified by:
- clearin interface- Set<Pair<Integer,- StructLike>> 
- Overrides:
- clearin class- AbstractCollection<Pair<Integer,- StructLike>> 
 
 
-