sqlite

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package sqlite provides Go bindings for android.database.sqlite.

Index

Constants

View Source
const (
	SqliteDataTypeBlob         = consts.SqliteDataTypeBlob
	SqliteDataTypeFloat        = consts.SqliteDataTypeFloat
	SqliteDataTypeInteger      = consts.SqliteDataTypeInteger
	SqliteDataTypeNull         = consts.SqliteDataTypeNull
	SqliteDataTypeText         = consts.SqliteDataTypeText
	ConflictAbort              = consts.ConflictAbort
	ConflictFail               = consts.ConflictFail
	ConflictIgnore             = consts.ConflictIgnore
	ConflictNone               = consts.ConflictNone
	ConflictReplace            = consts.ConflictReplace
	ConflictRollback           = consts.ConflictRollback
	CreateIfNecessary          = consts.CreateIfNecessary
	EnableWriteAheadLogging    = consts.EnableWriteAheadLogging
	MaxSqlCacheSize            = consts.MaxSqlCacheSize
	NoLocalizedCollators       = consts.NoLocalizedCollators
	OpenReadonly               = consts.OpenReadonly
	OpenReadwrite              = consts.OpenReadwrite
	SqliteMaxLikePatternLength = consts.SqliteMaxLikePatternLength
)
View Source
const (
	JournalModeDelete   = consts.JournalModeDelete
	JournalModeMemory   = consts.JournalModeMemory
	JournalModeOff      = consts.JournalModeOff
	JournalModePersist  = consts.JournalModePersist
	JournalModeTruncate = consts.JournalModeTruncate
	JournalModeWal      = consts.JournalModeWal
	SyncModeExtra       = consts.SyncModeExtra
	SyncModeFull        = consts.SyncModeFull
	SyncModeNormal      = consts.SyncModeNormal
	SyncModeOff         = consts.SyncModeOff
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type SQLiteAbortException

type SQLiteAbortException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteAbortException wraps android.database.sqlite.SQLiteAbortException.

func NewSQLiteAbortException

func NewSQLiteAbortException(vm *jni.VM) (*SQLiteAbortException, error)

NewSQLiteAbortException creates a new android.database.sqlite.SQLiteAbortException instance.

type SQLiteAccessPermException

type SQLiteAccessPermException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteAccessPermException wraps android.database.sqlite.SQLiteAccessPermException.

func NewSQLiteAccessPermException

func NewSQLiteAccessPermException(vm *jni.VM) (*SQLiteAccessPermException, error)

NewSQLiteAccessPermException creates a new android.database.sqlite.SQLiteAccessPermException instance.

type SQLiteBindOrColumnIndexOutOfRangeException

type SQLiteBindOrColumnIndexOutOfRangeException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteBindOrColumnIndexOutOfRangeException wraps android.database.sqlite.SQLiteBindOrColumnIndexOutOfRangeException.

func NewSQLiteBindOrColumnIndexOutOfRangeException

func NewSQLiteBindOrColumnIndexOutOfRangeException(vm *jni.VM) (*SQLiteBindOrColumnIndexOutOfRangeException, error)

NewSQLiteBindOrColumnIndexOutOfRangeException creates a new android.database.sqlite.SQLiteBindOrColumnIndexOutOfRangeException instance.

type SQLiteBlobTooBigException

type SQLiteBlobTooBigException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteBlobTooBigException wraps android.database.sqlite.SQLiteBlobTooBigException.

func NewSQLiteBlobTooBigException

func NewSQLiteBlobTooBigException(vm *jni.VM) (*SQLiteBlobTooBigException, error)

NewSQLiteBlobTooBigException creates a new android.database.sqlite.SQLiteBlobTooBigException instance.

type SQLiteCantOpenDatabaseException

type SQLiteCantOpenDatabaseException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteCantOpenDatabaseException wraps android.database.sqlite.SQLiteCantOpenDatabaseException.

func NewSQLiteCantOpenDatabaseException

func NewSQLiteCantOpenDatabaseException(vm *jni.VM) (*SQLiteCantOpenDatabaseException, error)

NewSQLiteCantOpenDatabaseException creates a new android.database.sqlite.SQLiteCantOpenDatabaseException instance.

type SQLiteClosable

type SQLiteClosable struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteClosable wraps android.database.sqlite.SQLiteClosable.

func (*SQLiteClosable) AcquireReference

func (m *SQLiteClosable) AcquireReference() error

AcquireReference calls android.database.sqlite.SQLiteClosable.acquireReference.

func (*SQLiteClosable) Close

func (m *SQLiteClosable) Close() error

Close calls android.database.sqlite.SQLiteClosable.close.

func (*SQLiteClosable) ReleaseReference

func (m *SQLiteClosable) ReleaseReference() error

ReleaseReference calls android.database.sqlite.SQLiteClosable.releaseReference.

func (*SQLiteClosable) ReleaseReferenceFromContainer

func (m *SQLiteClosable) ReleaseReferenceFromContainer() error

ReleaseReferenceFromContainer calls android.database.sqlite.SQLiteClosable.releaseReferenceFromContainer.

type SQLiteConstraintException

type SQLiteConstraintException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteConstraintException wraps android.database.sqlite.SQLiteConstraintException.

func NewSQLiteConstraintException

func NewSQLiteConstraintException(vm *jni.VM) (*SQLiteConstraintException, error)

NewSQLiteConstraintException creates a new android.database.sqlite.SQLiteConstraintException instance.

type SQLiteCursor

type SQLiteCursor struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteCursor wraps android.database.sqlite.SQLiteCursor.

func NewSQLiteCursor

func NewSQLiteCursor(vm *jni.VM, arg0 *jni.Object, arg1 string, arg2 *jni.Object) (*SQLiteCursor, error)

NewSQLiteCursor creates a new android.database.sqlite.SQLiteCursor instance.

func (*SQLiteCursor) Close

func (m *SQLiteCursor) Close() error

Close calls android.database.sqlite.SQLiteCursor.close.

func (*SQLiteCursor) Deactivate

func (m *SQLiteCursor) Deactivate() error

Deactivate calls android.database.sqlite.SQLiteCursor.deactivate.

func (*SQLiteCursor) GetColumnIndex

func (m *SQLiteCursor) GetColumnIndex(arg0 string) (int32, error)

GetColumnIndex calls android.database.sqlite.SQLiteCursor.getColumnIndex.

func (*SQLiteCursor) GetColumnNames

func (m *SQLiteCursor) GetColumnNames() (*jni.Object, error)

GetColumnNames calls android.database.sqlite.SQLiteCursor.getColumnNames.

func (*SQLiteCursor) GetCount

func (m *SQLiteCursor) GetCount() (int32, error)

GetCount calls android.database.sqlite.SQLiteCursor.getCount.

func (*SQLiteCursor) GetDatabase

func (m *SQLiteCursor) GetDatabase() (*jni.Object, error)

GetDatabase calls android.database.sqlite.SQLiteCursor.getDatabase.

func (*SQLiteCursor) OnMove

func (m *SQLiteCursor) OnMove(arg0 int32, arg1 int32) (bool, error)

OnMove calls android.database.sqlite.SQLiteCursor.onMove.

func (*SQLiteCursor) Requery

func (m *SQLiteCursor) Requery() (bool, error)

Requery calls android.database.sqlite.SQLiteCursor.requery.

func (*SQLiteCursor) SetFillWindowForwardOnly

func (m *SQLiteCursor) SetFillWindowForwardOnly(arg0 bool) error

SetFillWindowForwardOnly calls android.database.sqlite.SQLiteCursor.setFillWindowForwardOnly.

func (*SQLiteCursor) SetSelectionArguments

func (m *SQLiteCursor) SetSelectionArguments(arg0 *jni.Object) error

SetSelectionArguments calls android.database.sqlite.SQLiteCursor.setSelectionArguments.

func (*SQLiteCursor) SetWindow

func (m *SQLiteCursor) SetWindow(arg0 *jni.Object) error

SetWindow calls android.database.sqlite.SQLiteCursor.setWindow.

type SQLiteCursorDriver

type SQLiteCursorDriver struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteCursorDriver wraps android.database.sqlite.SQLiteCursorDriver.

func (*SQLiteCursorDriver) CursorClosed

func (m *SQLiteCursorDriver) CursorClosed() error

CursorClosed calls android.database.sqlite.SQLiteCursorDriver.cursorClosed.

func (*SQLiteCursorDriver) CursorDeactivated

func (m *SQLiteCursorDriver) CursorDeactivated() error

CursorDeactivated calls android.database.sqlite.SQLiteCursorDriver.cursorDeactivated.

func (*SQLiteCursorDriver) CursorRequeried

func (m *SQLiteCursorDriver) CursorRequeried(arg0 *jni.Object) error

CursorRequeried calls android.database.sqlite.SQLiteCursorDriver.cursorRequeried.

func (*SQLiteCursorDriver) Query

func (m *SQLiteCursorDriver) Query(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

Query calls android.database.sqlite.SQLiteCursorDriver.query.

func (*SQLiteCursorDriver) SetBindArguments

func (m *SQLiteCursorDriver) SetBindArguments(arg0 *jni.Object) error

SetBindArguments calls android.database.sqlite.SQLiteCursorDriver.setBindArguments.

type SQLiteDatabase

type SQLiteDatabase struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDatabase wraps android.database.sqlite.SQLiteDatabase.

func (*SQLiteDatabase) BeginTransaction

func (m *SQLiteDatabase) BeginTransaction() error

BeginTransaction calls android.database.sqlite.SQLiteDatabase.beginTransaction.

func (*SQLiteDatabase) BeginTransactionNonExclusive

func (m *SQLiteDatabase) BeginTransactionNonExclusive() error

BeginTransactionNonExclusive calls android.database.sqlite.SQLiteDatabase.beginTransactionNonExclusive.

func (*SQLiteDatabase) BeginTransactionReadOnly

func (m *SQLiteDatabase) BeginTransactionReadOnly() error

BeginTransactionReadOnly calls android.database.sqlite.SQLiteDatabase.beginTransactionReadOnly.

func (*SQLiteDatabase) BeginTransactionWithListener

func (m *SQLiteDatabase) BeginTransactionWithListener(arg0 *jni.Object) error

BeginTransactionWithListener calls android.database.sqlite.SQLiteDatabase.beginTransactionWithListener.

func (*SQLiteDatabase) BeginTransactionWithListenerNonExclusive

func (m *SQLiteDatabase) BeginTransactionWithListenerNonExclusive(arg0 *jni.Object) error

BeginTransactionWithListenerNonExclusive calls android.database.sqlite.SQLiteDatabase.beginTransactionWithListenerNonExclusive.

func (*SQLiteDatabase) BeginTransactionWithListenerReadOnly

func (m *SQLiteDatabase) BeginTransactionWithListenerReadOnly(arg0 *jni.Object) error

BeginTransactionWithListenerReadOnly calls android.database.sqlite.SQLiteDatabase.beginTransactionWithListenerReadOnly.

func (*SQLiteDatabase) CompileStatement

func (m *SQLiteDatabase) CompileStatement(arg0 string) (*jni.Object, error)

CompileStatement calls android.database.sqlite.SQLiteDatabase.compileStatement.

func (*SQLiteDatabase) Create

func (m *SQLiteDatabase) Create(arg0 *jni.Object) (*jni.Object, error)

Create calls android.database.sqlite.SQLiteDatabase.create.

func (*SQLiteDatabase) CreateInMemory

func (m *SQLiteDatabase) CreateInMemory(arg0 *jni.Object) (*jni.Object, error)

CreateInMemory calls android.database.sqlite.SQLiteDatabase.createInMemory.

func (*SQLiteDatabase) CreateRawStatement

func (m *SQLiteDatabase) CreateRawStatement(arg0 string) (*jni.Object, error)

CreateRawStatement calls android.database.sqlite.SQLiteDatabase.createRawStatement.

func (*SQLiteDatabase) Delete

func (m *SQLiteDatabase) Delete(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

Delete calls android.database.sqlite.SQLiteDatabase.delete.

func (*SQLiteDatabase) DeleteDatabase

func (m *SQLiteDatabase) DeleteDatabase(arg0 *jni.Object) (bool, error)

DeleteDatabase calls android.database.sqlite.SQLiteDatabase.deleteDatabase.

func (*SQLiteDatabase) DisableWriteAheadLogging

func (m *SQLiteDatabase) DisableWriteAheadLogging() error

DisableWriteAheadLogging calls android.database.sqlite.SQLiteDatabase.disableWriteAheadLogging.

func (*SQLiteDatabase) EnableWriteAheadLogging

func (m *SQLiteDatabase) EnableWriteAheadLogging() (bool, error)

EnableWriteAheadLogging calls android.database.sqlite.SQLiteDatabase.enableWriteAheadLogging.

func (*SQLiteDatabase) EndTransaction

func (m *SQLiteDatabase) EndTransaction() error

EndTransaction calls android.database.sqlite.SQLiteDatabase.endTransaction.

func (*SQLiteDatabase) ExecPerConnectionSQL

func (m *SQLiteDatabase) ExecPerConnectionSQL(arg0 string, arg1 *jni.Object) error

ExecPerConnectionSQL calls android.database.sqlite.SQLiteDatabase.execPerConnectionSQL.

func (*SQLiteDatabase) ExecSQL1

func (m *SQLiteDatabase) ExecSQL1(arg0 string) error

ExecSQL1 calls android.database.sqlite.SQLiteDatabase.execSQL.

func (*SQLiteDatabase) ExecSQL2_1

func (m *SQLiteDatabase) ExecSQL2_1(arg0 string, arg1 *jni.Object) error

ExecSQL2_1 calls android.database.sqlite.SQLiteDatabase.execSQL.

func (*SQLiteDatabase) FindEditTable

func (m *SQLiteDatabase) FindEditTable(arg0 string) (string, error)

FindEditTable calls android.database.sqlite.SQLiteDatabase.findEditTable.

func (*SQLiteDatabase) GetLastChangedRowCount

func (m *SQLiteDatabase) GetLastChangedRowCount() (int64, error)

GetLastChangedRowCount calls android.database.sqlite.SQLiteDatabase.getLastChangedRowCount.

func (*SQLiteDatabase) GetLastInsertRowId

func (m *SQLiteDatabase) GetLastInsertRowId() (int64, error)

GetLastInsertRowId calls android.database.sqlite.SQLiteDatabase.getLastInsertRowId.

func (*SQLiteDatabase) GetMaximumSize

func (m *SQLiteDatabase) GetMaximumSize() (int64, error)

GetMaximumSize calls android.database.sqlite.SQLiteDatabase.getMaximumSize.

func (*SQLiteDatabase) GetPageSize

func (m *SQLiteDatabase) GetPageSize() (int64, error)

GetPageSize calls android.database.sqlite.SQLiteDatabase.getPageSize.

func (*SQLiteDatabase) GetPath

func (m *SQLiteDatabase) GetPath() (string, error)

GetPath calls android.database.sqlite.SQLiteDatabase.getPath.

func (*SQLiteDatabase) GetTotalChangedRowCount

func (m *SQLiteDatabase) GetTotalChangedRowCount() (int64, error)

GetTotalChangedRowCount calls android.database.sqlite.SQLiteDatabase.getTotalChangedRowCount.

func (*SQLiteDatabase) GetVersion

func (m *SQLiteDatabase) GetVersion() (int32, error)

GetVersion calls android.database.sqlite.SQLiteDatabase.getVersion.

func (*SQLiteDatabase) InTransaction

func (m *SQLiteDatabase) InTransaction() (bool, error)

InTransaction calls android.database.sqlite.SQLiteDatabase.inTransaction.

func (*SQLiteDatabase) Insert

func (m *SQLiteDatabase) Insert(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int64, error)

Insert calls android.database.sqlite.SQLiteDatabase.insert.

func (*SQLiteDatabase) InsertOrThrow

func (m *SQLiteDatabase) InsertOrThrow(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int64, error)

InsertOrThrow calls android.database.sqlite.SQLiteDatabase.insertOrThrow.

func (*SQLiteDatabase) InsertWithOnConflict

func (m *SQLiteDatabase) InsertWithOnConflict(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
	arg3 int32,
) (int64, error)

InsertWithOnConflict calls android.database.sqlite.SQLiteDatabase.insertWithOnConflict.

func (*SQLiteDatabase) IsDatabaseIntegrityOk

func (m *SQLiteDatabase) IsDatabaseIntegrityOk() (bool, error)

IsDatabaseIntegrityOk calls android.database.sqlite.SQLiteDatabase.isDatabaseIntegrityOk.

func (*SQLiteDatabase) IsDbLockedByCurrentThread

func (m *SQLiteDatabase) IsDbLockedByCurrentThread() (bool, error)

IsDbLockedByCurrentThread calls android.database.sqlite.SQLiteDatabase.isDbLockedByCurrentThread.

func (*SQLiteDatabase) IsDbLockedByOtherThreads

func (m *SQLiteDatabase) IsDbLockedByOtherThreads() (bool, error)

IsDbLockedByOtherThreads calls android.database.sqlite.SQLiteDatabase.isDbLockedByOtherThreads.

func (*SQLiteDatabase) IsOpen

func (m *SQLiteDatabase) IsOpen() (bool, error)

IsOpen calls android.database.sqlite.SQLiteDatabase.isOpen.

func (*SQLiteDatabase) IsReadOnly

func (m *SQLiteDatabase) IsReadOnly() (bool, error)

IsReadOnly calls android.database.sqlite.SQLiteDatabase.isReadOnly.

func (*SQLiteDatabase) IsWriteAheadLoggingEnabled

func (m *SQLiteDatabase) IsWriteAheadLoggingEnabled() (bool, error)

IsWriteAheadLoggingEnabled calls android.database.sqlite.SQLiteDatabase.isWriteAheadLoggingEnabled.

func (*SQLiteDatabase) MarkTableSyncable2

func (m *SQLiteDatabase) MarkTableSyncable2(arg0 string, arg1 string) error

MarkTableSyncable2 calls android.database.sqlite.SQLiteDatabase.markTableSyncable.

func (*SQLiteDatabase) MarkTableSyncable3_1

func (m *SQLiteDatabase) MarkTableSyncable3_1(
	arg0 string,
	arg1 string,
	arg2 string,
) error

MarkTableSyncable3_1 calls android.database.sqlite.SQLiteDatabase.markTableSyncable.

func (*SQLiteDatabase) NeedUpgrade

func (m *SQLiteDatabase) NeedUpgrade(arg0 int32) (bool, error)

NeedUpgrade calls android.database.sqlite.SQLiteDatabase.needUpgrade.

func (*SQLiteDatabase) OpenDatabase2

func (m *SQLiteDatabase) OpenDatabase2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

OpenDatabase2 calls android.database.sqlite.SQLiteDatabase.openDatabase.

func (*SQLiteDatabase) OpenDatabase3_1

func (m *SQLiteDatabase) OpenDatabase3_1(
	arg0 string,
	arg1 *jni.Object,
	arg2 int32,
) (*jni.Object, error)

OpenDatabase3_1 calls android.database.sqlite.SQLiteDatabase.openDatabase.

func (*SQLiteDatabase) OpenOrCreateDatabase2

func (m *SQLiteDatabase) OpenOrCreateDatabase2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

OpenOrCreateDatabase2 calls android.database.sqlite.SQLiteDatabase.openOrCreateDatabase.

func (*SQLiteDatabase) OpenOrCreateDatabase2_1

func (m *SQLiteDatabase) OpenOrCreateDatabase2_1(arg0 string, arg1 *jni.Object) (*jni.Object, error)

OpenOrCreateDatabase2_1 calls android.database.sqlite.SQLiteDatabase.openOrCreateDatabase.

func (*SQLiteDatabase) Query7_2

func (m *SQLiteDatabase) Query7_2(
	arg0 string,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 string,
	arg6 string,
) (*jni.Object, error)

Query7_2 calls android.database.sqlite.SQLiteDatabase.query.

func (*SQLiteDatabase) Query8_3

func (m *SQLiteDatabase) Query8_3(
	arg0 string,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 string,
	arg6 string,
	arg7 string,
) (*jni.Object, error)

Query8_3 calls android.database.sqlite.SQLiteDatabase.query.

func (*SQLiteDatabase) Query9

func (m *SQLiteDatabase) Query9(
	arg0 bool,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
	arg4 *jni.Object,
	arg5 string,
	arg6 string,
	arg7 string,
	arg8 string,
) (*jni.Object, error)

Query9 calls android.database.sqlite.SQLiteDatabase.query.

func (*SQLiteDatabase) Query10_1

func (m *SQLiteDatabase) Query10_1(
	arg0 bool,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
	arg4 *jni.Object,
	arg5 string,
	arg6 string,
	arg7 string,
	arg8 string,
	arg9 *jni.Object,
) (*jni.Object, error)

Query10_1 calls android.database.sqlite.SQLiteDatabase.query.

func (*SQLiteDatabase) QueryWithFactory10

func (m *SQLiteDatabase) QueryWithFactory10(
	arg0 *jni.Object,
	arg1 bool,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 *jni.Object,
	arg6 string,
	arg7 string,
	arg8 string,
	arg9 string,
) (*jni.Object, error)

QueryWithFactory10 calls android.database.sqlite.SQLiteDatabase.queryWithFactory.

func (*SQLiteDatabase) QueryWithFactory11_1

func (m *SQLiteDatabase) QueryWithFactory11_1(
	arg0 *jni.Object,
	arg1 bool,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 *jni.Object,
	arg6 string,
	arg7 string,
	arg8 string,
	arg9 string,
	arg10 *jni.Object,
) (*jni.Object, error)

QueryWithFactory11_1 calls android.database.sqlite.SQLiteDatabase.queryWithFactory.

func (*SQLiteDatabase) RawQuery2

func (m *SQLiteDatabase) RawQuery2(arg0 string, arg1 *jni.Object) (*jni.Object, error)

RawQuery2 calls android.database.sqlite.SQLiteDatabase.rawQuery.

func (*SQLiteDatabase) RawQuery3_1

func (m *SQLiteDatabase) RawQuery3_1(
	arg0 string,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (*jni.Object, error)

RawQuery3_1 calls android.database.sqlite.SQLiteDatabase.rawQuery.

func (*SQLiteDatabase) RawQueryWithFactory4

func (m *SQLiteDatabase) RawQueryWithFactory4(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
) (*jni.Object, error)

RawQueryWithFactory4 calls android.database.sqlite.SQLiteDatabase.rawQueryWithFactory.

func (*SQLiteDatabase) RawQueryWithFactory5_1

func (m *SQLiteDatabase) RawQueryWithFactory5_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
	arg4 *jni.Object,
) (*jni.Object, error)

RawQueryWithFactory5_1 calls android.database.sqlite.SQLiteDatabase.rawQueryWithFactory.

func (*SQLiteDatabase) ReleaseMemory

func (m *SQLiteDatabase) ReleaseMemory() (int32, error)

ReleaseMemory calls android.database.sqlite.SQLiteDatabase.releaseMemory.

func (*SQLiteDatabase) Replace

func (m *SQLiteDatabase) Replace(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int64, error)

Replace calls android.database.sqlite.SQLiteDatabase.replace.

func (*SQLiteDatabase) ReplaceOrThrow

func (m *SQLiteDatabase) ReplaceOrThrow(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int64, error)

ReplaceOrThrow calls android.database.sqlite.SQLiteDatabase.replaceOrThrow.

func (*SQLiteDatabase) SetForeignKeyConstraintsEnabled

func (m *SQLiteDatabase) SetForeignKeyConstraintsEnabled(arg0 bool) error

SetForeignKeyConstraintsEnabled calls android.database.sqlite.SQLiteDatabase.setForeignKeyConstraintsEnabled.

func (*SQLiteDatabase) SetLocale

func (m *SQLiteDatabase) SetLocale(arg0 *jni.Object) error

SetLocale calls android.database.sqlite.SQLiteDatabase.setLocale.

func (*SQLiteDatabase) SetLockingEnabled

func (m *SQLiteDatabase) SetLockingEnabled(arg0 bool) error

SetLockingEnabled calls android.database.sqlite.SQLiteDatabase.setLockingEnabled.

func (*SQLiteDatabase) SetMaxSqlCacheSize

func (m *SQLiteDatabase) SetMaxSqlCacheSize(arg0 int32) error

SetMaxSqlCacheSize calls android.database.sqlite.SQLiteDatabase.setMaxSqlCacheSize.

func (*SQLiteDatabase) SetMaximumSize

func (m *SQLiteDatabase) SetMaximumSize(arg0 int64) (int64, error)

SetMaximumSize calls android.database.sqlite.SQLiteDatabase.setMaximumSize.

func (*SQLiteDatabase) SetPageSize

func (m *SQLiteDatabase) SetPageSize(arg0 int64) error

SetPageSize calls android.database.sqlite.SQLiteDatabase.setPageSize.

func (*SQLiteDatabase) SetTransactionSuccessful

func (m *SQLiteDatabase) SetTransactionSuccessful() error

SetTransactionSuccessful calls android.database.sqlite.SQLiteDatabase.setTransactionSuccessful.

func (*SQLiteDatabase) SetVersion

func (m *SQLiteDatabase) SetVersion(arg0 int32) error

SetVersion calls android.database.sqlite.SQLiteDatabase.setVersion.

func (*SQLiteDatabase) ToString

func (m *SQLiteDatabase) ToString() (string, error)

ToString calls android.database.sqlite.SQLiteDatabase.toString.

func (*SQLiteDatabase) Update

func (m *SQLiteDatabase) Update(
	arg0 string,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
) (int32, error)

Update calls android.database.sqlite.SQLiteDatabase.update.

func (*SQLiteDatabase) UpdateWithOnConflict

func (m *SQLiteDatabase) UpdateWithOnConflict(
	arg0 string,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 int32,
) (int32, error)

UpdateWithOnConflict calls android.database.sqlite.SQLiteDatabase.updateWithOnConflict.

func (*SQLiteDatabase) ValidateSql

func (m *SQLiteDatabase) ValidateSql(arg0 string, arg1 *jni.Object) error

ValidateSql calls android.database.sqlite.SQLiteDatabase.validateSql.

func (*SQLiteDatabase) YieldIfContended

func (m *SQLiteDatabase) YieldIfContended() (bool, error)

YieldIfContended calls android.database.sqlite.SQLiteDatabase.yieldIfContended.

func (*SQLiteDatabase) YieldIfContendedSafely0

func (m *SQLiteDatabase) YieldIfContendedSafely0() (bool, error)

YieldIfContendedSafely0 calls android.database.sqlite.SQLiteDatabase.yieldIfContendedSafely.

func (*SQLiteDatabase) YieldIfContendedSafely1_1

func (m *SQLiteDatabase) YieldIfContendedSafely1_1(arg0 int64) (bool, error)

YieldIfContendedSafely1_1 calls android.database.sqlite.SQLiteDatabase.yieldIfContendedSafely.

type SQLiteDatabaseCorruptException

type SQLiteDatabaseCorruptException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDatabaseCorruptException wraps android.database.sqlite.SQLiteDatabaseCorruptException.

func NewSQLiteDatabaseCorruptException

func NewSQLiteDatabaseCorruptException(vm *jni.VM) (*SQLiteDatabaseCorruptException, error)

NewSQLiteDatabaseCorruptException creates a new android.database.sqlite.SQLiteDatabaseCorruptException instance.

type SQLiteDatabaseCursorFactory

type SQLiteDatabaseCursorFactory struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDatabaseCursorFactory wraps android.database.sqlite.SQLiteDatabase$CursorFactory.

func (*SQLiteDatabaseCursorFactory) NewCursor

func (m *SQLiteDatabaseCursorFactory) NewCursor(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
) (*jni.Object, error)

NewCursor calls android.database.sqlite.SQLiteDatabase$CursorFactory.newCursor.

type SQLiteDatabaseLockedException

type SQLiteDatabaseLockedException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDatabaseLockedException wraps android.database.sqlite.SQLiteDatabaseLockedException.

func NewSQLiteDatabaseLockedException

func NewSQLiteDatabaseLockedException(vm *jni.VM) (*SQLiteDatabaseLockedException, error)

NewSQLiteDatabaseLockedException creates a new android.database.sqlite.SQLiteDatabaseLockedException instance.

type SQLiteDatabaseOpenParams

type SQLiteDatabaseOpenParams struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDatabaseOpenParams wraps android.database.sqlite.SQLiteDatabase$OpenParams.

func (*SQLiteDatabaseOpenParams) GetCursorFactory

func (m *SQLiteDatabaseOpenParams) GetCursorFactory() (*jni.Object, error)

GetCursorFactory calls android.database.sqlite.SQLiteDatabase$OpenParams.getCursorFactory.

func (*SQLiteDatabaseOpenParams) GetErrorHandler

func (m *SQLiteDatabaseOpenParams) GetErrorHandler() (*jni.Object, error)

GetErrorHandler calls android.database.sqlite.SQLiteDatabase$OpenParams.getErrorHandler.

func (*SQLiteDatabaseOpenParams) GetIdleConnectionTimeout

func (m *SQLiteDatabaseOpenParams) GetIdleConnectionTimeout() (int64, error)

GetIdleConnectionTimeout calls android.database.sqlite.SQLiteDatabase$OpenParams.getIdleConnectionTimeout.

func (*SQLiteDatabaseOpenParams) GetJournalMode

func (m *SQLiteDatabaseOpenParams) GetJournalMode() (string, error)

GetJournalMode calls android.database.sqlite.SQLiteDatabase$OpenParams.getJournalMode.

func (*SQLiteDatabaseOpenParams) GetLookasideSlotCount

func (m *SQLiteDatabaseOpenParams) GetLookasideSlotCount() (int32, error)

GetLookasideSlotCount calls android.database.sqlite.SQLiteDatabase$OpenParams.getLookasideSlotCount.

func (*SQLiteDatabaseOpenParams) GetLookasideSlotSize

func (m *SQLiteDatabaseOpenParams) GetLookasideSlotSize() (int32, error)

GetLookasideSlotSize calls android.database.sqlite.SQLiteDatabase$OpenParams.getLookasideSlotSize.

func (*SQLiteDatabaseOpenParams) GetOpenFlags

func (m *SQLiteDatabaseOpenParams) GetOpenFlags() (int32, error)

GetOpenFlags calls android.database.sqlite.SQLiteDatabase$OpenParams.getOpenFlags.

func (*SQLiteDatabaseOpenParams) GetSynchronousMode

func (m *SQLiteDatabaseOpenParams) GetSynchronousMode() (string, error)

GetSynchronousMode calls android.database.sqlite.SQLiteDatabase$OpenParams.getSynchronousMode.

type SQLiteDatatypeMismatchException

type SQLiteDatatypeMismatchException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDatatypeMismatchException wraps android.database.sqlite.SQLiteDatatypeMismatchException.

func NewSQLiteDatatypeMismatchException

func NewSQLiteDatatypeMismatchException(vm *jni.VM) (*SQLiteDatatypeMismatchException, error)

NewSQLiteDatatypeMismatchException creates a new android.database.sqlite.SQLiteDatatypeMismatchException instance.

type SQLiteDiskIOException

type SQLiteDiskIOException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDiskIOException wraps android.database.sqlite.SQLiteDiskIOException.

func NewSQLiteDiskIOException

func NewSQLiteDiskIOException(vm *jni.VM) (*SQLiteDiskIOException, error)

NewSQLiteDiskIOException creates a new android.database.sqlite.SQLiteDiskIOException instance.

type SQLiteDoneException

type SQLiteDoneException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteDoneException wraps android.database.sqlite.SQLiteDoneException.

func NewSQLiteDoneException

func NewSQLiteDoneException(vm *jni.VM) (*SQLiteDoneException, error)

NewSQLiteDoneException creates a new android.database.sqlite.SQLiteDoneException instance.

type SQLiteException

type SQLiteException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteException wraps android.database.sqlite.SQLiteException.

func NewSQLiteException

func NewSQLiteException(vm *jni.VM) (*SQLiteException, error)

NewSQLiteException creates a new android.database.sqlite.SQLiteException instance.

type SQLiteFullException

type SQLiteFullException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteFullException wraps android.database.sqlite.SQLiteFullException.

func NewSQLiteFullException

func NewSQLiteFullException(vm *jni.VM) (*SQLiteFullException, error)

NewSQLiteFullException creates a new android.database.sqlite.SQLiteFullException instance.

type SQLiteMisuseException

type SQLiteMisuseException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteMisuseException wraps android.database.sqlite.SQLiteMisuseException.

func NewSQLiteMisuseException

func NewSQLiteMisuseException(vm *jni.VM) (*SQLiteMisuseException, error)

NewSQLiteMisuseException creates a new android.database.sqlite.SQLiteMisuseException instance.

type SQLiteOpenHelper

type SQLiteOpenHelper struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteOpenHelper wraps android.database.sqlite.SQLiteOpenHelper.

func (*SQLiteOpenHelper) GetDatabaseName

func (m *SQLiteOpenHelper) GetDatabaseName() (string, error)

GetDatabaseName calls android.database.sqlite.SQLiteOpenHelper.getDatabaseName.

func (*SQLiteOpenHelper) GetReadableDatabase

func (m *SQLiteOpenHelper) GetReadableDatabase() (*jni.Object, error)

GetReadableDatabase calls android.database.sqlite.SQLiteOpenHelper.getReadableDatabase.

func (*SQLiteOpenHelper) GetWritableDatabase

func (m *SQLiteOpenHelper) GetWritableDatabase() (*jni.Object, error)

GetWritableDatabase calls android.database.sqlite.SQLiteOpenHelper.getWritableDatabase.

func (*SQLiteOpenHelper) OnConfigure

func (m *SQLiteOpenHelper) OnConfigure(arg0 *jni.Object) error

OnConfigure calls android.database.sqlite.SQLiteOpenHelper.onConfigure.

func (*SQLiteOpenHelper) OnCreate

func (m *SQLiteOpenHelper) OnCreate(arg0 *jni.Object) error

OnCreate calls android.database.sqlite.SQLiteOpenHelper.onCreate.

func (*SQLiteOpenHelper) OnDowngrade

func (m *SQLiteOpenHelper) OnDowngrade(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
) error

OnDowngrade calls android.database.sqlite.SQLiteOpenHelper.onDowngrade.

func (*SQLiteOpenHelper) OnOpen

func (m *SQLiteOpenHelper) OnOpen(arg0 *jni.Object) error

OnOpen calls android.database.sqlite.SQLiteOpenHelper.onOpen.

func (*SQLiteOpenHelper) OnUpgrade

func (m *SQLiteOpenHelper) OnUpgrade(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
) error

OnUpgrade calls android.database.sqlite.SQLiteOpenHelper.onUpgrade.

func (*SQLiteOpenHelper) SetIdleConnectionTimeout

func (m *SQLiteOpenHelper) SetIdleConnectionTimeout(arg0 int64) error

SetIdleConnectionTimeout calls android.database.sqlite.SQLiteOpenHelper.setIdleConnectionTimeout.

func (*SQLiteOpenHelper) SetLookasideConfig

func (m *SQLiteOpenHelper) SetLookasideConfig(arg0 int32, arg1 int32) error

SetLookasideConfig calls android.database.sqlite.SQLiteOpenHelper.setLookasideConfig.

func (*SQLiteOpenHelper) SetOpenParams

func (m *SQLiteOpenHelper) SetOpenParams(arg0 *jni.Object) error

SetOpenParams calls android.database.sqlite.SQLiteOpenHelper.setOpenParams.

func (*SQLiteOpenHelper) SetWriteAheadLoggingEnabled

func (m *SQLiteOpenHelper) SetWriteAheadLoggingEnabled(arg0 bool) error

SetWriteAheadLoggingEnabled calls android.database.sqlite.SQLiteOpenHelper.setWriteAheadLoggingEnabled.

type SQLiteOutOfMemoryException

type SQLiteOutOfMemoryException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteOutOfMemoryException wraps android.database.sqlite.SQLiteOutOfMemoryException.

func NewSQLiteOutOfMemoryException

func NewSQLiteOutOfMemoryException(vm *jni.VM) (*SQLiteOutOfMemoryException, error)

NewSQLiteOutOfMemoryException creates a new android.database.sqlite.SQLiteOutOfMemoryException instance.

type SQLiteProgram

type SQLiteProgram struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteProgram wraps android.database.sqlite.SQLiteProgram.

func (*SQLiteProgram) BindAllArgsAsStrings

func (m *SQLiteProgram) BindAllArgsAsStrings(arg0 *jni.Object) error

BindAllArgsAsStrings calls android.database.sqlite.SQLiteProgram.bindAllArgsAsStrings.

func (*SQLiteProgram) BindBlob

func (m *SQLiteProgram) BindBlob(arg0 int32, arg1 *jni.Object) error

BindBlob calls android.database.sqlite.SQLiteProgram.bindBlob.

func (*SQLiteProgram) BindDouble

func (m *SQLiteProgram) BindDouble(arg0 int32, arg1 float64) error

BindDouble calls android.database.sqlite.SQLiteProgram.bindDouble.

func (*SQLiteProgram) BindLong

func (m *SQLiteProgram) BindLong(arg0 int32, arg1 int64) error

BindLong calls android.database.sqlite.SQLiteProgram.bindLong.

func (*SQLiteProgram) BindNull

func (m *SQLiteProgram) BindNull(arg0 int32) error

BindNull calls android.database.sqlite.SQLiteProgram.bindNull.

func (*SQLiteProgram) BindString

func (m *SQLiteProgram) BindString(arg0 int32, arg1 string) error

BindString calls android.database.sqlite.SQLiteProgram.bindString.

func (*SQLiteProgram) ClearBindings

func (m *SQLiteProgram) ClearBindings() error

ClearBindings calls android.database.sqlite.SQLiteProgram.clearBindings.

func (*SQLiteProgram) GetUniqueId

func (m *SQLiteProgram) GetUniqueId() (int32, error)

GetUniqueId calls android.database.sqlite.SQLiteProgram.getUniqueId.

type SQLiteQuery

type SQLiteQuery struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteQuery wraps android.database.sqlite.SQLiteQuery.

func (*SQLiteQuery) ToString

func (m *SQLiteQuery) ToString() (string, error)

ToString calls android.database.sqlite.SQLiteQuery.toString.

type SQLiteQueryBuilder

type SQLiteQueryBuilder struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteQueryBuilder wraps android.database.sqlite.SQLiteQueryBuilder.

func NewSQLiteQueryBuilder

func NewSQLiteQueryBuilder(vm *jni.VM) (*SQLiteQueryBuilder, error)

NewSQLiteQueryBuilder creates a new android.database.sqlite.SQLiteQueryBuilder instance.

func (*SQLiteQueryBuilder) AppendColumns

func (m *SQLiteQueryBuilder) AppendColumns(arg0 *jni.Object, arg1 *jni.Object) error

AppendColumns calls android.database.sqlite.SQLiteQueryBuilder.appendColumns.

func (*SQLiteQueryBuilder) AppendWhere

func (m *SQLiteQueryBuilder) AppendWhere(arg0 string) error

AppendWhere calls android.database.sqlite.SQLiteQueryBuilder.appendWhere.

func (*SQLiteQueryBuilder) AppendWhereEscapeString

func (m *SQLiteQueryBuilder) AppendWhereEscapeString(arg0 string) error

AppendWhereEscapeString calls android.database.sqlite.SQLiteQueryBuilder.appendWhereEscapeString.

func (*SQLiteQueryBuilder) AppendWhereStandalone

func (m *SQLiteQueryBuilder) AppendWhereStandalone(arg0 string) error

AppendWhereStandalone calls android.database.sqlite.SQLiteQueryBuilder.appendWhereStandalone.

func (*SQLiteQueryBuilder) BuildQuery6

func (m *SQLiteQueryBuilder) BuildQuery6(
	arg0 *jni.Object,
	arg1 string,
	arg2 string,
	arg3 string,
	arg4 string,
	arg5 string,
) (string, error)

BuildQuery6 calls android.database.sqlite.SQLiteQueryBuilder.buildQuery.

func (*SQLiteQueryBuilder) BuildQuery7_1

func (m *SQLiteQueryBuilder) BuildQuery7_1(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
	arg4 string,
	arg5 string,
	arg6 string,
) (string, error)

BuildQuery7_1 calls android.database.sqlite.SQLiteQueryBuilder.buildQuery.

func (*SQLiteQueryBuilder) BuildQueryString

func (m *SQLiteQueryBuilder) BuildQueryString(
	arg0 bool,
	arg1 string,
	arg2 *jni.Object,
	arg3 string,
	arg4 string,
	arg5 string,
	arg6 string,
	arg7 string,
) (string, error)

BuildQueryString calls android.database.sqlite.SQLiteQueryBuilder.buildQueryString.

func (*SQLiteQueryBuilder) BuildUnionQuery

func (m *SQLiteQueryBuilder) BuildUnionQuery(
	arg0 *jni.Object,
	arg1 string,
	arg2 string,
) (string, error)

BuildUnionQuery calls android.database.sqlite.SQLiteQueryBuilder.buildUnionQuery.

func (*SQLiteQueryBuilder) Delete

func (m *SQLiteQueryBuilder) Delete(
	arg0 *jni.Object,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

Delete calls android.database.sqlite.SQLiteQueryBuilder.delete.

func (*SQLiteQueryBuilder) GetCursorFactory

func (m *SQLiteQueryBuilder) GetCursorFactory() (*jni.Object, error)

GetCursorFactory calls android.database.sqlite.SQLiteQueryBuilder.getCursorFactory.

func (*SQLiteQueryBuilder) GetTables

func (m *SQLiteQueryBuilder) GetTables() (string, error)

GetTables calls android.database.sqlite.SQLiteQueryBuilder.getTables.

func (*SQLiteQueryBuilder) Insert

func (m *SQLiteQueryBuilder) Insert(arg0 *jni.Object, arg1 *jni.Object) (int64, error)

Insert calls android.database.sqlite.SQLiteQueryBuilder.insert.

func (*SQLiteQueryBuilder) IsDistinct

func (m *SQLiteQueryBuilder) IsDistinct() (bool, error)

IsDistinct calls android.database.sqlite.SQLiteQueryBuilder.isDistinct.

func (*SQLiteQueryBuilder) IsStrict

func (m *SQLiteQueryBuilder) IsStrict() (bool, error)

IsStrict calls android.database.sqlite.SQLiteQueryBuilder.isStrict.

func (*SQLiteQueryBuilder) IsStrictColumns

func (m *SQLiteQueryBuilder) IsStrictColumns() (bool, error)

IsStrictColumns calls android.database.sqlite.SQLiteQueryBuilder.isStrictColumns.

func (*SQLiteQueryBuilder) IsStrictGrammar

func (m *SQLiteQueryBuilder) IsStrictGrammar() (bool, error)

IsStrictGrammar calls android.database.sqlite.SQLiteQueryBuilder.isStrictGrammar.

func (*SQLiteQueryBuilder) Query7

func (m *SQLiteQueryBuilder) Query7(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 string,
	arg6 string,
) (*jni.Object, error)

Query7 calls android.database.sqlite.SQLiteQueryBuilder.query.

func (*SQLiteQueryBuilder) Query8_1

func (m *SQLiteQueryBuilder) Query8_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 string,
	arg6 string,
	arg7 string,
) (*jni.Object, error)

Query8_1 calls android.database.sqlite.SQLiteQueryBuilder.query.

func (*SQLiteQueryBuilder) Query9_2

func (m *SQLiteQueryBuilder) Query9_2(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
	arg4 string,
	arg5 string,
	arg6 string,
	arg7 string,
	arg8 *jni.Object,
) (*jni.Object, error)

Query9_2 calls android.database.sqlite.SQLiteQueryBuilder.query.

func (*SQLiteQueryBuilder) SetCursorFactory

func (m *SQLiteQueryBuilder) SetCursorFactory(arg0 *jni.Object) error

SetCursorFactory calls android.database.sqlite.SQLiteQueryBuilder.setCursorFactory.

func (*SQLiteQueryBuilder) SetDistinct

func (m *SQLiteQueryBuilder) SetDistinct(arg0 bool) error

SetDistinct calls android.database.sqlite.SQLiteQueryBuilder.setDistinct.

func (*SQLiteQueryBuilder) SetStrict

func (m *SQLiteQueryBuilder) SetStrict(arg0 bool) error

SetStrict calls android.database.sqlite.SQLiteQueryBuilder.setStrict.

func (*SQLiteQueryBuilder) SetStrictColumns

func (m *SQLiteQueryBuilder) SetStrictColumns(arg0 bool) error

SetStrictColumns calls android.database.sqlite.SQLiteQueryBuilder.setStrictColumns.

func (*SQLiteQueryBuilder) SetStrictGrammar

func (m *SQLiteQueryBuilder) SetStrictGrammar(arg0 bool) error

SetStrictGrammar calls android.database.sqlite.SQLiteQueryBuilder.setStrictGrammar.

func (*SQLiteQueryBuilder) SetTables

func (m *SQLiteQueryBuilder) SetTables(arg0 string) error

SetTables calls android.database.sqlite.SQLiteQueryBuilder.setTables.

func (*SQLiteQueryBuilder) Update

func (m *SQLiteQueryBuilder) Update(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 string,
	arg3 *jni.Object,
) (int32, error)

Update calls android.database.sqlite.SQLiteQueryBuilder.update.

type SQLiteRawStatement

type SQLiteRawStatement struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteRawStatement wraps android.database.sqlite.SQLiteRawStatement.

func (*SQLiteRawStatement) BindBlob2

func (m *SQLiteRawStatement) BindBlob2(arg0 int32, arg1 *jni.Object) error

BindBlob2 calls android.database.sqlite.SQLiteRawStatement.bindBlob.

func (*SQLiteRawStatement) BindBlob4_1

func (m *SQLiteRawStatement) BindBlob4_1(
	arg0 int32,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) error

BindBlob4_1 calls android.database.sqlite.SQLiteRawStatement.bindBlob.

func (*SQLiteRawStatement) BindDouble

func (m *SQLiteRawStatement) BindDouble(arg0 int32, arg1 float64) error

BindDouble calls android.database.sqlite.SQLiteRawStatement.bindDouble.

func (*SQLiteRawStatement) BindInt

func (m *SQLiteRawStatement) BindInt(arg0 int32, arg1 int32) error

BindInt calls android.database.sqlite.SQLiteRawStatement.bindInt.

func (*SQLiteRawStatement) BindLong

func (m *SQLiteRawStatement) BindLong(arg0 int32, arg1 int64) error

BindLong calls android.database.sqlite.SQLiteRawStatement.bindLong.

func (*SQLiteRawStatement) BindNull

func (m *SQLiteRawStatement) BindNull(arg0 int32) error

BindNull calls android.database.sqlite.SQLiteRawStatement.bindNull.

func (*SQLiteRawStatement) BindText

func (m *SQLiteRawStatement) BindText(arg0 int32, arg1 string) error

BindText calls android.database.sqlite.SQLiteRawStatement.bindText.

func (*SQLiteRawStatement) ClearBindings

func (m *SQLiteRawStatement) ClearBindings() error

ClearBindings calls android.database.sqlite.SQLiteRawStatement.clearBindings.

func (*SQLiteRawStatement) Close

func (m *SQLiteRawStatement) Close() error

Close calls android.database.sqlite.SQLiteRawStatement.close.

func (*SQLiteRawStatement) GetColumnBlob

func (m *SQLiteRawStatement) GetColumnBlob(arg0 int32) (*jni.Object, error)

GetColumnBlob calls android.database.sqlite.SQLiteRawStatement.getColumnBlob.

func (*SQLiteRawStatement) GetColumnDouble

func (m *SQLiteRawStatement) GetColumnDouble(arg0 int32) (float64, error)

GetColumnDouble calls android.database.sqlite.SQLiteRawStatement.getColumnDouble.

func (*SQLiteRawStatement) GetColumnInt

func (m *SQLiteRawStatement) GetColumnInt(arg0 int32) (int32, error)

GetColumnInt calls android.database.sqlite.SQLiteRawStatement.getColumnInt.

func (*SQLiteRawStatement) GetColumnLength

func (m *SQLiteRawStatement) GetColumnLength(arg0 int32) (int32, error)

GetColumnLength calls android.database.sqlite.SQLiteRawStatement.getColumnLength.

func (*SQLiteRawStatement) GetColumnLong

func (m *SQLiteRawStatement) GetColumnLong(arg0 int32) (int64, error)

GetColumnLong calls android.database.sqlite.SQLiteRawStatement.getColumnLong.

func (*SQLiteRawStatement) GetColumnName

func (m *SQLiteRawStatement) GetColumnName(arg0 int32) (string, error)

GetColumnName calls android.database.sqlite.SQLiteRawStatement.getColumnName.

func (*SQLiteRawStatement) GetColumnText

func (m *SQLiteRawStatement) GetColumnText(arg0 int32) (string, error)

GetColumnText calls android.database.sqlite.SQLiteRawStatement.getColumnText.

func (*SQLiteRawStatement) GetColumnType

func (m *SQLiteRawStatement) GetColumnType(arg0 int32) (int32, error)

GetColumnType calls android.database.sqlite.SQLiteRawStatement.getColumnType.

func (*SQLiteRawStatement) GetParameterCount

func (m *SQLiteRawStatement) GetParameterCount() (int32, error)

GetParameterCount calls android.database.sqlite.SQLiteRawStatement.getParameterCount.

func (*SQLiteRawStatement) GetParameterIndex

func (m *SQLiteRawStatement) GetParameterIndex(arg0 string) (int32, error)

GetParameterIndex calls android.database.sqlite.SQLiteRawStatement.getParameterIndex.

func (*SQLiteRawStatement) GetParameterName

func (m *SQLiteRawStatement) GetParameterName(arg0 int32) (string, error)

GetParameterName calls android.database.sqlite.SQLiteRawStatement.getParameterName.

func (*SQLiteRawStatement) GetResultColumnCount

func (m *SQLiteRawStatement) GetResultColumnCount() (int32, error)

GetResultColumnCount calls android.database.sqlite.SQLiteRawStatement.getResultColumnCount.

func (*SQLiteRawStatement) IsOpen

func (m *SQLiteRawStatement) IsOpen() (bool, error)

IsOpen calls android.database.sqlite.SQLiteRawStatement.isOpen.

func (*SQLiteRawStatement) ReadColumnBlob

func (m *SQLiteRawStatement) ReadColumnBlob(
	arg0 int32,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
	arg4 int32,
) (int32, error)

ReadColumnBlob calls android.database.sqlite.SQLiteRawStatement.readColumnBlob.

func (*SQLiteRawStatement) Reset

func (m *SQLiteRawStatement) Reset() error

Reset calls android.database.sqlite.SQLiteRawStatement.reset.

func (*SQLiteRawStatement) Step

func (m *SQLiteRawStatement) Step() (bool, error)

Step calls android.database.sqlite.SQLiteRawStatement.step.

func (*SQLiteRawStatement) ToString

func (m *SQLiteRawStatement) ToString() (string, error)

ToString calls android.database.sqlite.SQLiteRawStatement.toString.

type SQLiteReadOnlyDatabaseException

type SQLiteReadOnlyDatabaseException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteReadOnlyDatabaseException wraps android.database.sqlite.SQLiteReadOnlyDatabaseException.

func NewSQLiteReadOnlyDatabaseException

func NewSQLiteReadOnlyDatabaseException(vm *jni.VM) (*SQLiteReadOnlyDatabaseException, error)

NewSQLiteReadOnlyDatabaseException creates a new android.database.sqlite.SQLiteReadOnlyDatabaseException instance.

type SQLiteStatement

type SQLiteStatement struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteStatement wraps android.database.sqlite.SQLiteStatement.

func (*SQLiteStatement) Execute

func (m *SQLiteStatement) Execute() error

Execute calls android.database.sqlite.SQLiteStatement.execute.

func (*SQLiteStatement) ExecuteInsert

func (m *SQLiteStatement) ExecuteInsert() (int64, error)

ExecuteInsert calls android.database.sqlite.SQLiteStatement.executeInsert.

func (*SQLiteStatement) ExecuteUpdateDelete

func (m *SQLiteStatement) ExecuteUpdateDelete() (int32, error)

ExecuteUpdateDelete calls android.database.sqlite.SQLiteStatement.executeUpdateDelete.

func (*SQLiteStatement) SimpleQueryForBlobFileDescriptor

func (m *SQLiteStatement) SimpleQueryForBlobFileDescriptor() (*jni.Object, error)

SimpleQueryForBlobFileDescriptor calls android.database.sqlite.SQLiteStatement.simpleQueryForBlobFileDescriptor.

func (*SQLiteStatement) SimpleQueryForLong

func (m *SQLiteStatement) SimpleQueryForLong() (int64, error)

SimpleQueryForLong calls android.database.sqlite.SQLiteStatement.simpleQueryForLong.

func (*SQLiteStatement) SimpleQueryForString

func (m *SQLiteStatement) SimpleQueryForString() (string, error)

SimpleQueryForString calls android.database.sqlite.SQLiteStatement.simpleQueryForString.

func (*SQLiteStatement) ToString

func (m *SQLiteStatement) ToString() (string, error)

ToString calls android.database.sqlite.SQLiteStatement.toString.

type SQLiteTableLockedException

type SQLiteTableLockedException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteTableLockedException wraps android.database.sqlite.SQLiteTableLockedException.

func NewSQLiteTableLockedException

func NewSQLiteTableLockedException(vm *jni.VM) (*SQLiteTableLockedException, error)

NewSQLiteTableLockedException creates a new android.database.sqlite.SQLiteTableLockedException instance.

type SQLiteTransactionListener

type SQLiteTransactionListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SQLiteTransactionListener wraps android.database.sqlite.SQLiteTransactionListener.

func (*SQLiteTransactionListener) OnBegin

func (m *SQLiteTransactionListener) OnBegin() error

OnBegin calls android.database.sqlite.SQLiteTransactionListener.onBegin.

func (*SQLiteTransactionListener) OnCommit

func (m *SQLiteTransactionListener) OnCommit() error

OnCommit calls android.database.sqlite.SQLiteTransactionListener.onCommit.

func (*SQLiteTransactionListener) OnRollback

func (m *SQLiteTransactionListener) OnRollback() error

OnRollback calls android.database.sqlite.SQLiteTransactionListener.onRollback.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL