Package net.hydromatic.morel.foreign
Class RelList
- All Implemented Interfaces:
Iterable<Object>,Collection<Object>,List<Object>,SequencedCollection<Object>
A list whose contents are computed by evaluating a relational expression.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.apache.calcite.rel.RelNodestatic final StringValue printed instead of the contents of an external relation.Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods 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.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
RELATION
Value printed instead of the contents of an external relation.- See Also:
-
rel
public final org.apache.calcite.rel.RelNode rel -
supplier
-
-
Constructor Details
-
RelList
-
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<Object>- Specified by:
sizein interfaceList<Object>- Specified by:
sizein classAbstractCollection<Object>
-
toString
Returns "<list>". Does not obey the usual behavior for collections, concatenating the string representations of all elements, because some tables are huge.- Overrides:
toStringin classAbstractCollection<Object>- See Also:
-
asString
Returns the contents of this list as a string.This method does not override the
toString()method; if we did, debuggers would invoke it automatically, burning lots of CPU and memory.- See Also:
-