83 lines
2.3 KiB
Smali
83 lines
2.3 KiB
Smali
|
.class public Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;
|
||
|
.super Landroidx/sqlite/db/framework/FrameworkSQLiteProgram;
|
||
|
.source "FrameworkSQLiteStatement.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field public final mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method public constructor <init>(Landroid/database/sqlite/SQLiteStatement;)V
|
||
|
.locals 0
|
||
|
|
||
|
invoke-direct {p0, p1}, Landroidx/sqlite/db/framework/FrameworkSQLiteProgram;-><init>(Landroid/database/sqlite/SQLiteProgram;)V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;->mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public execute()V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;->mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->execute()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public executeInsert()J
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;->mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->executeInsert()J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public executeUpdateDelete()I
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;->mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->executeUpdateDelete()I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
return v0
|
||
|
.end method
|
||
|
|
||
|
.method public simpleQueryForLong()J
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;->mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->simpleQueryForLong()J
|
||
|
|
||
|
move-result-wide v0
|
||
|
|
||
|
return-wide v0
|
||
|
.end method
|
||
|
|
||
|
.method public simpleQueryForString()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/sqlite/db/framework/FrameworkSQLiteStatement;->mDelegate:Landroid/database/sqlite/SQLiteStatement;
|
||
|
|
||
|
invoke-virtual {v0}, Landroid/database/sqlite/SQLiteStatement;->simpleQueryForString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|