Kea 1.9.11
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
21namespace isc {
22namespace db {
23
39};
40
43public:
46 }
47
49 virtual ~SqlExchange() {
50 }
51};
52
53} // namespace db
54} // namespace isc
55
56#endif // SQL_COMMON_H
Base class for backend exchanges.
Definition: sql_common.h:42
SqlExchange()
Constructor.
Definition: sql_common.h:45
virtual ~SqlExchange()
Destructor.
Definition: sql_common.h:49
ExchangeDataType
Used to map server data types with internal backend storage data types.
Definition: sql_common.h:26
@ EXCHANGE_DATA_TYPE_INT64
Definition: sql_common.h:32
@ EXCHANGE_DATA_TYPE_STRING
Definition: sql_common.h:34
@ EXCHANGE_DATA_TYPE_UDT
User-Defined Type (used in Cassandra)
Definition: sql_common.h:37
@ EXCHANGE_DATA_TYPE_BOOL
Definition: sql_common.h:28
@ EXCHANGE_DATA_TYPE_NONE
Definition: sql_common.h:27
@ EXCHANGE_DATA_TYPE_INT16
Definition: sql_common.h:30
@ EXCHANGE_DATA_TYPE_BYTES
Definition: sql_common.h:35
@ EXCHANGE_DATA_TYPE_INT8
Definition: sql_common.h:29
@ EXCHANGE_DATA_TYPE_TIMESTAMP
Definition: sql_common.h:33
@ EXCHANGE_DATA_TYPE_INT32
Definition: sql_common.h:31
@ EXCHANGE_DATA_TYPE_COLLECTION
Collection (used in Cassandra)
Definition: sql_common.h:38
@ EXCHANGE_DATA_TYPE_UUID
Definition: sql_common.h:36
Defines the logger used by the top-level component of kea-lfc.