Package org.apache.iceberg.util
Class DataFileSet
java.lang.Object
org.apache.iceberg.util.DataFileSet
- All Implemented Interfaces:
Serializable,Iterable<DataFile>,Collection<DataFile>,Set<DataFile>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends DataFile> collection) voidclear()booleanbooleancontainsAll(Collection<?> collection) static DataFileSetcreate()booleaninthashCode()booleanisEmpty()iterator()static DataFileSetbooleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) intsize()Object[]toArray()<X> X[]toArray(X[] destArray) toString()protected org.apache.iceberg.util.WrapperSet.Wrapper<DataFile> protected org.apache.iceberg.util.WrapperSet.Wrapper<DataFile> wrapper()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
spliterator
-
Method Details
-
create
-
of
-
wrapper
-
wrap
-
elementClass
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceSet<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>- Specified by:
isEmptyin interfaceSet<T>
-
contains
- Specified by:
containsin interfaceCollection<T>- Specified by:
containsin interfaceSet<T>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<T>- Specified by:
toArrayin interfaceSet<T>
-
toArray
public <X> X[] toArray(X[] destArray) - Specified by:
toArrayin interfaceCollection<T>- Specified by:
toArrayin interfaceSet<T>
-
add
- Specified by:
addin interfaceCollection<T>- Specified by:
addin interfaceSet<T>
-
remove
- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceSet<T>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceSet<T>
-
addAll
- Specified by:
addAllin interfaceCollection<T>- Specified by:
addAllin interfaceSet<T>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>- Specified by:
retainAllin interfaceSet<T>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>- Specified by:
removeAllin interfaceSet<T>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>- Specified by:
clearin interfaceSet<T>
-
equals
-
hashCode
public int hashCode() -
toString
-