Class ExpressionSet<E extends Expression>
java.lang.Object
org.elasticsearch.xpack.esql.core.expression.ExpressionSet<E>
- Type Parameters:
E- expression type
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Set<E>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends E> c) voidclear()booleanbooleancontainsAll(Collection<?> c) static <T extends Expression>
ExpressionSet<T> emptySet()get(Expression e) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Field Details
-
EMPTY
-
-
Constructor Details
-
ExpressionSet
public ExpressionSet() -
ExpressionSet
-
-
Method Details
-
emptySet
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<E extends Expression>- Specified by:
sizein interfaceSet<E extends Expression>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<E extends Expression>- Specified by:
isEmptyin interfaceSet<E extends Expression>
-
contains
- Specified by:
containsin interfaceCollection<E extends Expression>- Specified by:
containsin interfaceSet<E extends Expression>
-
containsAll
- Specified by:
containsAllin interfaceCollection<E extends Expression>- Specified by:
containsAllin interfaceSet<E extends Expression>
-
iterator
- Specified by:
iteratorin interfaceCollection<E extends Expression>- Specified by:
iteratorin interfaceIterable<E extends Expression>- Specified by:
iteratorin interfaceSet<E extends Expression>
-
add
- Specified by:
addin interfaceCollection<E extends Expression>- Specified by:
addin interfaceSet<E extends Expression>
-
addAll
- Specified by:
addAllin interfaceCollection<E extends Expression>- Specified by:
addAllin interfaceSet<E extends Expression>
-
retainAll
- Specified by:
retainAllin interfaceCollection<E extends Expression>- Specified by:
retainAllin interfaceSet<E extends Expression>
-
remove
- Specified by:
removein interfaceCollection<E extends Expression>- Specified by:
removein interfaceSet<E extends Expression>
-
removeAll
- Specified by:
removeAllin interfaceCollection<E extends Expression>- Specified by:
removeAllin interfaceSet<E extends Expression>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<E extends Expression>- Specified by:
clearin interfaceSet<E extends Expression>
-
toArray
- Specified by:
toArrayin interfaceCollection<E extends Expression>- Specified by:
toArrayin interfaceSet<E extends Expression>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<E extends Expression>- Specified by:
toArrayin interfaceSet<E extends Expression>
-
toString
-