reformat source code
according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
@ -20,7 +20,7 @@ namespace oceanbase {
|
||||
namespace share {
|
||||
|
||||
class ObFakePartitionKey {
|
||||
public:
|
||||
public:
|
||||
uint64_t table_id_;
|
||||
int64_t partition_id_;
|
||||
inline int64_t hash() const
|
||||
@ -34,7 +34,7 @@ class ObFakePartitionKey {
|
||||
};
|
||||
|
||||
class ObFakePartitionLocationCache : public ObPartitionLocationCache {
|
||||
public:
|
||||
public:
|
||||
ObFakePartitionLocationCache();
|
||||
virtual ~ObFakePartitionLocationCache();
|
||||
|
||||
@ -44,7 +44,7 @@ class ObFakePartitionLocationCache : public ObPartitionLocationCache {
|
||||
|
||||
int add_location(ObFakePartitionKey key, ObPartitionLocation location);
|
||||
|
||||
private:
|
||||
private:
|
||||
common::hash::ObHashMap<ObFakePartitionKey, ObPartitionLocation> partition_loc_map_;
|
||||
DISALLOW_COPY_AND_ASSIGN(ObFakePartitionLocationCache);
|
||||
};
|
||||
|
||||
@ -21,7 +21,7 @@ namespace oceanbase {
|
||||
|
||||
namespace sql {
|
||||
class ObFakeTableScanIterator : public common::ObNewRowIterator {
|
||||
public:
|
||||
public:
|
||||
ObFakeTableScanIterator()
|
||||
{}
|
||||
virtual ~ObFakeTableScanIterator()
|
||||
@ -40,18 +40,18 @@ class ObFakeTableScanIterator : public common::ObNewRowIterator {
|
||||
col_num_ = col_num;
|
||||
}
|
||||
|
||||
private:
|
||||
private:
|
||||
common::ObRowStore::Iterator row_store_it_;
|
||||
int64_t col_num_;
|
||||
|
||||
private:
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObFakeTableScanIterator);
|
||||
};
|
||||
} // namespace sql
|
||||
|
||||
namespace storage {
|
||||
class ObFakePartitionService : public ObPartitionService {
|
||||
public:
|
||||
public:
|
||||
ObFakePartitionService();
|
||||
virtual ~ObFakePartitionService();
|
||||
|
||||
@ -182,11 +182,11 @@ class ObFakePartitionService : public ObPartitionService {
|
||||
return OB_ERROR;
|
||||
}
|
||||
|
||||
private:
|
||||
private:
|
||||
common::ObScanner scanner_;
|
||||
int64_t col_num_;
|
||||
|
||||
private:
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObFakePartitionService);
|
||||
};
|
||||
|
||||
|
||||
@ -199,9 +199,9 @@ int fill_row(ObNewRow& row, ...)
|
||||
}
|
||||
static ObArenaAllocator alloc_;
|
||||
class ObFakeTable : public ObNoChildrenPhyOperator {
|
||||
private:
|
||||
private:
|
||||
class ObFakeTableCtx : public ObPhyOperatorCtx {
|
||||
public:
|
||||
public:
|
||||
ObFakeTableCtx(ObExecContext& ctx) : ObPhyOperatorCtx(ctx)
|
||||
{}
|
||||
int init(int64_t projector_size)
|
||||
@ -226,12 +226,12 @@ class ObFakeTable : public ObNoChildrenPhyOperator {
|
||||
int64_t projector_size_;
|
||||
int32_t* projector_;
|
||||
|
||||
private:
|
||||
private:
|
||||
ObRowStore::Iterator row_store_it_;
|
||||
friend class ObFakeTable;
|
||||
};
|
||||
|
||||
public:
|
||||
public:
|
||||
ObFakeTable(ObIAllocator& alloc) : ObNoChildrenPhyOperator(alloc), no_rescan_(false)
|
||||
{}
|
||||
|
||||
@ -297,7 +297,7 @@ class ObFakeTable : public ObNoChildrenPhyOperator {
|
||||
return OB_SUCCESS;
|
||||
}
|
||||
|
||||
private:
|
||||
private:
|
||||
/**
|
||||
* @brief create operator context, only child operator can know it's specific operator type,
|
||||
* so must be overwrited by child operator,
|
||||
@ -350,7 +350,7 @@ class ObFakeTable : public ObNoChildrenPhyOperator {
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(ObFakeTable);
|
||||
|
||||
private:
|
||||
private:
|
||||
ObRowStore row_store_;
|
||||
bool no_rescan_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user