@@ -34,10 +34,10 @@ class ColumnStatistics;
3434}
3535namespace common {
3636
37- // Describes the filtering and value extraction for a
38- // SelectiveColumnReader. This is owned by the TableScan Operator and
39- // is passed to SelectiveColumnReaders at construction. This is
40- // mutable by readers to reflect filter order and other adaptations.
37+ // / Describes the filtering and value extraction for a
38+ // / SelectiveColumnReader. This is owned by the TableScan Operator and
39+ // / is passed to SelectiveColumnReaders at construction. This is
40+ // / mutable by readers to reflect filter order and other adaptations.
4141class ScanSpec {
4242 public:
4343 enum class ColumnType : int8_t {
@@ -46,7 +46,7 @@ class ScanSpec {
4646 kComposite , // A struct with all children not read from file
4747 };
4848
49- // Convert ColumnType to its string name representation.
49+ // / Convert ColumnType to its string name representation.
5050 static std::string_view columnTypeString (ColumnType columnType);
5151
5252 static constexpr column_index_t kNoChannel = ~0 ;
@@ -56,9 +56,9 @@ class ScanSpec {
5656
5757 explicit ScanSpec (const std::string& name) : fieldName_(name) {}
5858
59- // Filter to apply. If 'this' corresponds to a struct/list/map, this
60- // can only be isNull or isNotNull, other filtering is given by
61- // 'children'.
59+ // / Filter to apply. If 'this' corresponds to a struct/list/map, this
60+ // / can only be isNull or isNotNull, other filtering is given by
61+ // / 'children'.
6262 const common::Filter* filter () const {
6363 return filterDisabled_ ? nullptr : filter_.get ();
6464 }
@@ -167,8 +167,8 @@ class ScanSpec {
167167 return projectOut_ || deltaUpdate_;
168168 }
169169
170- // Position in the RowVector returned by the top level scan. Applies
171- // only to children of the root struct where projectOut_ is true.
170+ // / Position in the RowVector returned by the top level scan. Applies
171+ // / only to children of the root struct where projectOut_ is true.
172172 column_index_t channel () const {
173173 return channel_;
174174 }
@@ -408,29 +408,29 @@ class ScanSpec {
408408 // Number of times read is called on the corresponding reader. This
409409 // is used for setup on first use and to produce a read sequence
410410 // number for LazyVectors.
411- uint64_t numReads_ = 0 ;
411+ uint64_t numReads_{ 0 } ;
412412
413413 // Ordinal position of 'this' in its containing spec. For a struct
414414 // member this is the position of the reader in the child
415415 // readers. If this describes an operation on an array element or a
416416 // map with numeric key, this is the subscript as defined for array
417417 // or map.
418- int64_t subscript_ = - 1 ;
418+ int64_t subscript_{- 1 } ;
419419 // Column name if this is a struct mamber. String key if this
420420 // describes an operation on a map value.
421421 std::string fieldName_;
422422 // Ordinal position of the extracted value in the containing
423423 // RowVector. Set only when this describes a struct member.
424- column_index_t channel_ = kNoChannel ;
424+ column_index_t channel_{ kNoChannel } ;
425425
426426 VectorPtr constantValue_;
427- bool projectOut_ = false ;
427+ bool projectOut_{ false } ;
428428
429- ColumnType columnType_ = ColumnType::kRegular ;
429+ ColumnType columnType_{ ColumnType::kRegular } ;
430430
431431 // True if a string dictionary or flat map in this field should be
432432 // returned as flat.
433- bool makeFlat_ = false ;
433+ bool makeFlat_{ false } ;
434434 std::shared_ptr<const common::Filter> filter_;
435435 bool filterDisabled_ = false ;
436436 dwio::common::DeltaColumnUpdater* deltaUpdate_ = nullptr ;
0 commit comments