source: vendor/google/apiclient-services/src/Spanner/PartialResultSet.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Upload project files

  • Property mode set to 100644
File size: 2.7 KB
Line 
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
18namespace Google\Service\Spanner;
19
20class PartialResultSet extends \Google\Collection
21{
22 protected $collection_key = 'values';
23 /**
24 * @var bool
25 */
26 public $chunkedValue;
27 protected $metadataType = ResultSetMetadata::class;
28 protected $metadataDataType = '';
29 protected $precommitTokenType = MultiplexedSessionPrecommitToken::class;
30 protected $precommitTokenDataType = '';
31 /**
32 * @var string
33 */
34 public $resumeToken;
35 protected $statsType = ResultSetStats::class;
36 protected $statsDataType = '';
37 /**
38 * @var array[]
39 */
40 public $values;
41
42 /**
43 * @param bool
44 */
45 public function setChunkedValue($chunkedValue)
46 {
47 $this->chunkedValue = $chunkedValue;
48 }
49 /**
50 * @return bool
51 */
52 public function getChunkedValue()
53 {
54 return $this->chunkedValue;
55 }
56 /**
57 * @param ResultSetMetadata
58 */
59 public function setMetadata(ResultSetMetadata $metadata)
60 {
61 $this->metadata = $metadata;
62 }
63 /**
64 * @return ResultSetMetadata
65 */
66 public function getMetadata()
67 {
68 return $this->metadata;
69 }
70 /**
71 * @param MultiplexedSessionPrecommitToken
72 */
73 public function setPrecommitToken(MultiplexedSessionPrecommitToken $precommitToken)
74 {
75 $this->precommitToken = $precommitToken;
76 }
77 /**
78 * @return MultiplexedSessionPrecommitToken
79 */
80 public function getPrecommitToken()
81 {
82 return $this->precommitToken;
83 }
84 /**
85 * @param string
86 */
87 public function setResumeToken($resumeToken)
88 {
89 $this->resumeToken = $resumeToken;
90 }
91 /**
92 * @return string
93 */
94 public function getResumeToken()
95 {
96 return $this->resumeToken;
97 }
98 /**
99 * @param ResultSetStats
100 */
101 public function setStats(ResultSetStats $stats)
102 {
103 $this->stats = $stats;
104 }
105 /**
106 * @return ResultSetStats
107 */
108 public function getStats()
109 {
110 return $this->stats;
111 }
112 /**
113 * @param array[]
114 */
115 public function setValues($values)
116 {
117 $this->values = $values;
118 }
119 /**
120 * @return array[]
121 */
122 public function getValues()
123 {
124 return $this->values;
125 }
126}
127
128// Adding a class alias for backwards compatibility with the previous class name.
129class_alias(PartialResultSet::class, 'Google_Service_Spanner_PartialResultSet');
Note: See TracBrowser for help on using the repository browser.