ColumnSet
ColumnSet
Entity that can be resolved into a list of columns. Just like SingleColumn, this is a ColumnsResolver.
See also
Inheritors
Functions
Returns a new ColumnSet containing all columns after the first column that matches the given predicate.
Returns a new ColumnSet containing all columns before the first column that satisfies the given predicate.
If this is a SingleColumn containing a single ColumnGroup (like SingleColumn<AnyRow> or ColumnsSelectionDsl), it returns a (transformable) ColumnSet containing the children of this ColumnGroup, else it simply returns a (transformable) ColumnSet from this (like when this is a ColumnSet).
Returns a column set containing all columns from the internal column set that satisfy the given predicate.
Returns a ColumnSet containing all columns up to (and including) the first column that satisfies the given predicate.
Returns all columns inside this ColumnsResolver at any depth if they satisfy the given predicate.
If this ColumnsResolver is a SingleColumn, it returns a new ColumnSet containing the columns inside of this SingleColumn that match the given predicate.
If this ColumnsResolver is a SingleColumn, it returns a new ColumnSet containing the columns inside of this SingleColumn that match the given filter and are the given type.
Returns a ColumnSet containing the column groups that satisfy the given filter.
Returns a TransformableColumnSet containing the columns of given kind(s) that satisfy the given filter.
Removes the columns in the "other" ColumnsResolver from the current ColumnSet while keeping the structure intact. Returns a new ColumnSet with the remaining columns.
Flattens a ColumnsResolver recursively.
Returns a TransformableColumnSet containing the frame columns that satisfy the given filter.
Resolves this ColumnsResolver as a List<ColumnWithPath<C>>. In many cases this function transforms a parent ColumnsResolver to reach the current ColumnsResolver result.
Simplifies structure by removing columns that are already present in column groups in this.
Converts this ColumnsResolver to a SingleColumn. resolveSingle will return the single column of this if there is only one, else it will throw an exception: In case of an empty ColumnsResolver, a NoSuchElementException will be thrown. In case of more than one column, an IllegalArgumentException will be thrown. If the result is used as a ColumnSet, null will be converted to an empty list.
Converts this ColumnsResolver to a SingleColumn. resolveSingle will return the single column of this if there is only one, else it will return null. If the result used as a ColumnSet, null will be converted to an empty list.
Applies a transformation on this by converting its List<ColumnWithPath<A>] to List<ColumnWithPath<B>] using converter.
Applies a transformation on this by converting its List<ColumnWithPath<A>] to List<ColumnWithPath<B>] using converter, but also providing the ColumnResolutionContext to the converter.
Returns a TransformableColumnSet containing the value columns that satisfy the given filter.