LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
connectivity::java_sql_ResultSetMetaData Class Referencefinal

#include <ResultSetMetaData.hxx>

Inheritance diagram for connectivity::java_sql_ResultSetMetaData:
[legend]
Collaboration diagram for connectivity::java_sql_ResultSetMetaData:
[legend]

Public Member Functions

virtual jclass getMyClass () const override
 
 java_sql_ResultSetMetaData (JNIEnv *pEnv, jobject myObj, java_sql_Connection &_rCon)
 
virtual sal_Int32 SAL_CALL getColumnCount () override
 
virtual sal_Bool SAL_CALL isAutoIncrement (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isCaseSensitive (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isSearchable (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isCurrency (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL isNullable (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isSigned (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getColumnDisplaySize (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnLabel (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnName (sal_Int32 column) override
 
virtual OUString SAL_CALL getSchemaName (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getPrecision (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getScale (sal_Int32 column) override
 
virtual OUString SAL_CALL getTableName (sal_Int32 column) override
 
virtual OUString SAL_CALL getCatalogName (sal_Int32 column) override
 
virtual sal_Int32 SAL_CALL getColumnType (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnTypeName (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isReadOnly (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isWritable (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL isDefinitelyWritable (sal_Int32 column) override
 
virtual OUString SAL_CALL getColumnServiceName (sal_Int32 column) override
 
- Public Member Functions inherited from connectivity::java_lang_Object
 java_lang_Object (JNIEnv *pEnv, jobject myObj)
 
 java_lang_Object ()
 
virtual ~java_lang_Object () COVERITY_NOEXCEPT_FALSE
 
void saveRef (JNIEnv *pEnv, jobject myObj)
 
jobject getJavaObject () const
 
void clearObject (JNIEnv &rEnv)
 
void clearObject ()
 
OUString toString () const
 
static ::rtl::Reference< jvmaccess::VirtualMachinegetVM (const css::uno::Reference< css::uno::XComponentContext > &_rxContext=nullptr)
 
void obtainMethodId_throwSQL (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const
 
void obtainMethodId_throwRuntime (JNIEnv *_pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const
 
bool callBooleanMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
bool callBooleanMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
jobject callResultSetMethod (JNIEnv &_rEnv, const char *_pMethodName, jmethodID &_inout_MethodID) const
 
sal_Int32 callIntMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
sal_Int32 callIntMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
sal_Int32 callIntMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
sal_Int32 callIntMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
sal_Int32 callIntMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const
 
OUString callStringMethod (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
OUString callStringMethodWithIntArg (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
void callVoidMethod_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
void callVoidMethod_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID) const
 
void callVoidMethodWithIntArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
void callVoidMethodWithIntArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
void callVoidMethodWithBoolArg_ThrowSQL (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const
 
void callVoidMethodWithBoolArg_ThrowRuntime (const char *_pMethodName, jmethodID &_inout_MethodID, bool _nArgument) const
 
void callVoidMethodWithStringArg (const char *_pMethodName, jmethodID &_inout_MethodID, const OUString &_nArgument) const
 
jobject callObjectMethod (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID) const
 
jobject callObjectMethodWithIntArg (JNIEnv *pEnv, const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
template<typename T >
callMethodWithIntArg (T(JNIEnv::*pCallMethod)(jobject obj, jmethodID methodID,...), const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument) const
 
template<typename T >
void callVoidMethod_ThrowSQL (const char *_pMethodName, const char *_pSignature, jmethodID &_inout_MethodID, sal_Int32 _nArgument, const T &_aValue) const
 

Private Member Functions

virtual ~java_sql_ResultSetMetaData () override
 

Private Attributes

java_sql_Connectionm_pConnection
 
sal_Int32 m_nColumnCount
 

Static Private Attributes

static jclass theClass = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from connectivity::java_lang_Object
static void ThrowSQLException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext)
 
static void ThrowLoggedSQLException (const ::comphelper::EventLogger &_rLogger, JNIEnv *pEnvironment, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
static void ThrowRuntimeException (JNIEnv *pEnv, const css::uno::Reference< css::uno::XInterface > &_rContext)
 
static jclass findMyClass (const char *_pClassName)
 
virtual jclass getMyClass () const
 
- Protected Attributes inherited from connectivity::java_lang_Object
jobject object
 
- Static Protected Attributes inherited from connectivity::java_lang_Object
static jclass theClass = nullptr
 

Detailed Description

Definition at line 31 of file inc/java/sql/ResultSetMetaData.hxx.

Constructor & Destructor Documentation

◆ ~java_sql_ResultSetMetaData()

java_sql_ResultSetMetaData::~java_sql_ResultSetMetaData ( )
overrideprivatevirtual

◆ java_sql_ResultSetMetaData()

java_sql_ResultSetMetaData::java_sql_ResultSetMetaData ( JNIEnv *  pEnv,
jobject  myObj,
java_sql_Connection _rCon 
)

Member Function Documentation

◆ getCatalogName()

OUString SAL_CALL java_sql_ResultSetMetaData::getCatalogName ( sal_Int32  column)
overridevirtual

◆ getColumnCount()

sal_Int32 SAL_CALL java_sql_ResultSetMetaData::getColumnCount ( )
overridevirtual

◆ getColumnDisplaySize()

sal_Int32 SAL_CALL java_sql_ResultSetMetaData::getColumnDisplaySize ( sal_Int32  column)
overridevirtual

◆ getColumnLabel()

OUString SAL_CALL java_sql_ResultSetMetaData::getColumnLabel ( sal_Int32  column)
overridevirtual

◆ getColumnName()

OUString SAL_CALL java_sql_ResultSetMetaData::getColumnName ( sal_Int32  column)
overridevirtual

◆ getColumnServiceName()

OUString SAL_CALL java_sql_ResultSetMetaData::getColumnServiceName ( sal_Int32  column)
overridevirtual

◆ getColumnType()

sal_Int32 SAL_CALL java_sql_ResultSetMetaData::getColumnType ( sal_Int32  column)
overridevirtual

◆ getColumnTypeName()

OUString SAL_CALL java_sql_ResultSetMetaData::getColumnTypeName ( sal_Int32  column)
overridevirtual

◆ getMyClass()

jclass java_sql_ResultSetMetaData::getMyClass ( ) const
overridevirtual

◆ getPrecision()

sal_Int32 SAL_CALL java_sql_ResultSetMetaData::getPrecision ( sal_Int32  column)
overridevirtual

◆ getScale()

sal_Int32 SAL_CALL java_sql_ResultSetMetaData::getScale ( sal_Int32  column)
overridevirtual

◆ getSchemaName()

OUString SAL_CALL java_sql_ResultSetMetaData::getSchemaName ( sal_Int32  column)
overridevirtual

◆ getTableName()

OUString SAL_CALL java_sql_ResultSetMetaData::getTableName ( sal_Int32  column)
overridevirtual

◆ isAutoIncrement()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isAutoIncrement ( sal_Int32  column)
overridevirtual

◆ isCaseSensitive()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isCaseSensitive ( sal_Int32  column)
overridevirtual

◆ isCurrency()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isCurrency ( sal_Int32  column)
overridevirtual

◆ isDefinitelyWritable()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isDefinitelyWritable ( sal_Int32  column)
overridevirtual

◆ isNullable()

sal_Int32 SAL_CALL java_sql_ResultSetMetaData::isNullable ( sal_Int32  column)
overridevirtual

◆ isReadOnly()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isReadOnly ( sal_Int32  column)
overridevirtual

◆ isSearchable()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isSearchable ( sal_Int32  column)
overridevirtual

◆ isSigned()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isSigned ( sal_Int32  column)
overridevirtual

◆ isWritable()

sal_Bool SAL_CALL java_sql_ResultSetMetaData::isWritable ( sal_Int32  column)
overridevirtual

Member Data Documentation

◆ m_nColumnCount

sal_Int32 connectivity::java_sql_ResultSetMetaData::m_nColumnCount
private

Definition at line 35 of file inc/java/sql/ResultSetMetaData.hxx.

Referenced by getColumnCount().

◆ m_pConnection

java_sql_Connection* connectivity::java_sql_ResultSetMetaData::m_pConnection
private

Definition at line 34 of file inc/java/sql/ResultSetMetaData.hxx.

Referenced by isCurrency().

◆ theClass

jclass java_sql_ResultSetMetaData::theClass = nullptr
staticprivate

Definition at line 38 of file inc/java/sql/ResultSetMetaData.hxx.

Referenced by getMyClass().


The documentation for this class was generated from the following files: