LibreOffice Module connectivity (master) 1
|
Namespaces | |
namespace | SDBCAddress |
Classes | |
struct | ColumnProperty |
struct | ComparisonData |
class | EBookQueryWrapper |
struct | FieldSort |
class | OCommonStatement |
class | OEvoabCatalog |
class | OEvoabColumns |
class | OEvoabConnection |
class | OEvoabDatabaseMetaData |
class | OEvoabDriver |
class | OEvoabPreparedStatement |
class | OEvoabResultSet |
class | OEvoabResultSetMetaData |
class | OEvoabTable |
class | OEvoabTables |
class | OEvoabVersionHelper |
class | OStatement |
struct | QueryData |
struct | SplitEvoColumns |
Typedefs | |
typedef connectivity::OMetaConnection | OConnection_BASE |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo > | ODriver_BASE |
typedef ::cppu::ImplHelper5< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XResultSetMetaDataSupplier, css::sdbc::XMultipleResults, css::lang::XServiceInfo > | OPreparedStatement_BASE |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XResultSet, css::sdbc::XRow, css::sdbc::XResultSetMetaDataSupplier, css::util::XCancellable, css::sdbc::XWarningsSupplier, css::sdbc::XCloseable, css::sdbc::XColumnLocate, css::lang::XServiceInfo > | OResultSet_BASE |
typedef ::cppu::WeakImplHelper< css::sdbc::XResultSetMetaData > | OResultSetMetaData_BASE |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier, css::sdbc::XCloseable > | OCommonStatement_IBase |
typedef std::vector< FieldSort > | SortDescriptor |
typedef ::cppu::ImplHelper2< css::lang::XServiceInfo, css::sdbc::XStatement > | OStatement_IBase |
typedef connectivity::sdbcx::OTable | OEvoabTable_TYPEDEF |
Enumerations | |
enum | ColumnNumber { DEFAULT_ADDR_LINE1 =1 , DEFAULT_ADDR_LINE2 , DEFAULT_CITY , DEFAULT_STATE , DEFAULT_COUNTRY , DEFAULT_ZIP , WORK_ADDR_LINE1 , WORK_ADDR_LINE2 , WORK_CITY , WORK_STATE , WORK_COUNTRY , WORK_ZIP , HOME_ADDR_LINE1 , HOME_ADDR_LINE2 , HOME_CITY , HOME_STATE , HOME_COUNTRY , HOME_ZIP , OTHER_ADDR_LINE1 , OTHER_ADDR_LINE2 , OTHER_CITY , OTHER_STATE , OTHER_COUNTRY , OTHER_ZIP } |
enum | QueryFilterType { eFilterAlwaysFalse , eFilterNone , eFilterOther } |
Functions | |
const SplitEvoColumns * | get_evo_addr () |
static void | splitColumn (ColumnProperty **pToBeFields) |
static void | initFields () |
const ColumnProperty * | getField (guint n) |
GType | getGFieldType (guint nCol) |
sal_Int32 | getFieldType (guint nCol) |
guint | findEvoabField (std::u16string_view aColName) |
OUString | getFieldTypeName (guint nCol) |
OUString | getFieldName (guint nCol) |
void | free_column_resources () |
static OUString | valueToOUString (GValue &_rValue) |
static bool | valueToBool (GValue &_rValue) |
static int | whichAddress (int value) |
static EContactAddress * | getDefaultContactAddress (EContact *pContact, int *value) |
static EContactAddress * | getContactAddress (EContact *pContact, int *address_enum) |
static bool | handleSplitAddress (EContact *pContact, GValue *pStackValue, int value) |
static bool | getValue (EContact *pContact, sal_Int32 nColumnNum, GType nType, GValue *pStackValue, bool &_out_rWasNull) |
static int | CompareContacts (gconstpointer _lhs, gconstpointer _rhs, gpointer _userData) |
IMPLEMENT_SERVICE_INFO (OStatement, "com.sun.star.comp.sdbcx.evoab.OStatement", "com.sun.star.sdbc.Statement") | |
Variables | |
sal_Int32 const | s_nCOLUMN_SIZE = 256 |
sal_Int32 const | s_nDECIMAL_DIGITS = 0 |
sal_Int32 const | s_nNULLABLE = 1 |
sal_Int32 const | s_nCHAR_OCTET_LENGTH = 65535 |
static ColumnProperty ** | pFields =nullptr |
static guint | nFields = 0 |
static const char * | pDenyList [] |
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XWarningsSupplier , css::sdbc::XCloseable > connectivity::evoab::OCommonStatement_IBase |
Definition at line 49 of file NStatement.hxx.
Definition at line 44 of file NConnection.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XDriver, css::lang::XServiceInfo > connectivity::evoab::ODriver_BASE |
Definition at line 36 of file NDriver.hxx.
Definition at line 27 of file NTable.hxx.
typedef ::cppu::ImplHelper5< css::sdbc::XPreparedStatement, css::sdbc::XParameters, css::sdbc::XResultSetMetaDataSupplier, css::sdbc::XMultipleResults, css::lang::XServiceInfo> connectivity::evoab::OPreparedStatement_BASE |
Definition at line 40 of file NPreparedStatement.hxx.
typedef ::cppu::WeakComponentImplHelper< css::sdbc::XResultSet , css::sdbc::XRow , css::sdbc::XResultSetMetaDataSupplier , css::util::XCancellable , css::sdbc::XWarningsSupplier , css::sdbc::XCloseable , css::sdbc::XColumnLocate , css::lang::XServiceInfo > connectivity::evoab::OResultSet_BASE |
Definition at line 72 of file NResultSet.hxx.
typedef ::cppu::WeakImplHelper< css::sdbc::XResultSetMetaData> connectivity::evoab::OResultSetMetaData_BASE |
Definition at line 33 of file NResultSetMetaData.hxx.
typedef ::cppu::ImplHelper2< css::lang::XServiceInfo , css::sdbc::XStatement > connectivity::evoab::OStatement_IBase |
Definition at line 240 of file NStatement.hxx.
typedef std::vector< FieldSort > connectivity::evoab::SortDescriptor |
Definition at line 58 of file NStatement.hxx.
Definition at line 41 of file NDatabaseMetaData.hxx.
Enumerator | |
---|---|
eFilterAlwaysFalse | |
eFilterNone | |
eFilterOther |
Definition at line 60 of file NStatement.hxx.
|
static |
Definition at line 294 of file NResultSet.cxx.
References connectivity::evoab::ComparisonData::aIntlWrapper, CollatorWrapper::compareString(), IntlWrapper::getCaseCollator(), getGFieldType(), getValue(), connectivity::evoab::ComparisonData::rSortOrder, valueToBool(), and valueToOUString().
guint connectivity::evoab::findEvoabField | ( | std::u16string_view | aColName | ) |
Definition at line 173 of file NDatabaseMetaData.cxx.
References aName, getFieldName(), i, initFields(), and nFields.
Referenced by connectivity::evoab::OCommonStatement::orderByAnalysis(), and connectivity::evoab::OEvoabResultSetMetaData::setEvoabFields().
void connectivity::evoab::free_column_resources | ( | ) |
Definition at line 222 of file NDatabaseMetaData.cxx.
References i, nFields, and pFields.
Referenced by connectivity::evoab::OEvoabPreparedStatement::close().
const SplitEvoColumns * connectivity::evoab::get_evo_addr | ( | ) |
Definition at line 69 of file NDatabaseMetaData.cxx.
References DEFAULT_ADDR_LINE1, DEFAULT_ADDR_LINE2, DEFAULT_CITY, DEFAULT_COUNTRY, DEFAULT_STATE, DEFAULT_ZIP, HOME_ADDR_LINE1, HOME_ADDR_LINE2, HOME_CITY, HOME_COUNTRY, HOME_STATE, HOME_ZIP, OTHER_ADDR_LINE1, OTHER_ADDR_LINE2, OTHER_CITY, OTHER_COUNTRY, OTHER_STATE, OTHER_ZIP, WORK_ADDR_LINE1, WORK_ADDR_LINE2, WORK_CITY, WORK_COUNTRY, WORK_STATE, and WORK_ZIP.
Referenced by getValue(), and splitColumn().
|
static |
Definition at line 171 of file NResultSet.cxx.
References DEFAULT_ADDR_LINE1, DEFAULT_ADDR_LINE2, DEFAULT_CITY, DEFAULT_COUNTRY, DEFAULT_STATE, DEFAULT_ZIP, e_contact_get, getDefaultContactAddress(), and whichAddress().
Referenced by handleSplitAddress().
|
static |
Definition at line 148 of file NResultSet.cxx.
References e_contact_get, HOME_ADDR_LINE1, OTHER_ADDR_LINE1, EContactAddress::street, value, whichAddress(), and WORK_ADDR_LINE1.
Referenced by getContactAddress().
const ColumnProperty * connectivity::evoab::getField | ( | guint | n | ) |
Definition at line 147 of file NDatabaseMetaData.cxx.
References initFields(), n, nFields, and pFields.
Referenced by getFieldName(), and getValue().
OUString connectivity::evoab::getFieldName | ( | guint | nCol | ) |
Definition at line 206 of file NDatabaseMetaData.cxx.
References aName, getField(), initFields(), and connectivity::evoab::ColumnProperty::pField.
Referenced by findEvoabField(), connectivity::evoab::OEvoabResultSetMetaData::getColumnName(), and connectivity::evoab::OEvoabDatabaseMetaData::getColumns().
sal_Int32 connectivity::evoab::getFieldType | ( | guint | nCol | ) |
Definition at line 167 of file NDatabaseMetaData.cxx.
References getGFieldType(), and nType.
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getColumns(), connectivity::evoab::OEvoabResultSetMetaData::getColumnType(), and getFieldTypeName().
OUString connectivity::evoab::getFieldTypeName | ( | guint | nCol | ) |
Definition at line 191 of file NDatabaseMetaData.cxx.
References getFieldType().
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getColumns(), and connectivity::evoab::OEvoabResultSetMetaData::getColumnTypeName().
GType connectivity::evoab::getGFieldType | ( | guint | nCol | ) |
Definition at line 157 of file NDatabaseMetaData.cxx.
References initFields(), nFields, connectivity::evoab::ColumnProperty::pField, and pFields.
Referenced by CompareContacts(), and getFieldType().
|
static |
Definition at line 243 of file NResultSet.cxx.
References connectivity::evoab::ColumnProperty::bIsSplittedValue, get_evo_addr(), getField(), handleSplitAddress(), i, nType, OTHER_ZIP, connectivity::evoab::ColumnProperty::pField, SAL_WARN, and value.
Referenced by CompareContacts(), connectivity::evoab::OEvoabResultSet::getBoolean(), connectivity::component::OComponentDatabaseMetaData::getColumns(), connectivity::dbase::ODbaseDatabaseMetaData::getColumns(), connectivity::flat::OFlatDatabaseMetaData::getColumns(), and connectivity::evoab::OEvoabResultSet::getString().
|
static |
Definition at line 190 of file NResultSet.cxx.
References EContactAddress::code, EContactAddress::country, getContactAddress(), HOME_ADDR_LINE1, HOME_ADDR_LINE2, HOME_CITY, HOME_COUNTRY, HOME_STATE, HOME_ZIP, EContactAddress::locality, OTHER_ADDR_LINE1, OTHER_ADDR_LINE2, OTHER_CITY, OTHER_COUNTRY, OTHER_STATE, OTHER_ZIP, EContactAddress::po, EContactAddress::region, EContactAddress::street, value, WORK_ADDR_LINE1, WORK_ADDR_LINE2, WORK_CITY, WORK_COUNTRY, WORK_STATE, and WORK_ZIP.
Referenced by getValue().
connectivity::evoab::IMPLEMENT_SERVICE_INFO | ( | OStatement | , |
"com.sun.star.comp.sdbcx.evoab.OStatement" | , | ||
"com.sun.star.sdbc.Statement" | |||
) |
References IMPLEMENT_FORWARD_XINTERFACE2().
|
static |
Definition at line 94 of file NDatabaseMetaData.cxx.
References connectivity::evoab::ColumnProperty::bIsSplittedValue, E_TYPE_CONTACT, i, nFields, OTHER_ZIP, pDenyList, connectivity::evoab::ColumnProperty::pField, pFields, pName, and splitColumn().
Referenced by findEvoabField(), connectivity::evoab::OEvoabDatabaseMetaData::getColumns(), getField(), getFieldName(), and getGFieldType().
|
static |
Definition at line 81 of file NDatabaseMetaData.cxx.
References connectivity::evoab::ColumnProperty::bIsSplittedValue, get_evo_addr(), i, nFields, OTHER_ZIP, and connectivity::evoab::ColumnProperty::pField.
Referenced by initFields().
|
static |
Definition at line 98 of file NResultSet.cxx.
Referenced by CompareContacts(), and connectivity::evoab::OEvoabResultSet::getBoolean().
|
static |
Definition at line 88 of file NResultSet.cxx.
References aStr.
Referenced by CompareContacts(), and connectivity::evoab::OEvoabResultSet::getString().
Definition at line 106 of file NResultSet.cxx.
References e_contact_field_id, HOME_ADDR_LINE1, HOME_ADDR_LINE2, HOME_CITY, HOME_COUNTRY, HOME_STATE, HOME_ZIP, OTHER_ADDR_LINE1, OTHER_ADDR_LINE2, OTHER_CITY, OTHER_COUNTRY, OTHER_STATE, OTHER_ZIP, value, WORK_ADDR_LINE1, WORK_ADDR_LINE2, WORK_CITY, WORK_COUNTRY, WORK_STATE, and WORK_ZIP.
Referenced by getContactAddress(), and getDefaultContactAddress().
|
static |
Definition at line 58 of file NDatabaseMetaData.cxx.
Referenced by findEvoabField(), free_column_resources(), connectivity::evoab::OEvoabDatabaseMetaData::getColumns(), getField(), getGFieldType(), initFields(), and splitColumn().
|
static |
Definition at line 60 of file NDatabaseMetaData.cxx.
Referenced by initFields().
|
static |
Definition at line 57 of file NDatabaseMetaData.cxx.
Referenced by connectivity::mysqlc::OResultSet::ensureFieldInfoFetched(), connectivity::mysqlc::OPreparedResultSet::findColumn(), free_column_resources(), connectivity::ado::OResultSetMetaData::getColumnCount(), getField(), connectivity::ado::WpADORecordset::GetFields(), getGFieldType(), and initFields().
sal_Int32 const connectivity::evoab::s_nCHAR_OCTET_LENGTH = 65535 |
Definition at line 55 of file NDatabaseMetaData.cxx.
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getColumns(), and connectivity::evoab::OEvoabDatabaseMetaData::impl_getTypeInfo_throw().
sal_Int32 const connectivity::evoab::s_nCOLUMN_SIZE = 256 |
Definition at line 52 of file NDatabaseMetaData.cxx.
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getColumns().
sal_Int32 const connectivity::evoab::s_nDECIMAL_DIGITS = 0 |
Definition at line 53 of file NDatabaseMetaData.cxx.
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getColumns().
sal_Int32 const connectivity::evoab::s_nNULLABLE = 1 |
Definition at line 54 of file NDatabaseMetaData.cxx.
Referenced by connectivity::evoab::OEvoabDatabaseMetaData::getColumns().