apkfuckery/com.discord/smali/androidx/room/RoomMasterTable.smali

52 lines
1.5 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public Landroidx/room/RoomMasterTable;
.super Ljava/lang/Object;
.source "RoomMasterTable.java"
2019-12-06 03:29:40 +00:00
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
2019-07-24 11:27:29 +00:00
# static fields
2019-12-06 03:29:40 +00:00
.field public static final COLUMN_ID:Ljava/lang/String; = "id"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public static final COLUMN_IDENTITY_HASH:Ljava/lang/String; = "identity_hash"
2019-07-24 11:27:29 +00:00
.field public static final CREATE_QUERY:Ljava/lang/String; = "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)"
.field public static final DEFAULT_ID:Ljava/lang/String; = "42"
.field public static final NAME:Ljava/lang/String; = "room_master_table"
.field public static final READ_QUERY:Ljava/lang/String; = "SELECT identity_hash FROM room_master_table WHERE id = 42 LIMIT 1"
.field public static final TABLE_NAME:Ljava/lang/String; = "room_master_table"
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static createInsertQuery(Ljava/lang/String;)Ljava/lang/String;
.locals 2
2019-12-06 03:29:40 +00:00
const-string v0, "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \'"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-string v1, "\')"
2019-07-24 11:27:29 +00:00
2020-05-11 19:22:21 +00:00
invoke-static {v0, p0, v1}, Lf/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p0
return-object p0
.end method