Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions cpp/src/common/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
#include "utils/db_utils.h"

namespace common {
enum ConfigLevel {
INIT, // Unchangeable, initialized during database init
RESTART, // Can be changed, but the database must be restarted to take
// effect
USERSET // Session level update
};

typedef struct ConfigValue {
uint32_t
Expand Down
15 changes: 0 additions & 15 deletions cpp/src/common/tsfile_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ extern const char ONLY_ONE_PAGE_CHUNK_HEADER_MARKER;
extern const char SEPARATOR_MARKER;
extern const char OPERATION_INDEX_RANGE;

typedef int64_t TsFileID;

// TODO review the String.len_ used

// Note, in tsfile_io_writer, we just writer fields of PageHeader
Expand Down Expand Up @@ -340,7 +338,6 @@ class TimeseriesIndex : public ITimeseriesIndex {
: timeseries_meta_type_((char)255),
chunk_meta_list_data_size_(0),
measurement_name_(),
ts_id_(),
data_type_(common::INVALID_DATATYPE),
statistic_(nullptr),
statistic_from_pa_(false),
Expand All @@ -359,7 +356,6 @@ class TimeseriesIndex : public ITimeseriesIndex {
timeseries_meta_type_ = 0;
chunk_meta_list_data_size_ = 0;
measurement_name_.reset();
ts_id_.reset();
data_type_ = common::VECTOR;
chunk_meta_list_serialized_buf_.reset();
if (statistic_ != nullptr && !statistic_from_pa_) {
Expand Down Expand Up @@ -405,8 +401,6 @@ class TimeseriesIndex : public ITimeseriesIndex {
return common::E_OK;
}
virtual Statistic* get_statistic() const { return statistic_; }
common::TsID get_ts_id() const { return ts_id_; }

FORCE_INLINE void finish() {
chunk_meta_list_data_size_ =
chunk_meta_list_serialized_buf_.total_size();
Expand Down Expand Up @@ -480,7 +474,6 @@ class TimeseriesIndex : public ITimeseriesIndex {
int ret = common::E_OK;
timeseries_meta_type_ = that.timeseries_meta_type_;
chunk_meta_list_data_size_ = that.chunk_meta_list_data_size_;
ts_id_ = that.ts_id_;
data_type_ = that.data_type_;

statistic_ = StatisticFactory::alloc_statistic_with_pa(data_type_, pa);
Expand Down Expand Up @@ -523,7 +516,6 @@ class TimeseriesIndex : public ITimeseriesIndex {
os << "{meta_type=" << (int)tsi.timeseries_meta_type_
<< ", chunk_meta_list_data_size=" << tsi.chunk_meta_list_data_size_
<< ", measurement_name=" << tsi.measurement_name_
<< ", ts_id=" << tsi.ts_id_.to_string()
<< ", data_type=" << common::get_data_type_name(tsi.data_type_)
<< ", statistic=" << tsi.statistic_->to_string();

Expand Down Expand Up @@ -556,7 +548,6 @@ class TimeseriesIndex : public ITimeseriesIndex {

// std::string measurement_name_;
common::String measurement_name_;
common::TsID ts_id_;
common::TSDataType data_type_;

/*
Expand Down Expand Up @@ -1134,11 +1125,5 @@ struct TsFileMeta {
#endif
};

// Timeseries ID and its [start_time, end_time] in a tsfile
struct TimeseriesTimeIndexEntry {
common::TsID ts_id_;
TimeRange time_range_;
};

} // end namespace storage
#endif // COMMON_TSFILE_COMMON_H
139 changes: 0 additions & 139 deletions cpp/src/common/tsfile_mgr.cc

This file was deleted.

95 changes: 0 additions & 95 deletions cpp/src/common/tsfile_mgr.h

This file was deleted.

Loading
Loading