Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellis committed Nov 22, 2024
1 parent 4b2bf20 commit eadc3ab
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/java/org/apache/cassandra/cql3/selection/Selection.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,24 @@ public abstract class Selection
private static final Predicate<ColumnMetadata> STATIC_COLUMN_FILTER = (column) -> column.isStatic();

private final TableMetadata table;

// Full list of columns needed for processing the query, including selected columns, ordering columns,
// and columns needed for restrictions. Wildcard columns are fully materialized here.
//
// This also includes synthetic columns, because unlike all the other not-physical-columns selectables, they are
// computed on the replica instead of the coordinator and so, like physical columns, they need to be sent back
// as part of the result.
private final List<ColumnMetadata> columns;

// maps ColumnSpecifications (columns, function calls, aliases) to the columns backing them
private final SelectionColumnMapping columnMapping;

// metadata matching the ColumnSpcifications
protected final ResultSet.ResultMetadata metadata;

// creates a ColumnFilter that breaks columns into `queried` and `fetched`
protected final ColumnFilterFactory columnFilterFactory;

protected final boolean isJson;

// Columns used to order the result set for JSON queries with post ordering.
Expand Down

0 comments on commit eadc3ab

Please sign in to comment.