LibreOffice Module connectivity (master) 1
|
#include <Blob.hxx>
Public Member Functions | |
virtual jclass | getMyClass () const override |
java_sql_Blob (JNIEnv *pEnv, jobject myObj) | |
virtual sal_Int64 SAL_CALL | length () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getBytes (sal_Int64 pos, sal_Int32 length) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getBinaryStream () override |
virtual sal_Int64 SAL_CALL | position (const css::uno::Sequence< sal_Int8 > &pattern, sal_Int64 start) override |
virtual sal_Int64 SAL_CALL | positionOfBlob (const css::uno::Reference< css::sdbc::XBlob > &pattern, sal_Int64 start) 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::VirtualMachine > | getVM (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 > | |
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 |
Protected Member Functions | |
virtual | ~java_sql_Blob () override |
virtual jclass | getMyClass () const |
Static Protected Attributes | |
static jclass | theClass = nullptr |
Static Protected Attributes inherited from connectivity::java_lang_Object | |
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) |
Protected Attributes inherited from connectivity::java_lang_Object | |
jobject | object |
Definition at line 32 of file inc/java/sql/Blob.hxx.
|
overrideprotectedvirtual |
Definition at line 38 of file jdbc/Blob.cxx.
References connectivity::SDBThreadAttach::releaseRef().
java_sql_Blob::java_sql_Blob | ( | JNIEnv * | pEnv, |
jobject | myObj | ||
) |
Definition at line 33 of file jdbc/Blob.cxx.
References connectivity::SDBThreadAttach::addRef().
|
overridevirtual |
Definition at line 94 of file jdbc/Blob.cxx.
References connectivity::java_lang_Object::callObjectMethod(), and t.
|
overridevirtual |
Definition at line 68 of file jdbc/Blob.cxx.
References aSeq, count, connectivity::java_lang_Object::obtainMethodId_throwSQL(), p, pos, t, and connectivity::java_lang_Object::ThrowSQLException().
|
overridevirtual |
Reimplemented from connectivity::java_lang_Object.
Definition at line 43 of file jdbc/Blob.cxx.
References connectivity::java_lang_Object::findMyClass(), and theClass.
|
overridevirtual |
Definition at line 51 of file jdbc/Blob.cxx.
References connectivity::java_lang_Object::obtainMethodId_throwSQL(), t, and connectivity::java_lang_Object::ThrowSQLException().
|
overridevirtual |
Definition at line 103 of file jdbc/Blob.cxx.
References connectivity::java_lang_Object::obtainMethodId_throwSQL(), start, t, and connectivity::java_lang_Object::ThrowSQLException().
|
overridevirtual |
Definition at line 133 of file jdbc/Blob.cxx.
References dbtools::throwFeatureNotImplementedSQLException().
|
staticprotected |
Definition at line 37 of file inc/java/sql/Blob.hxx.
Referenced by getMyClass().