22#include <com/sun/star/sdbc/XRow.hpp>
23#include <com/sun/star/sdbc/XResultSet.hpp>
39 std::vector< OUString> aVector;
45 const OUString& Catalog,
47 bool _isPrimaryKeyIndex,
66 std::vector< OUString> aVector;
70 OUString aSchema,aTable;
76 aSchema,aTable,
false,
false);
80 Reference< XRow > xRow(xResult,UNO_QUERY);
82 while( xResult->next() )
84 if ( xRow->getString(6) ==
m_Name )
86 aColName = xRow->getString(9);
87 if ( !xRow->wasNull() )
88 aVector.push_back(aColName);
OIndexHelper(OTableHelper *_pTable)
virtual void refreshColumns() override
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > getMetaData() const override
std::unique_ptr< OCollection > m_pColumns
virtual void construct() override
mutable::osl::Mutex m_aMutex
#define PROPERTY_ID_CATALOGNAME
#define PROPERTY_ID_SCHEMANAME