AlexaClientSDK  1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Namespaces | Macros | Functions | Variables
SQLiteMiscStorage.cpp File Reference
#include <SQLiteStorage/SQLiteMiscStorage.h>
#include <algorithm>
#include <cctype>
#include <AVSCommon/Utils/Logger/Logger.h>
#include <SQLiteStorage/SQLiteStatement.h>
#include <SQLiteStorage/SQLiteUtils.h>
Include dependency graph for SQLiteMiscStorage.cpp:

Namespaces

 alexaClientSDK
 Whether or not curl logs should be emitted.
 
 alexaClientSDK::storage
 
 alexaClientSDK::storage::sqliteStorage
 

Macros

#define LX(event)   alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)
 

Functions

static const std::string alexaClientSDK::storage::sqliteStorage::TAG ("SQLiteMiscStorage")
 String to identify log entries originating from this file. More...
 
static std::string alexaClientSDK::storage::sqliteStorage::basicDBChecksLocked (SQLiteDatabase &db, const std::string &componentName, const std::string &tableName)
 
static std::string alexaClientSDK::storage::sqliteStorage::basicDBChecksLocked (SQLiteDatabase &db, const std::string &componentName, const std::string &tableName, bool tableShouldExist)
 
static std::string alexaClientSDK::storage::sqliteStorage::getDBTableName (const std::string &componentName, const std::string &tableName)
 
static std::string alexaClientSDK::storage::sqliteStorage::getKeyTypeString (SQLiteMiscStorage::KeyType keyType)
 
static std::string alexaClientSDK::storage::sqliteStorage::getValueTypeString (SQLiteMiscStorage::ValueType valueType)
 
static std::string alexaClientSDK::storage::sqliteStorage::getDBDataType (const std::string &keyValueType)
 

Variables

static const std::string alexaClientSDK::storage::sqliteStorage::KEY_COLUMN_NAME = "key"
 Names of the columns in the database. More...
 
static const std::string alexaClientSDK::storage::sqliteStorage::VALUE_COLUMN_NAME = "value"
 
static const std::string alexaClientSDK::storage::sqliteStorage::MISC_DATABASE_CONFIGURATION_ROOT_KEY = "miscDatabase"
 The key in our config file to find the root of settings for this database. More...
 
static const std::string alexaClientSDK::storage::sqliteStorage::MISC_DATABASE_DB_FILE_PATH_KEY = "databaseFilePath"
 The key in our config file to find the database file path. More...
 
static const std::string alexaClientSDK::storage::sqliteStorage::MISC_DATABASE_DB_COMPONENT_TABLE_NAMES_SEPARATOR = "_"
 Component and table name separator in DB table name. More...
 
static const std::string alexaClientSDK::storage::sqliteStorage::STRING_KEY_VALUE_TYPE = "STRING"
 String key/value type. More...
 
static const std::string alexaClientSDK::storage::sqliteStorage::UNKNOWN_KEY_VALUE_TYPE = "UNKNOWN"
 Unknown key/value type. More...
 
static const std::string alexaClientSDK::storage::sqliteStorage::TEXT_DB_TYPE = "TEXT"
 DB type. More...
 
static const bool alexaClientSDK::storage::sqliteStorage::CHECK_TABLE_EXISTS = true
 Boolean to check if table exists. More...
 
static const bool alexaClientSDK::storage::sqliteStorage::CHECK_TABLE_NOT_EXISTS = false
 Boolean to check if table doesn't exist. More...
 

Macro Definition Documentation

◆ LX

#define LX (   event)    alexaClientSDK::avsCommon::utils::logger::LogEntry(TAG, event)

Create a LogEntry using this file's TAG and the specified event string.

Parameters
eventThe event string for this LogEntry.

AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0