31OResultSetPrivileges::OResultSetPrivileges(
const Reference< XDatabaseMetaData>& _rxMeta
33 ,
const OUString& schemaPattern
34 ,
const OUString& tableNamePattern)
36 , m_bResetValues(true)
40 OUString sUserWorkingFor;
42 Sequence< OUString > sTableTypes {
"VIEW",
"TABLE",
"%"};
45 m_xTables = _rxMeta->getTables(catalog,schemaPattern,tableNamePattern,sTableTypes);
48 sUserWorkingFor = _rxMeta->getUserName();
59 aRows.push_back(aRow);
61 aRows.push_back(aRow);
63 aRows.push_back(aRow);
65 aRows.push_back(aRow);
67 aRows.push_back(aRow);
69 aRows.push_back(aRow);
71 aRows.push_back(aRow);
73 aRows.push_back(aRow);
75 aRows.push_back(aRow);
93 (*m_aRowsIter)[1]->setNull();
96 (*m_aRowsIter)[2]->setNull();
99 (*m_aRowsIter)[3]->setNull();
116 ::osl::MutexGuard aGuard(
m_aMutex );
117 checkDisposed(ODatabaseMetaDataResultSet_BASE::rBHelper.bDisposed );
119 bool bReturn =
false;
css::uno::Reference< css::sdbc::XResultSet > m_xTables
virtual const ORowSetValue & getValue(sal_Int32 columnIndex) override
css::uno::Reference< css::sdbc::XRow > m_xRow
virtual sal_Bool SAL_CALL next() override
virtual void SAL_CALL disposing() override
ORowSetValueDecorator decorates an ORowSetValue so the value is "refcounted".
mutable::osl::Mutex m_aMutex
void checkDisposed(bool _bThrow)