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 TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends DataFile> collection) void
clear()
boolean
boolean
containsAll
(Collection<?> collection) static DataFileSet
create()
boolean
int
hashCode()
boolean
isEmpty()
iterator()
static DataFileSet
boolean
boolean
removeAll
(Collection<?> collection) boolean
retainAll
(Collection<?> collection) int
size()
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, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
spliterator
-
Method Details
-
create
-
of
-
wrapper
-
wrap
-
elementClass
-
size
public int size()- Specified by:
size
in interfaceCollection<T>
- Specified by:
size
in interfaceSet<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection<T>
- Specified by:
isEmpty
in interfaceSet<T>
-
contains
- Specified by:
contains
in interfaceCollection<T>
- Specified by:
contains
in interfaceSet<T>
-
iterator
-
toArray
- Specified by:
toArray
in interfaceCollection<T>
- Specified by:
toArray
in interfaceSet<T>
-
toArray
public <X> X[] toArray(X[] destArray) - Specified by:
toArray
in interfaceCollection<T>
- Specified by:
toArray
in interfaceSet<T>
-
add
- Specified by:
add
in interfaceCollection<T>
- Specified by:
add
in interfaceSet<T>
-
remove
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceSet<T>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<T>
- Specified by:
containsAll
in interfaceSet<T>
-
addAll
- Specified by:
addAll
in interfaceCollection<T>
- Specified by:
addAll
in interfaceSet<T>
-
retainAll
- Specified by:
retainAll
in interfaceCollection<T>
- Specified by:
retainAll
in interfaceSet<T>
-
removeAll
- Specified by:
removeAll
in interfaceCollection<T>
- Specified by:
removeAll
in interfaceSet<T>
-
clear
public void clear()- Specified by:
clear
in interfaceCollection<T>
- Specified by:
clear
in interfaceSet<T>
-
equals
-
hashCode
public int hashCode() -
toString
-