@@ -27,18 +27,18 @@ class ColumnDate : public Column {
27
27
// / Do append data as is -- number of day in Unix epoch, no conversions performed.
28
28
void AppendRaw (uint16_t value);
29
29
uint16_t RawAt (size_t n) const ;
30
+ // / Get Raw Vector Contents
31
+ std::vector<uint16_t >& GetWritableData ();
30
32
33
+ public:
31
34
// / Appends content of given column to the end of current one.
32
35
void Append (ColumnRef column) override ;
33
36
34
- // / Get Raw Vector Contents
35
- std::vector<uint16_t >& GetWritableData ();
36
-
37
37
// / Increase the capacity of the column for large block insertion.
38
38
void Reserve (size_t new_cap) override ;
39
39
40
40
// / Returns the capacity of the column
41
- size_t Capacity () const ;
41
+ size_t Capacity () const override ;
42
42
43
43
// / Loads column data from input stream.
44
44
bool LoadBody (InputStream* input, size_t rows) override ;
@@ -89,15 +89,13 @@ class ColumnDate32 : public Column {
89
89
// / Get Raw Vector Contents
90
90
std::vector<int32_t >& GetWritableData ();
91
91
92
- // / Returns the capacity of the column
93
- size_t Capacity () const ;
94
-
95
92
public:
96
- // / Increase the capacity of the column for large block insertion.
97
- void Reserve (size_t new_cap) override ;
98
-
99
93
// / Appends content of given column to the end of current one.
100
94
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 ;
101
99
102
100
// / Loads column data from input stream.
103
101
bool LoadBody (InputStream* input, size_t rows) override ;
@@ -151,15 +149,13 @@ class ColumnDateTime : public Column {
151
149
// / Get Raw Vector Contents
152
150
std::vector<uint32_t >& GetWritableData ();
153
151
154
- // / Returns the capacity of the column
155
- size_t Capacity () const ;
156
-
157
152
public:
158
- // / Increase the capacity of the column for large block insertion.
159
- void Reserve (size_t new_cap) override ;
160
-
161
153
// / Appends content of given column to the end of current one.
162
154
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 ;
163
159
164
160
// / Loads column data from input stream.
165
161
bool LoadBody (InputStream* input, size_t rows) override ;
@@ -209,11 +205,11 @@ class ColumnDateTime64 : public Column {
209
205
std::string Timezone () const ;
210
206
211
207
public:
212
- // / Increase the capacity of the column for large block insertion.
213
- void Reserve (size_t new_cap) override ;
214
-
215
208
// / Appends content of given column to the end of current one.
216
209
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 ;
217
213
218
214
// / Loads column data from input stream.
219
215
bool LoadBody (InputStream* input, size_t rows) override ;
0 commit comments