@@ -27,18 +27,18 @@ class ColumnDate : public Column {
2727 // / Do append data as is -- number of day in Unix epoch, no conversions performed.
2828 void AppendRaw (uint16_t value);
2929 uint16_t RawAt (size_t n) const ;
30+ // / Get Raw Vector Contents
31+ std::vector<uint16_t >& GetWritableData ();
3032
33+ public:
3134 // / Appends content of given column to the end of current one.
3235 void Append (ColumnRef column) override ;
3336
34- // / Get Raw Vector Contents
35- std::vector<uint16_t >& GetWritableData ();
36-
3737 // / Increase the capacity of the column for large block insertion.
3838 void Reserve (size_t new_cap) override ;
3939
4040 // / Returns the capacity of the column
41- size_t Capacity () const ;
41+ size_t Capacity () const override ;
4242
4343 // / Loads column data from input stream.
4444 bool LoadBody (InputStream* input, size_t rows) override ;
@@ -89,15 +89,13 @@ class ColumnDate32 : public Column {
8989 // / Get Raw Vector Contents
9090 std::vector<int32_t >& GetWritableData ();
9191
92- // / Returns the capacity of the column
93- size_t Capacity () const ;
94-
9592public:
96- // / Increase the capacity of the column for large block insertion.
97- void Reserve (size_t new_cap) override ;
98-
9993 // / Appends content of given column to the end of current one.
10094 void Append (ColumnRef column) override ;
95+ // / Increase the capacity of the column for large block insertion.
96+ void Reserve (size_t new_cap) override ;
97+ // / Returns the capacity of the column
98+ size_t Capacity () const override ;
10199
102100 // / Loads column data from input stream.
103101 bool LoadBody (InputStream* input, size_t rows) override ;
@@ -151,15 +149,13 @@ class ColumnDateTime : public Column {
151149 // / Get Raw Vector Contents
152150 std::vector<uint32_t >& GetWritableData ();
153151
154- // / Returns the capacity of the column
155- size_t Capacity () const ;
156-
157152public:
158- // / Increase the capacity of the column for large block insertion.
159- void Reserve (size_t new_cap) override ;
160-
161153 // / Appends content of given column to the end of current one.
162154 void Append (ColumnRef column) override ;
155+ // / Increase the capacity of the column for large block insertion.
156+ void Reserve (size_t new_cap) override ;
157+ // / Returns the capacity of the column
158+ size_t Capacity () const override ;
163159
164160 // / Loads column data from input stream.
165161 bool LoadBody (InputStream* input, size_t rows) override ;
@@ -209,11 +205,11 @@ class ColumnDateTime64 : public Column {
209205 std::string Timezone () const ;
210206
211207public:
212- // / Increase the capacity of the column for large block insertion.
213- void Reserve (size_t new_cap) override ;
214-
215208 // / Appends content of given column to the end of current one.
216209 void Append (ColumnRef column) override ;
210+ // / Increase the capacity of the column for large block insertion.
211+ void Reserve (size_t new_cap) override ;
212+ size_t Capacity () const override ;
217213
218214 // / Loads column data from input stream.
219215 bool LoadBody (InputStream* input, size_t rows) override ;
0 commit comments