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

52 lines
1.5 KiB
Smali
Raw Normal View History

2020-11-12 02:11:44 +00:00
.class public Landroidx/room/RoomMasterTable;
.super Ljava/lang/Object;
.source "RoomMasterTable.java"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# static fields
2020-11-21 22:11:07 +00:00
.field private static final COLUMN_ID:Ljava/lang/String; = "id"
2020-11-12 02:11:44 +00:00
2020-11-21 22:11:07 +00:00
.field private static final COLUMN_IDENTITY_HASH:Ljava/lang/String; = "identity_hash"
2020-11-12 02:11:44 +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
2020-11-21 22:11:07 +00:00
.method private constructor <init>()V
2020-11-12 02:11:44 +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
const-string v0, "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \'"
const-string v1, "\')"
2020-11-21 22:11:07 +00:00
invoke-static {v0, p0, v1}, Lf/e/c/a/a;->s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2020-11-12 02:11:44 +00:00
move-result-object p0
return-object p0
.end method