Package org.apache.iceberg.util
Class DeleteFileSet
- java.lang.Object
-
- org.apache.iceberg.util.DeleteFileSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<DeleteFile>
,java.util.Collection<DeleteFile>
,java.util.Set<DeleteFile>
public class DeleteFileSet extends java.lang.Object
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(T obj)
boolean
addAll(java.util.Collection<? extends T> collection)
void
clear()
boolean
contains(java.lang.Object obj)
boolean
containsAll(java.util.Collection<?> collection)
static DeleteFileSet
create()
protected java.lang.Class<DeleteFile>
elementClass()
boolean
equals(java.lang.Object other)
int
hashCode()
boolean
isEmpty()
java.util.Iterator<T>
iterator()
static DeleteFileSet
of(java.lang.Iterable<? extends DeleteFile> iterable)
boolean
remove(java.lang.Object obj)
boolean
removeAll(java.util.Collection<?> collection)
boolean
retainAll(java.util.Collection<?> collection)
int
size()
java.lang.Object[]
toArray()
<X> X[]
toArray(X[] destArray)
java.lang.String
toString()
protected org.apache.iceberg.util.WrapperSet.Wrapper<DeleteFile>
wrap(DeleteFile deleteFile)
protected org.apache.iceberg.util.WrapperSet.Wrapper<DeleteFile>
wrapper()
-
-
-
Method Detail
-
create
public static DeleteFileSet create()
-
of
public static DeleteFileSet of(java.lang.Iterable<? extends DeleteFile> iterable)
-
wrapper
protected org.apache.iceberg.util.WrapperSet.Wrapper<DeleteFile> wrapper()
-
wrap
protected org.apache.iceberg.util.WrapperSet.Wrapper<DeleteFile> wrap(DeleteFile deleteFile)
-
elementClass
protected java.lang.Class<DeleteFile> elementClass()
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<T>
- Specified by:
size
in interfacejava.util.Set<T>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacejava.util.Collection<T>
- Specified by:
isEmpty
in interfacejava.util.Set<T>
-
contains
public boolean contains(java.lang.Object obj)
- Specified by:
contains
in interfacejava.util.Collection<T>
- Specified by:
contains
in interfacejava.util.Set<T>
-
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<T>
- Specified by:
iterator
in interfacejava.lang.Iterable<T>
- Specified by:
iterator
in interfacejava.util.Set<T>
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interfacejava.util.Collection<T>
- Specified by:
toArray
in interfacejava.util.Set<T>
-
toArray
public <X> X[] toArray(X[] destArray)
- Specified by:
toArray
in interfacejava.util.Collection<T>
- Specified by:
toArray
in interfacejava.util.Set<T>
-
add
public boolean add(T obj)
- Specified by:
add
in interfacejava.util.Collection<T>
- Specified by:
add
in interfacejava.util.Set<T>
-
remove
public boolean remove(java.lang.Object obj)
- Specified by:
remove
in interfacejava.util.Collection<T>
- Specified by:
remove
in interfacejava.util.Set<T>
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
- Specified by:
containsAll
in interfacejava.util.Collection<T>
- Specified by:
containsAll
in interfacejava.util.Set<T>
-
addAll
public boolean addAll(java.util.Collection<? extends T> collection)
- Specified by:
addAll
in interfacejava.util.Collection<T>
- Specified by:
addAll
in interfacejava.util.Set<T>
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
- Specified by:
retainAll
in interfacejava.util.Collection<T>
- Specified by:
retainAll
in interfacejava.util.Set<T>
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
- Specified by:
removeAll
in interfacejava.util.Collection<T>
- Specified by:
removeAll
in interfacejava.util.Set<T>
-
clear
public void clear()
- Specified by:
clear
in interfacejava.util.Collection<T>
- Specified by:
clear
in interfacejava.util.Set<T>
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interfacejava.util.Collection<T>
- Specified by:
equals
in interfacejava.util.Set<T>
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Collection<T>
- Specified by:
hashCode
in interfacejava.util.Set<T>
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-