Lines Matching refs:columnIndex

186 sal_Bool SAL_CALL ODatabaseMetaDataResultSet::getBoolean( sal_Int32 columnIndex ) throw(SQLExceptio…  in getBoolean()  argument
192 columnIndex = mapColumn(columnIndex); in getBoolean()
195 if(columnIndex <= m_nDriverColumnCount) in getBoolean()
197 sal_Int32 nType = getMetaData()->getColumnType(columnIndex); in getBoolean()
203 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_BIT,m_bWasNull,**this,&nValue,… in getBoolean()
208 bRet = getInt(columnIndex) != 0; in getBoolean()
215 sal_Int8 SAL_CALL ODatabaseMetaDataResultSet::getByte( sal_Int32 columnIndex ) throw(SQLException, … in getByte() argument
222 columnIndex = mapColumn(columnIndex); in getByte()
224 if(columnIndex <= m_nDriverColumnCount) in getByte()
226 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_TINYINT,m_bWasNull,**this,&nVa… in getByte()
229 …if ( !m_aValueRange.empty() && (aValueRangeIter = m_aValueRange.find(columnIndex)) != m_aValueRang… in getByte()
238 Sequence< sal_Int8 > SAL_CALL ODatabaseMetaDataResultSet::getBytes( sal_Int32 columnIndex ) throw(S… in getBytes() argument
245 columnIndex = mapColumn(columnIndex); in getBytes()
246 if(columnIndex <= m_nDriverColumnCount) in getBytes()
248 sal_Int32 nType = getMetaData()->getColumnType(columnIndex); in getBytes()
254 …::rtl::OUString aRet = OTools::getStringValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_B… in getBytes()
258 …return OTools::getBytesValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_BINARY,m_bWasNull,… in getBytes()
266 ::com::sun::star::util::Date SAL_CALL ODatabaseMetaDataResultSet::getDate( sal_Int32 columnIndex ) … in getDate() argument
272 columnIndex = mapColumn(columnIndex); in getDate()
273 if(columnIndex <= m_nDriverColumnCount) in getDate()
279 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,m_pConnection->useOldDateFormat() ? … in getDate()
288 double SAL_CALL ODatabaseMetaDataResultSet::getDouble( sal_Int32 columnIndex ) throw(SQLException, … in getDouble() argument
295 columnIndex = mapColumn(columnIndex); in getDouble()
297 if(columnIndex <= m_nDriverColumnCount) in getDouble()
298 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_DOUBLE,m_bWasNull,**this,&nVal… in getDouble()
305 float SAL_CALL ODatabaseMetaDataResultSet::getFloat( sal_Int32 columnIndex ) throw(SQLException, Ru… in getFloat() argument
312 columnIndex = mapColumn(columnIndex); in getFloat()
314 if(columnIndex <= m_nDriverColumnCount) in getFloat()
315 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_FLOAT,m_bWasNull,**this,&nVal,… in getFloat()
322 sal_Int32 SAL_CALL ODatabaseMetaDataResultSet::getInt( sal_Int32 columnIndex ) throw(SQLException, … in getInt() argument
329 columnIndex = mapColumn(columnIndex); in getInt()
331 if(columnIndex <= m_nDriverColumnCount) in getInt()
333 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_LONG,m_bWasNull,**this,&nVal,s… in getInt()
336 …if ( !m_aValueRange.empty() && (aValueRangeIter = m_aValueRange.find(columnIndex)) != m_aValueRang… in getInt()
398 sal_Int16 SAL_CALL ODatabaseMetaDataResultSet::getShort( sal_Int32 columnIndex ) throw(SQLException… in getShort() argument
404 columnIndex = mapColumn(columnIndex); in getShort()
406 if(columnIndex <= m_nDriverColumnCount) in getShort()
408 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,SQL_C_SHORT,m_bWasNull,**this,&nVal,… in getShort()
411 …if ( !m_aValueRange.empty() && (aValueRangeIter = m_aValueRange.find(columnIndex)) != m_aValueRang… in getShort()
420 ::rtl::OUString SAL_CALL ODatabaseMetaDataResultSet::getString( sal_Int32 columnIndex ) throw(SQLEx… in getString() argument
427 columnIndex = mapColumn(columnIndex); in getString()
429 if(columnIndex <= m_nDriverColumnCount) in getString()
430 …s::getStringValue(m_pConnection,m_aStatementHandle,columnIndex,impl_getColumnType_nothrow(columnIn… in getString()
440 ::com::sun::star::util::Time SAL_CALL ODatabaseMetaDataResultSet::getTime( sal_Int32 columnIndex ) … in getTime() argument
447 columnIndex = mapColumn(columnIndex); in getTime()
449 if(columnIndex <= m_nDriverColumnCount) in getTime()
450 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,m_pConnection->useOldDateFormat() ? … in getTime()
458 …:DateTime SAL_CALL ODatabaseMetaDataResultSet::getTimestamp( sal_Int32 columnIndex ) throw(SQLExce… in getTimestamp() argument
465 columnIndex = mapColumn(columnIndex); in getTimestamp()
467 if(columnIndex <= m_nDriverColumnCount) in getTimestamp()
468 …OTools::getValue(m_pConnection,m_aStatementHandle,columnIndex,m_pConnection->useOldDateFormat() ? … in getTimestamp()
1320 SWORD ODatabaseMetaDataResultSet::impl_getColumnType_nothrow(sal_Int32 columnIndex) in impl_getColumnType_nothrow() argument
1322 ::std::map<sal_Int32,SWORD>::iterator aFind = m_aODBCColumnTypes.find(columnIndex); in impl_getColumnType_nothrow()
1324 …_Int32,SWORD>::value_type(columnIndex,OResultSetMetaData::getColumnODBCType(m_pConnection,m_aState… in impl_getColumnType_nothrow()