GridGain C++
thin-client/include/ignite/thin/cache/query/query_fields_cursor.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019 GridGain Systems, Inc. and Contributors.
3  *
4  * Licensed under the GridGain Community Edition License (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * https://www.gridgain.com/products/software/community-edition/gridgain-community-edition-license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
22 #ifndef _IGNITE_THIN_CACHE_QUERY_QUERY_FIELDS_CURSOR
23 #define _IGNITE_THIN_CACHE_QUERY_QUERY_FIELDS_CURSOR
24 
25 #include <vector>
26 
27 #include <ignite/common/concurrent.h>
28 
29 #include <ignite/ignite_error.h>
31 
32 namespace ignite
33 {
34  namespace thin
35  {
36  namespace cache
37  {
38  namespace query
39  {
47  class IGNITE_IMPORT_EXPORT QueryFieldsCursor
48  {
49  public:
57  explicit QueryFieldsCursor(const common::concurrent::SharedPointer<void>& impl);
58 
66  bool HasNext();
67 
75  QueryFieldsRow GetNext();
76 
82  const std::vector<std::string>& GetColumnNames() const;
83 
84  private:
86  common::concurrent::SharedPointer<void> impl;
87  };
88  }
89  }
90  }
91 }
92 
93 #endif //_IGNITE_THIN_CACHE_QUERY_QUERY_FIELDS_CURSOR
ignite
Ignite API.
Definition: cache.h:47
ignite::thin::cache::query::QueryFieldsCursor
Query fields cursor.
Definition: thin-client/include/ignite/thin/cache/query/query_fields_cursor.h:47
ignite::thin::cache::query::QueryFieldsRow
Query fields row.
Definition: thin-client/include/ignite/thin/cache/query/query_fields_row.h:45
query_fields_row.h
ignite_error.h