client_query_request.go 2.1 KB

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