Generated 2019-09-01 for OceanBasePro.
This commit is contained in:
@@ -185,6 +185,7 @@ namespace AlibabaCloud
|
||||
Resource resource;
|
||||
std::string instanceClass;
|
||||
std::string payType;
|
||||
int iops;
|
||||
bool dataDiskAutoScale;
|
||||
bool enableProxyService;
|
||||
std::string instanceName;
|
||||
|
||||
@@ -121,6 +121,7 @@ namespace AlibabaCloud
|
||||
std::string instanceClass;
|
||||
bool migratable;
|
||||
std::string payType;
|
||||
int iops;
|
||||
std::string instanceName;
|
||||
std::string series;
|
||||
DataDiskAutoScaleConfig dataDiskAutoScaleConfig;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setSortMetricKey(const std::string &sortMetricKey);
|
||||
std::string getReplicaType() const;
|
||||
void setReplicaType(const std::string &replicaType);
|
||||
std::string getMetricScope() const;
|
||||
void setMetricScope(const std::string &metricScope);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getLabels() const;
|
||||
@@ -58,6 +60,7 @@ private:
|
||||
std::string sortOrder_;
|
||||
std::string sortMetricKey_;
|
||||
std::string replicaType_;
|
||||
std::string metricScope_;
|
||||
std::string endTime_;
|
||||
std::string labels_;
|
||||
std::string instanceId_;
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace AlibabaCloud
|
||||
double sumDbTime;
|
||||
std::vector<DataItem::SqlListItem> sqlList;
|
||||
std::string userName;
|
||||
double lastExecutedTime;
|
||||
std::string lastExecutedTime;
|
||||
float avgRetryCount;
|
||||
double avgGetPlanTime;
|
||||
double cpuTime;
|
||||
|
||||
@@ -35,47 +35,47 @@ namespace AlibabaCloud
|
||||
struct DataItem
|
||||
{
|
||||
long executions;
|
||||
long avgRowCacheHit;
|
||||
double avgRowCacheHit;
|
||||
std::string server;
|
||||
double maxApplicationWaitTime;
|
||||
double maxAffectedRows;
|
||||
double maxUserIoWaitTime;
|
||||
double avgUserIoWaitTime;
|
||||
long retryCount;
|
||||
double retCode6002Count;
|
||||
long retCode6002Count;
|
||||
long missPlans;
|
||||
long avgLogicalReads;
|
||||
double retCode5167Count;
|
||||
long avgBlockCacheHit;
|
||||
double avgLogicalReads;
|
||||
long retCode5167Count;
|
||||
double avgBlockCacheHit;
|
||||
double execPs;
|
||||
double tableScanPercentage;
|
||||
double retCode5217Count;
|
||||
long retCode5217Count;
|
||||
double avgUsedWorkerCount;
|
||||
double maxElapsedTime;
|
||||
double localPlanPercentage;
|
||||
double avgGetPlanTime;
|
||||
double avgNetTime;
|
||||
double remotePlanPercentage;
|
||||
long avgAffectedRows;
|
||||
double avgAffectedRows;
|
||||
double avgApplicationWaitTime;
|
||||
long avgSsstoreReadRows;
|
||||
long avgMemstoreReadRows;
|
||||
double avgSsstoreReadRows;
|
||||
double avgMemstoreReadRows;
|
||||
double avgQueueTime;
|
||||
double maxCpuTime;
|
||||
long avgDiskReads;
|
||||
double retCode5001Count;
|
||||
double avgDiskReads;
|
||||
long retCode5001Count;
|
||||
double avgCpuTime;
|
||||
double retCode5024Count;
|
||||
long retCode5024Count;
|
||||
double sumLogicalReads;
|
||||
double sumDbTime;
|
||||
double strongConsistencyPercentage;
|
||||
double retCode4013Count;
|
||||
long retCode4013Count;
|
||||
double avgConcurrencyWaitTime;
|
||||
std::string timestamp;
|
||||
long avgBlockIndexCacheHit;
|
||||
long avgBloomFilterCacheHit;
|
||||
double avgBlockIndexCacheHit;
|
||||
double avgBloomFilterCacheHit;
|
||||
double sumElapsedTime;
|
||||
long avgReturnRows;
|
||||
double avgReturnRows;
|
||||
long failCount;
|
||||
double avgPartitionCount;
|
||||
std::string dbName;
|
||||
@@ -83,7 +83,7 @@ namespace AlibabaCloud
|
||||
double weakConsistencyPercentage;
|
||||
double avgDecodeTime;
|
||||
std::string sQLId;
|
||||
long avgRpcCount;
|
||||
double avgRpcCount;
|
||||
double avgNetWaitTime;
|
||||
double maxDiskReads;
|
||||
double avgDbTime;
|
||||
@@ -99,7 +99,7 @@ namespace AlibabaCloud
|
||||
double maxConcurrencyWaitTime;
|
||||
double missPlanPercentage;
|
||||
std::string waitEvent;
|
||||
double retCode4012Count;
|
||||
long retCode4012Count;
|
||||
double avgElapsedTime;
|
||||
double failPercentage;
|
||||
double maxReturnRows;
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct SqlListItem
|
||||
{
|
||||
double executions;
|
||||
long executions;
|
||||
double avgRowCacheHit;
|
||||
double maxApplicationWaitTime;
|
||||
std::string server;
|
||||
@@ -45,9 +45,9 @@ namespace AlibabaCloud
|
||||
std::string clientIp;
|
||||
bool inner;
|
||||
double avgUserIoWaitTime;
|
||||
double retryCount;
|
||||
long retryCount;
|
||||
long retCode6002Count;
|
||||
double missPlans;
|
||||
long missPlans;
|
||||
long retCode5167Count;
|
||||
std::string sqlType;
|
||||
double avgLogicalReads;
|
||||
@@ -83,7 +83,7 @@ namespace AlibabaCloud
|
||||
double avgBloomFilterCacheHit;
|
||||
double avgReturnRows;
|
||||
double avgPartitionCount;
|
||||
double failCount;
|
||||
long failCount;
|
||||
std::string dbName;
|
||||
double avgWaitTime;
|
||||
double weakConsistencyPercentage;
|
||||
@@ -94,7 +94,7 @@ namespace AlibabaCloud
|
||||
double avgDbTime;
|
||||
double avgExpectedWorkerCount;
|
||||
double distPlanPercentage;
|
||||
double remotePlans;
|
||||
long remotePlans;
|
||||
double avgWaitCount;
|
||||
std::string userName;
|
||||
double rpcCount;
|
||||
@@ -114,7 +114,7 @@ namespace AlibabaCloud
|
||||
double sumWaitTime;
|
||||
long serverPort;
|
||||
};
|
||||
double executions;
|
||||
long executions;
|
||||
double avgRowCacheHit;
|
||||
double maxApplicationWaitTime;
|
||||
std::string server;
|
||||
@@ -123,16 +123,16 @@ namespace AlibabaCloud
|
||||
std::string clientIp;
|
||||
bool inner;
|
||||
double avgUserIoWaitTime;
|
||||
double retryCount;
|
||||
double retCode6002Count;
|
||||
double missPlans;
|
||||
double retCode5167Count;
|
||||
long retryCount;
|
||||
long retCode6002Count;
|
||||
long missPlans;
|
||||
long retCode5167Count;
|
||||
std::string sqlType;
|
||||
double avgLogicalReads;
|
||||
double execPs;
|
||||
double avgBlockCacheHit;
|
||||
double tableScanPercentage;
|
||||
double retCode5217Count;
|
||||
long retCode5217Count;
|
||||
double avgUsedWorkerCount;
|
||||
double maxElapsedTime;
|
||||
double localPlanPercentage;
|
||||
@@ -148,8 +148,8 @@ namespace AlibabaCloud
|
||||
double avgQueueTime;
|
||||
double maxCpuTime;
|
||||
double avgDiskReads;
|
||||
double retCode5001Count;
|
||||
double retCode5024Count;
|
||||
long retCode5001Count;
|
||||
long retCode5024Count;
|
||||
double sumLogicalReads;
|
||||
double avgCpuTime;
|
||||
double sumDbTime;
|
||||
@@ -161,7 +161,7 @@ namespace AlibabaCloud
|
||||
double avgBloomFilterCacheHit;
|
||||
double avgReturnRows;
|
||||
double avgPartitionCount;
|
||||
double failCount;
|
||||
long failCount;
|
||||
std::string dbName;
|
||||
double avgWaitTime;
|
||||
double weakConsistencyPercentage;
|
||||
@@ -174,7 +174,7 @@ namespace AlibabaCloud
|
||||
double distPlanPercentage;
|
||||
bool dynamicSql;
|
||||
std::vector<DataItem::SqlListItem> sqlList;
|
||||
double remotePlans;
|
||||
long remotePlans;
|
||||
double avgWaitCount;
|
||||
std::string userName;
|
||||
double rpcCount;
|
||||
|
||||
@@ -50,9 +50,9 @@ namespace AlibabaCloud
|
||||
std::string clientIp;
|
||||
bool inner;
|
||||
double avgUserIoWaitTime;
|
||||
double retryCount;
|
||||
long retryCount;
|
||||
long retCode6002Count;
|
||||
double missPlans;
|
||||
long missPlans;
|
||||
long retCode5167Count;
|
||||
std::string sqlType;
|
||||
double avgLogicalReads;
|
||||
@@ -89,7 +89,7 @@ namespace AlibabaCloud
|
||||
double avgBloomFilterCacheHit;
|
||||
double avgReturnRows;
|
||||
double avgPartitionCount;
|
||||
double failCount;
|
||||
long failCount;
|
||||
std::string dbName;
|
||||
double avgWaitTime;
|
||||
double weakConsistencyPercentage;
|
||||
@@ -100,7 +100,7 @@ namespace AlibabaCloud
|
||||
double avgDbTime;
|
||||
double avgExpectedWorkerCount;
|
||||
double distPlanPercentage;
|
||||
double remotePlans;
|
||||
long remotePlans;
|
||||
double avgWaitCount;
|
||||
std::string userName;
|
||||
double rpcCount;
|
||||
@@ -129,10 +129,10 @@ namespace AlibabaCloud
|
||||
std::string clientIp;
|
||||
bool inner;
|
||||
double avgUserIoWaitTime;
|
||||
double retryCount;
|
||||
long retryCount;
|
||||
long retCode6002Count;
|
||||
std::string obDbId;
|
||||
double missPlans;
|
||||
long obDbId;
|
||||
long missPlans;
|
||||
long retCode5167Count;
|
||||
std::string sqlType;
|
||||
double avgLogicalReads;
|
||||
@@ -170,7 +170,7 @@ namespace AlibabaCloud
|
||||
CustomColumns customColumns;
|
||||
double avgReturnRows;
|
||||
double avgPartitionCount;
|
||||
double failCount;
|
||||
long failCount;
|
||||
std::string dbName;
|
||||
double avgWaitTime;
|
||||
double weakConsistencyPercentage;
|
||||
@@ -183,7 +183,7 @@ namespace AlibabaCloud
|
||||
double distPlanPercentage;
|
||||
bool dynamicSql;
|
||||
std::vector<DataItem::SqlListItem> sqlList;
|
||||
double remotePlans;
|
||||
long remotePlans;
|
||||
double avgWaitCount;
|
||||
std::string userName;
|
||||
double rpcCount;
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace AlibabaCloud
|
||||
struct ProcessSqlListItem
|
||||
{
|
||||
std::string status;
|
||||
std::string dynamicSql;
|
||||
bool dynamicSql;
|
||||
std::string user;
|
||||
long executeTime;
|
||||
std::string proxySessId;
|
||||
@@ -85,7 +85,7 @@ namespace AlibabaCloud
|
||||
long sessionId;
|
||||
};
|
||||
std::string status;
|
||||
std::string dynamicSql;
|
||||
bool dynamicSql;
|
||||
std::string user;
|
||||
long executeTime;
|
||||
std::string proxySessId;
|
||||
@@ -103,7 +103,7 @@ namespace AlibabaCloud
|
||||
long sessionId;
|
||||
};
|
||||
std::string status;
|
||||
std::string dynamicSql;
|
||||
bool dynamicSql;
|
||||
std::string user;
|
||||
long executeTime;
|
||||
std::string proxySessId;
|
||||
|
||||
@@ -35,39 +35,39 @@ namespace AlibabaCloud
|
||||
struct DataItem
|
||||
{
|
||||
std::string server;
|
||||
std::string clientPort;
|
||||
int clientPort;
|
||||
std::string clientIp;
|
||||
double cpuTime;
|
||||
bool inner;
|
||||
std::string consistencyLevel;
|
||||
double retryCount;
|
||||
long retryCount;
|
||||
std::string transHash;
|
||||
double retCode;
|
||||
int retCode;
|
||||
std::string planType;
|
||||
double obDbId;
|
||||
long obDbId;
|
||||
std::string sqlType;
|
||||
double queueTime;
|
||||
double blockIndexCacheHit;
|
||||
bool tableScan;
|
||||
double waitCount;
|
||||
std::string requestId;
|
||||
long waitCount;
|
||||
long requestId;
|
||||
std::string requestTime;
|
||||
std::string paramsValue;
|
||||
double ssstoreReadRows;
|
||||
long ssstoreReadRows;
|
||||
double scheduleTime;
|
||||
double obUserId;
|
||||
long obUserId;
|
||||
std::string traceId;
|
||||
double bloomFilterCacheHit;
|
||||
double obServerId;
|
||||
double expectedWorkerCount;
|
||||
long obServerId;
|
||||
long expectedWorkerCount;
|
||||
double decodeTime;
|
||||
double concurrencyWaitTime;
|
||||
double executeTime;
|
||||
double memstoreReadRows;
|
||||
long memstoreReadRows;
|
||||
double getPlanTime;
|
||||
double elapsedTime;
|
||||
bool hitPlan;
|
||||
double returnRows;
|
||||
long returnRows;
|
||||
bool executorRpc;
|
||||
double blockCacheHit;
|
||||
std::string dbName;
|
||||
@@ -75,19 +75,19 @@ namespace AlibabaCloud
|
||||
double diskReads;
|
||||
std::string userName;
|
||||
double netTime;
|
||||
double rpcCount;
|
||||
long rpcCount;
|
||||
std::string fullSqlText;
|
||||
std::string statement;
|
||||
double planId;
|
||||
long planId;
|
||||
double rowCacheHit;
|
||||
double affectedRows;
|
||||
double usedWorkerCount;
|
||||
long affectedRows;
|
||||
long usedWorkerCount;
|
||||
std::string sqlText;
|
||||
double applicationWaitTime;
|
||||
std::string waitEvent;
|
||||
double userIoWaitTime;
|
||||
double waitTime;
|
||||
double partitionCount;
|
||||
long partitionCount;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace AlibabaCloud
|
||||
struct ColumnsItem
|
||||
{
|
||||
std::string columnName;
|
||||
float ndv;
|
||||
double ndv;
|
||||
std::string minValue;
|
||||
std::string maxValue;
|
||||
};
|
||||
|
||||
@@ -38,8 +38,8 @@ public:
|
||||
void setDynamicSql(bool dynamicSql);
|
||||
std::string getTenantId() const;
|
||||
void setTenantId(const std::string &tenantId);
|
||||
std::string getLimit() const;
|
||||
void setLimit(const std::string &limit);
|
||||
int getLimit() const;
|
||||
void setLimit(int limit);
|
||||
std::string getSqlId() const;
|
||||
void setSqlId(const std::string &sqlId);
|
||||
std::string getEndTime() const;
|
||||
@@ -54,7 +54,7 @@ private:
|
||||
std::string startTime_;
|
||||
bool dynamicSql_;
|
||||
std::string tenantId_;
|
||||
std::string limit_;
|
||||
int limit_;
|
||||
std::string sqlId_;
|
||||
std::string endTime_;
|
||||
std::string instanceId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DescribeSqlAuditStatRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getOperatorType() const;
|
||||
void setOperatorType(const std::string &operatorType);
|
||||
int getPageNumber() const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getTenantId() const;
|
||||
@@ -45,6 +47,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string operatorType_;
|
||||
int pageNumber_;
|
||||
std::string tenantId_;
|
||||
int pageSize_;
|
||||
|
||||
@@ -57,11 +57,13 @@ namespace AlibabaCloud
|
||||
DescribeSqlAuditStatResult();
|
||||
explicit DescribeSqlAuditStatResult(const std::string &payload);
|
||||
~DescribeSqlAuditStatResult();
|
||||
long getTotalCount()const;
|
||||
std::vector<DataItem> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::vector<DataItem> data_;
|
||||
|
||||
};
|
||||
|
||||
@@ -182,6 +182,7 @@ namespace AlibabaCloud
|
||||
std::string charset;
|
||||
std::string payType;
|
||||
std::string odpVersion;
|
||||
int iops;
|
||||
std::string collation;
|
||||
bool enableInternetAddressService;
|
||||
bool enableReadWriteSplit;
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace AlibabaCloud
|
||||
int cpu;
|
||||
std::string charset;
|
||||
bool enableReadOnlyReplica;
|
||||
int iops;
|
||||
std::string collation;
|
||||
std::string tenantId;
|
||||
std::string vpcId;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getTenantId() const;
|
||||
void setTenantId(const std::string &tenantId);
|
||||
std::string getIops() const;
|
||||
void setIops(const std::string &iops);
|
||||
std::string getReadOnlyZoneList() const;
|
||||
void setReadOnlyZoneList(const std::string &readOnlyZoneList);
|
||||
|
||||
@@ -49,6 +51,7 @@ private:
|
||||
int cpu_;
|
||||
std::string instanceId_;
|
||||
std::string tenantId_;
|
||||
std::string iops_;
|
||||
std::string readOnlyZoneList_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
Reference in New Issue
Block a user