MissingIndexResult.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright 2018 JDCLOUD.COM
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. //
  15. // NOTE: This class is auto generated by the jdcloud code generator program.
  16. package models
  17. type MissingIndexResult struct {
  18. /* 数据库名 (Optional) */
  19. Db string `json:"db"`
  20. /* 表名 (Optional) */
  21. Table string `json:"table"`
  22. /* 构成相等谓词的列的逗号分隔列表,谓词的形式如下:<br>table.column =constant_value (Optional) */
  23. EqualityColumns string `json:"equalityColumns"`
  24. /* 用于查询的涵盖列的逗号分隔列表,即创建索引的SQL语句中,Include后的字段 (Optional) */
  25. InequalityColumns string `json:"inequalityColumns"`
  26. /* 构成不等谓词的列的逗号分隔列表,例如以下形式的谓词:<br>table.column > constant_value<br>“=”之外的任何比较运算符都表示不相等。 (Optional) */
  27. IncludedColumns string `json:"includedColumns"`
  28. /* 实现此缺失索引后,用户查询可能获得的平均百分比收益。 该值表示如果实现此缺失索引,则查询成本将按此百分比平均下降。 (Optional) */
  29. AvgUserImpact float32 `json:"avgUserImpact"`
  30. /* 由可能使用了组中建议索引的用户查询所导致的扫描次数。 (Optional) */
  31. UserScans int `json:"userScans"`
  32. /* 由可能使用了组中建议索引的用户查询所导致的搜索次数。 (Optional) */
  33. UserSeeks int `json:"userSeeks"`
  34. }