Kea
1.9.9-git
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
sql_common.h
Go to the documentation of this file.
1
// Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
2
// Copyright (C) 2016-2017 Deutsche Telekom AG.
3
//
4
// Author: Cristian Secăreanu <cristian.secareanu@qualitance.com>
5
//
6
// Licensed under the Apache License, Version 2.0 (the "License");
7
// you may not use this file except in compliance with the License.
8
// You may obtain a copy of the License at
9
//
10
// http://www.apache.org/licenses/LICENSE-2.0
11
//
12
// Unless required by applicable law or agreed to in writing, software
13
// distributed under the License is distributed on an "AS IS" BASIS,
14
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
// See the License for the specific language governing permissions and
16
// limitations under the License.
17
18
#ifndef SQL_COMMON_H
19
#define SQL_COMMON_H
20
21
namespace
isc
{
22
namespace
db {
23
26
enum
ExchangeDataType
{
27
EXCHANGE_DATA_TYPE_NONE
,
28
EXCHANGE_DATA_TYPE_BOOL
,
29
EXCHANGE_DATA_TYPE_INT8
,
30
EXCHANGE_DATA_TYPE_INT16
,
31
EXCHANGE_DATA_TYPE_INT32
,
32
EXCHANGE_DATA_TYPE_INT64
,
33
EXCHANGE_DATA_TYPE_TIMESTAMP
,
34
EXCHANGE_DATA_TYPE_STRING
,
35
EXCHANGE_DATA_TYPE_BYTES
,
36
EXCHANGE_DATA_TYPE_UUID
,
37
EXCHANGE_DATA_TYPE_UDT
,
38
EXCHANGE_DATA_TYPE_COLLECTION
39
};
40
42
class
SqlExchange
{
43
public
:
45
SqlExchange
() {
46
}
47
49
virtual
~SqlExchange
() {
50
}
51
};
52
53
}
// namespace db
54
}
// namespace isc
55
56
#endif // SQL_COMMON_H
isc::db::EXCHANGE_DATA_TYPE_INT64
Definition:
sql_common.h:32
isc::db::EXCHANGE_DATA_TYPE_INT8
Definition:
sql_common.h:29
isc::db::EXCHANGE_DATA_TYPE_NONE
Definition:
sql_common.h:27
isc::db::EXCHANGE_DATA_TYPE_UUID
Definition:
sql_common.h:36
isc::db::SqlExchange::~SqlExchange
virtual ~SqlExchange()
Destructor.
Definition:
sql_common.h:49
isc::db::EXCHANGE_DATA_TYPE_INT32
Definition:
sql_common.h:31
isc::db::EXCHANGE_DATA_TYPE_BOOL
Definition:
sql_common.h:28
isc::db::EXCHANGE_DATA_TYPE_INT16
Definition:
sql_common.h:30
isc::db::ExchangeDataType
ExchangeDataType
Used to map server data types with internal backend storage data types.
Definition:
sql_common.h:26
isc::db::EXCHANGE_DATA_TYPE_COLLECTION
Collection (used in Cassandra)
Definition:
sql_common.h:38
isc::db::SqlExchange::SqlExchange
SqlExchange()
Constructor.
Definition:
sql_common.h:45
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:143
isc::db::EXCHANGE_DATA_TYPE_TIMESTAMP
Definition:
sql_common.h:33
isc::db::EXCHANGE_DATA_TYPE_STRING
Definition:
sql_common.h:34
isc::db::EXCHANGE_DATA_TYPE_BYTES
Definition:
sql_common.h:35
isc::db::EXCHANGE_DATA_TYPE_UDT
User-Defined Type (used in Cassandra)
Definition:
sql_common.h:37
isc::db::SqlExchange
Base class for backend exchanges.
Definition:
sql_common.h:42
src
lib
cql
sql_common.h
Generated on Wed Sep 15 2021 10:48:33 for Kea by
1.8.9.1