Ei kuvausta

ExecuteSqlRequest.php 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Spanner_ExecuteSqlRequest extends Google_Model
  18. {
  19. protected $paramTypesType = 'Google_Service_Spanner_Type';
  20. protected $paramTypesDataType = 'map';
  21. public $params;
  22. public $partitionToken;
  23. public $queryMode;
  24. public $resumeToken;
  25. public $sql;
  26. protected $transactionType = 'Google_Service_Spanner_TransactionSelector';
  27. protected $transactionDataType = '';
  28. /**
  29. * @param Google_Service_Spanner_Type
  30. */
  31. public function setParamTypes($paramTypes)
  32. {
  33. $this->paramTypes = $paramTypes;
  34. }
  35. /**
  36. * @return Google_Service_Spanner_Type
  37. */
  38. public function getParamTypes()
  39. {
  40. return $this->paramTypes;
  41. }
  42. public function setParams($params)
  43. {
  44. $this->params = $params;
  45. }
  46. public function getParams()
  47. {
  48. return $this->params;
  49. }
  50. public function setPartitionToken($partitionToken)
  51. {
  52. $this->partitionToken = $partitionToken;
  53. }
  54. public function getPartitionToken()
  55. {
  56. return $this->partitionToken;
  57. }
  58. public function setQueryMode($queryMode)
  59. {
  60. $this->queryMode = $queryMode;
  61. }
  62. public function getQueryMode()
  63. {
  64. return $this->queryMode;
  65. }
  66. public function setResumeToken($resumeToken)
  67. {
  68. $this->resumeToken = $resumeToken;
  69. }
  70. public function getResumeToken()
  71. {
  72. return $this->resumeToken;
  73. }
  74. public function setSql($sql)
  75. {
  76. $this->sql = $sql;
  77. }
  78. public function getSql()
  79. {
  80. return $this->sql;
  81. }
  82. /**
  83. * @param Google_Service_Spanner_TransactionSelector
  84. */
  85. public function setTransaction(Google_Service_Spanner_TransactionSelector $transaction)
  86. {
  87. $this->transaction = $transaction;
  88. }
  89. /**
  90. * @return Google_Service_Spanner_TransactionSelector
  91. */
  92. public function getTransaction()
  93. {
  94. return $this->transaction;
  95. }
  96. }