VMware VMware GemFire Native C++ Reference 10.4.3
Loading...
Searching...
No Matches
StructSet.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of 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,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18#pragma once
19
20#ifndef GEODE_STRUCTSET_H_
21#define GEODE_STRUCTSET_H_
22
23#include "CqResults.hpp"
24#include "Struct.hpp"
25#include "internal/geode_globals.hpp"
26
31namespace apache {
32namespace geode {
33namespace client {
34
42class APACHE_GEODE_EXPORT StructSet : public CqResults {
43 public:
44 ~StructSet() noexcept override = default;
45
53 virtual int32_t getFieldIndex(const std::string& fieldname) = 0;
54
63 virtual const std::string& getFieldName(int32_t index) = 0;
64};
65
66} // namespace client
67} // namespace geode
68} // namespace apache
69
70#endif // GEODE_STRUCTSET_H_
A CqResults is obtained by executing a Query on the server.
Definition CqResults.hpp:43
A StructSet may be obtained after executing a Query which is obtained from a QueryService which in tu...
Definition StructSet.hpp:42
virtual const std::string & getFieldName(int32_t index)=0
Get the field name of the StructSet from the specified index number.
virtual int32_t getFieldIndex(const std::string &fieldname)=0
Get the index number of the specified field name in the StructSet.

Apache Geode C++ Cache API Documentation