client_query_request.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package client
  2. type QueryByWhereAndOrderByRequest struct {
  3. TablePrefixWithSchema string
  4. Version string
  5. Select string
  6. Where []ColumnCompare
  7. OrderBy []string
  8. PageNo int
  9. PageSize int
  10. }
  11. type CommonQueryRequest struct {
  12. TablePrefixWithSchema string
  13. Version string
  14. Select string
  15. Where []ColumnCompare
  16. OrderBy []string
  17. Or []ColumnCompare
  18. GroupBy []string
  19. Join string
  20. Having []ColumnCompare
  21. PageNo int
  22. PageSize int
  23. }
  24. type QueryByKeysRequest struct {
  25. TablePrefixWithSchema string
  26. Version string
  27. Select string
  28. KeyValues map[string]string
  29. }
  30. type CountWhereRequest struct {
  31. TablePrefixWithSchema string
  32. Version string
  33. Where []ColumnCompare
  34. }
  35. type CommonCountRequest struct {
  36. TablePrefixWithSchema string
  37. Version string
  38. Where []ColumnCompare
  39. Or []ColumnCompare
  40. GroupBy []string
  41. Join string
  42. Having []ColumnCompare
  43. }
  44. type EventQueryByKeysRequest struct {
  45. TablePrefixWithSchema string
  46. Select string
  47. KeyValues []string
  48. PageNo int
  49. PageSize int
  50. }
  51. type CommonEventQueryRequest struct {
  52. TablePrefixWithSchema string
  53. Select string
  54. KeyValues []string
  55. Version string
  56. Operation string
  57. CreatorID string
  58. StartCreatedTime string
  59. EndCreatedTime string
  60. PageNo int
  61. PageSize int
  62. }
  63. type CountEventByKeysRequest struct {
  64. TablePrefixWithSchema string
  65. KeyValues []string
  66. }
  67. type CommonCountEventRequest struct {
  68. TablePrefixWithSchema string
  69. KeyValues []string
  70. Version string
  71. Operation string
  72. CreatorID string
  73. StartCreatedTime string
  74. EndCreatedTime string
  75. }