VMware GemFire Native C++ Reference
9.2.4
Main Page
Related Pages
Namespaces
Namespace List
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
Typedefs
Enumerations
Enumerator
Files
File List
Globals
All
c
d
g
l
Enumerations
Enumerator
g
Macros
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
QueryService.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#ifndef GEODE_QUERYSERVICE_H_
4
#define GEODE_QUERYSERVICE_H_
5
6
/*
7
* Licensed to the Apache Software Foundation (ASF) under one or more
8
* contributor license agreements. See the NOTICE file distributed with
9
* this work for additional information regarding copyright ownership.
10
* The ASF licenses this file to You under the Apache License, Version 2.0
11
* (the "License"); you may not use this file except in compliance with
12
* the License. You may obtain a copy of the License at
13
*
14
* http://www.apache.org/licenses/LICENSE-2.0
15
*
16
* Unless required by applicable law or agreed to in writing, software
17
* distributed under the License is distributed on an "AS IS" BASIS,
18
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
* See the License for the specific language governing permissions and
20
* limitations under the License.
21
*/
22
23
#include "geode_globals.hpp"
24
#include "
geode_types.hpp
"
25
#include "
ExceptionTypes.hpp
"
26
#include "
CqQuery.hpp
"
27
#include "
CqAttributes.hpp
"
28
#include "
CqServiceStatistics.hpp
"
29
30
#include "
Query.hpp
"
31
36
namespace
apache
{
37
namespace
geode
{
38
namespace
client {
39
46
class
CPPCACHE_EXPORT
QueryService
:
public
SharedBase
{
47
public
:
54
virtual
QueryPtr
newQuery(
const
char
* querystr) = 0;
55
89
virtual
CqQueryPtr
newCq(
const
char
* name,
const
char
* querystr,
90
CqAttributesPtr
& cqAttr,
bool
isDurable =
false
) = 0;
123
virtual
CqQueryPtr
newCq(
const
char
* querystr,
CqAttributesPtr
& cqAttr,
124
bool
isDurable =
false
) = 0;
131
virtual
void
closeCqs() = 0;
137
virtual
void
getCqs(
VectorOfCqQuery
& vec) = 0;
144
virtual
CqQueryPtr
getCq(
const
char
* name) = 0;
150
virtual
void
executeCqs() = 0;
156
virtual
void
stopCqs() = 0;
163
virtual
CqServiceStatisticsPtr
getCqServiceStatistics() = 0;
164
171
virtual
CacheableArrayListPtr
getAllDurableCqsFromServer() = 0;
172
};
173
}
// namespace client
174
}
// namespace geode
175
}
// namespace apache
176
177
#endif // GEODE_QUERYSERVICE_H_
apache
Each enum represents a predefined RegionAttributes in a {}.
Definition:
Assert.hpp:31
ExceptionTypes.hpp
CqAttributes.hpp
CqServiceStatistics.hpp
Query.hpp
apache::geode::client::QueryService
Definition:
QueryService.hpp:46
geode_types.hpp
geode
CPPCACHE_EXPORT
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition:
geode_base.hpp:58
CqQuery.hpp
apache::geode::client::SharedBase
Definition:
SharedBase.hpp:40
apache::geode::client::SharedPtr
Defines a reference counted shared pointer.
Definition:
SharedPtr.hpp:52
apache::geode::client::VectorT
Vector template type class.
Definition:
VectorT.hpp:37
Pivotal GemFire C++ Cache API Documentation