Lines Matching refs:columnIndex

419 sal_Bool SAL_CALL OResultSet::getBoolean( sal_Int32 columnIndex ) throw(SQLException, RuntimeExcept…  in getBoolean()  argument
422 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_BIT,&nVal,sizeof nVal); in getBoolean()
427 sal_Int8 SAL_CALL OResultSet::getByte( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in getByte() argument
430 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_TINYINT,&nRet,sizeof nRet); in getByte()
435 Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes( sal_Int32 columnIndex ) throw(SQLException, Run… in getBytes() argument
445 if(columnIndex > m_nLastColumnPos) in getBytes()
446 fillRow(columnIndex); in getBytes()
448 switch(m_aRow[columnIndex].getTypeKind()) in getBytes()
453 nRet = m_aRow[columnIndex]; in getBytes()
458 sRet = m_aRow[columnIndex].getString(); in getBytes()
465 const SWORD nColumnType = impl_getColumnType_nothrow(columnIndex); in getBytes()
476 …ls::getStringValue(m_pStatement->getOwnConnection(),m_aStatementHandle,columnIndex,nColumnType,m_b… in getBytes()
482 …return OTools::getBytesValue(m_pStatement->getOwnConnection(),m_aStatementHandle,columnIndex,SQL_C… in getBytes()
486 Date SAL_CALL OResultSet::getDate( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in getDate() argument
494 const ORowSetValue& aValue = getValue( columnIndex, in getDate()
501 double SAL_CALL OResultSet::getDouble( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in getDouble() argument
504 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_DOUBLE,&nRet,sizeof nRet); in getDouble()
509 float SAL_CALL OResultSet::getFloat( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in getFloat() argument
512 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_FLOAT,&nRet,sizeof nRet); in getFloat()
517 sal_Int32 SAL_CALL OResultSet::getInt( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in getInt() argument
520 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_LONG,&nRet,sizeof nRet); in getInt()
534 sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 columnIndex ) throw(SQLException, RuntimeExceptio… in getLong() argument
539 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_SBIGINT,&nRet,sizeof nRet); in getLong()
544 nRet = getString(columnIndex).toInt64(); in getLong()
590 Any SAL_CALL OResultSet::getObject( sal_Int32 columnIndex, const Reference< ::com::sun::star::conta… in getObject() argument
596 fillRow(columnIndex); in getObject()
597 return m_aRow[columnIndex].makeAny(); in getObject()
601 sal_Int16 SAL_CALL OResultSet::getShort( sal_Int32 columnIndex ) throw(SQLException, RuntimeExcepti… in getShort() argument
604 const ORowSetValue& aValue = getValue(columnIndex,SQL_C_SHORT,&nRet,sizeof nRet); in getShort()
610 ::rtl::OUString SAL_CALL OResultSet::getString( sal_Int32 columnIndex ) throw(SQLException, Runtime… in getString() argument
617 nRet = getValue(columnIndex,0,NULL,0); in getString()
621 const SWORD nColumnType = impl_getColumnType_nothrow(columnIndex); in getString()
622 …nRet = OTools::getStringValue(m_pStatement->getOwnConnection(),m_aStatementHandle,columnIndex,nCol… in getString()
628 Time SAL_CALL OResultSet::getTime( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in getTime() argument
632 const ORowSetValue& aValue = getValue(columnIndex, in getTime()
640 DateTime SAL_CALL OResultSet::getTimestamp( sal_Int32 columnIndex ) throw(SQLException, RuntimeExce… in getTimestamp() argument
644 const ORowSetValue& aValue = getValue(columnIndex, in getTimestamp()
991 void OResultSet::updateValue(sal_Int32 columnIndex,SQLSMALLINT _nType,void* _pValue) throw(SQLExcep… in updateValue() argument
997 m_aBindVector.push_back(allocBindColumn(OTools::MapOdbcType2Jdbc(_nType),columnIndex)); in updateValue()
1002 columnIndex, in updateValue()
1007 &m_aLengthVector[columnIndex], in updateValue()
1013 void SAL_CALL OResultSet::updateNull( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) in updateNull() argument
1018 m_aBindVector.push_back(allocBindColumn(DataType::CHAR,columnIndex)); in updateNull()
1020 …->getOwnConnection(),m_aStatementHandle,columnIndex,SQL_CHAR,0,(sal_Int8*)NULL,pData,&m_aLengthVec… in updateNull()
1024 void SAL_CALL OResultSet::updateBoolean( sal_Int32 columnIndex, sal_Bool x ) throw(SQLException, Ru… in updateBoolean() argument
1026 updateValue(columnIndex,SQL_BIT,&x); in updateBoolean()
1029 void SAL_CALL OResultSet::updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw(SQLException, Runti… in updateByte() argument
1031 updateValue(columnIndex,SQL_CHAR,&x); in updateByte()
1035 void SAL_CALL OResultSet::updateShort( sal_Int32 columnIndex, sal_Int16 x ) throw(SQLException, Run… in updateShort() argument
1037 updateValue(columnIndex,SQL_TINYINT,&x); in updateShort()
1040 void SAL_CALL OResultSet::updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw(SQLException, Runti… in updateInt() argument
1042 updateValue(columnIndex,SQL_INTEGER,&x); in updateInt()
1050 void SAL_CALL OResultSet::updateFloat( sal_Int32 columnIndex, float x ) throw(SQLException, Runtime… in updateFloat() argument
1052 updateValue(columnIndex,SQL_REAL,&x); in updateFloat()
1056 void SAL_CALL OResultSet::updateDouble( sal_Int32 columnIndex, double x ) throw(SQLException, Runti… in updateDouble() argument
1058 updateValue(columnIndex,SQL_DOUBLE,&x); in updateDouble()
1061 void SAL_CALL OResultSet::updateString( sal_Int32 columnIndex, const ::rtl::OUString& x ) throw(SQL… in updateString() argument
1063 sal_Int32 nType = m_aRow[columnIndex].getTypeKind(); in updateString()
1065 m_aRow[columnIndex] = x; in updateString()
1066 …m_aRow[columnIndex].setTypeKind(nType); // OJ: otherwise longvarchar will be recognized by fillNee… in updateString()
1067 updateValue(columnIndex,nOdbcType,(void*)&x); in updateString()
1070 void SAL_CALL OResultSet::updateBytes( sal_Int32 columnIndex, const Sequence< sal_Int8 >& x ) throw… in updateBytes() argument
1072 sal_Int32 nType = m_aRow[columnIndex].getTypeKind(); in updateBytes()
1074 m_aRow[columnIndex] = x; in updateBytes()
1075 …m_aRow[columnIndex].setTypeKind(nType); // OJ: otherwise longvarbinary will be recognized by fillN… in updateBytes()
1076 updateValue(columnIndex,nOdbcType,(void*)&x); in updateBytes()
1079 void SAL_CALL OResultSet::updateDate( sal_Int32 columnIndex, const Date& x ) throw(SQLException, Ru… in updateDate() argument
1082 updateValue(columnIndex,SQL_DATE,&aVal); in updateDate()
1086 void SAL_CALL OResultSet::updateTime( sal_Int32 columnIndex, const Time& x ) throw(SQLException, Ru… in updateTime() argument
1089 updateValue(columnIndex,SQL_TIME,&aVal); in updateTime()
1093 void SAL_CALL OResultSet::updateTimestamp( sal_Int32 columnIndex, const DateTime& x ) throw(SQLExce… in updateTimestamp() argument
1096 updateValue(columnIndex,SQL_TIMESTAMP,&aVal); in updateTimestamp()
1100 void SAL_CALL OResultSet::updateBinaryStream( sal_Int32 columnIndex, const Reference< XInputStream … in updateBinaryStream() argument
1107 updateBytes(columnIndex,aSeq); in updateBinaryStream()
1110 void SAL_CALL OResultSet::updateCharacterStream( sal_Int32 columnIndex, const Reference< XInputStre… in updateCharacterStream() argument
1112 updateBinaryStream(columnIndex,x,length); in updateCharacterStream()
1127 void SAL_CALL OResultSet::updateObject( sal_Int32 columnIndex, const Any& x ) throw(SQLException, R… in updateObject() argument
1129 if (!::dbtools::implUpdateObject(this, columnIndex, x)) in updateObject()
1134 void SAL_CALL OResultSet::updateNumericObject( sal_Int32 columnIndex, const Any& x, sal_Int32 /*sca… in updateNumericObject() argument
1136 if (!::dbtools::implUpdateObject(this, columnIndex, x)) in updateNumericObject()
1753 SWORD OResultSet::impl_getColumnType_nothrow(sal_Int32 columnIndex) in impl_getColumnType_nothrow() argument
1755 ::std::map<sal_Int32,SWORD>::iterator aFind = m_aODBCColumnTypes.find(columnIndex); in impl_getColumnType_nothrow()
1757 …ORD>::value_type(columnIndex,OResultSetMetaData::getColumnODBCType(m_pStatement->getOwnConnection(… in impl_getColumnType_nothrow()