PingEventDao.smali
.class public Lcom/sandboxol/greendao/entity/PingEventDao;
.super Lorg/greenrobot/greendao/a;
.source "PingEventDao.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/sandboxol/greendao/entity/PingEventDao$Properties;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lorg/greenrobot/greendao/a<",
"Lcom/sandboxol/greendao/entity/report/PingEvent;",
"Ljava/lang/Long;",
">;"
}
.end annotation
# static fields
.field public static final TABLENAME:Ljava/lang/String; = "PING_EVENT"
# instance fields
.field private final fpsValueListConverter:Lcom/sandboxol/greendao/b/o;
.field private final netPingValueListConverter:Lcom/sandboxol/greendao/b/o;
.field private final pingValueListConverter:Lcom/sandboxol/greendao/b/o;
# direct methods
.method public constructor <init>(Lorg/greenrobot/greendao/c/a;)V
.registers 2
.line 1
invoke-direct {p0, p1}, Lorg/greenrobot/greendao/a;-><init>(Lorg/greenrobot/greendao/c/a;)V
.line 2
new-instance p1, Lcom/sandboxol/greendao/b/o;
invoke-direct {p1}, Lcom/sandboxol/greendao/b/o;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->pingValueListConverter:Lcom/sandboxol/greendao/b/o;
.line 3
new-instance p1, Lcom/sandboxol/greendao/b/o;
invoke-direct {p1}, Lcom/sandboxol/greendao/b/o;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->netPingValueListConverter:Lcom/sandboxol/greendao/b/o;
.line 4
new-instance p1, Lcom/sandboxol/greendao/b/o;
invoke-direct {p1}, Lcom/sandboxol/greendao/b/o;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->fpsValueListConverter:Lcom/sandboxol/greendao/b/o;
return-void
.end method
.method public constructor <init>(Lorg/greenrobot/greendao/c/a;Lcom/sandboxol/greendao/entity/DaoSession;)V
.registers 3
.line 5
invoke-direct {p0, p1, p2}, Lorg/greenrobot/greendao/a;-><init>(Lorg/greenrobot/greendao/c/a;Lorg/greenrobot/greendao/c;)V
.line 6
new-instance p1, Lcom/sandboxol/greendao/b/o;
invoke-direct {p1}, Lcom/sandboxol/greendao/b/o;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->pingValueListConverter:Lcom/sandboxol/greendao/b/o;
.line 7
new-instance p1, Lcom/sandboxol/greendao/b/o;
invoke-direct {p1}, Lcom/sandboxol/greendao/b/o;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->netPingValueListConverter:Lcom/sandboxol/greendao/b/o;
.line 8
new-instance p1, Lcom/sandboxol/greendao/b/o;
invoke-direct {p1}, Lcom/sandboxol/greendao/b/o;-><init>()V
iput-object p1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->fpsValueListConverter:Lcom/sandboxol/greendao/b/o;
return-void
.end method
.method public static createTable(Lorg/greenrobot/greendao/b/a;Z)V
.registers 4
if-eqz p1, :cond_5
const-string p1, "IF NOT EXISTS "
goto :goto_7
:cond_5
const-string p1, ""
.line 1
:goto_7
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "CREATE TABLE "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, "\"PING_EVENT\" (\"_id\" INTEGER PRIMARY KEY AUTOINCREMENT ,\"GAME_ID\" TEXT,\"PING_VALUE_LIST\" TEXT,\"NET_PING_VALUE_LIST\" TEXT,\"FPS_VALUE_LIST\" TEXT);"
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-interface {p0, p1}, Lorg/greenrobot/greendao/b/a;->c(Ljava/lang/String;)V
return-void
.end method
.method public static dropTable(Lorg/greenrobot/greendao/b/a;Z)V
.registers 4
.line 1
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "DROP TABLE "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
if-eqz p1, :cond_f
const-string p1, "IF EXISTS "
goto :goto_11
:cond_f
const-string p1, ""
:goto_11
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, "\"PING_EVENT\""
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
.line 2
invoke-interface {p0, p1}, Lorg/greenrobot/greendao/b/a;->c(Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method protected final bindValues(Landroid/database/sqlite/SQLiteStatement;Lcom/sandboxol/greendao/entity/report/PingEvent;)V
.registers 7
.line 14
invoke-virtual {p1}, Landroid/database/sqlite/SQLiteStatement;->clearBindings()V
.line 15
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getID()Ljava/lang/Long;
move-result-object v0
if-eqz v0, :cond_11
const/4 v1, 0x1
.line 16
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-virtual {p1, v1, v2, v3}, Landroid/database/sqlite/SQLiteStatement;->bindLong(IJ)V
.line 17
:cond_11
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getGameId()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_1b
const/4 v1, 0x2
.line 18
invoke-virtual {p1, v1, v0}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V
.line 19
:cond_1b
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getPingValueList()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_2b
const/4 v1, 0x3
.line 20
iget-object v2, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->pingValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-virtual {v2, v0}, Lcom/sandboxol/greendao/b/o;->a(Ljava/util/List;)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v1, v0}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V
.line 21
:cond_2b
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getNetPingValueList()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_3b
const/4 v1, 0x4
.line 22
iget-object v2, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->netPingValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-virtual {v2, v0}, Lcom/sandboxol/greendao/b/o;->a(Ljava/util/List;)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v1, v0}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V
.line 23
:cond_3b
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getFpsValueList()Ljava/util/List;
move-result-object p2
if-eqz p2, :cond_4b
const/4 v0, 0x5
.line 24
iget-object v1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->fpsValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-virtual {v1, p2}, Lcom/sandboxol/greendao/b/o;->a(Ljava/util/List;)Ljava/lang/String;
move-result-object p2
invoke-virtual {p1, v0, p2}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V
:cond_4b
return-void
.end method
.method protected bridge synthetic bindValues(Landroid/database/sqlite/SQLiteStatement;Ljava/lang/Object;)V
.registers 3
.line 1
check-cast p2, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/PingEventDao;->bindValues(Landroid/database/sqlite/SQLiteStatement;Lcom/sandboxol/greendao/entity/report/PingEvent;)V
return-void
.end method
.method protected final bindValues(Lorg/greenrobot/greendao/b/c;Lcom/sandboxol/greendao/entity/report/PingEvent;)V
.registers 7
.line 3
invoke-interface {p1}, Lorg/greenrobot/greendao/b/c;->c()V
.line 4
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getID()Ljava/lang/Long;
move-result-object v0
if-eqz v0, :cond_11
const/4 v1, 0x1
.line 5
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
move-result-wide v2
invoke-interface {p1, v1, v2, v3}, Lorg/greenrobot/greendao/b/c;->c(IJ)V
.line 6
:cond_11
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getGameId()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_1b
const/4 v1, 0x2
.line 7
invoke-interface {p1, v1, v0}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V
.line 8
:cond_1b
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getPingValueList()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_2b
const/4 v1, 0x3
.line 9
iget-object v2, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->pingValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-virtual {v2, v0}, Lcom/sandboxol/greendao/b/o;->a(Ljava/util/List;)Ljava/lang/String;
move-result-object v0
invoke-interface {p1, v1, v0}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V
.line 10
:cond_2b
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getNetPingValueList()Ljava/util/List;
move-result-object v0
if-eqz v0, :cond_3b
const/4 v1, 0x4
.line 11
iget-object v2, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->netPingValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-virtual {v2, v0}, Lcom/sandboxol/greendao/b/o;->a(Ljava/util/List;)Ljava/lang/String;
move-result-object v0
invoke-interface {p1, v1, v0}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V
.line 12
:cond_3b
invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getFpsValueList()Ljava/util/List;
move-result-object p2
if-eqz p2, :cond_4b
const/4 v0, 0x5
.line 13
iget-object v1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->fpsValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-virtual {v1, p2}, Lcom/sandboxol/greendao/b/o;->a(Ljava/util/List;)Ljava/lang/String;
move-result-object p2
invoke-interface {p1, v0, p2}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V
:cond_4b
return-void
.end method
.method protected bridge synthetic bindValues(Lorg/greenrobot/greendao/b/c;Ljava/lang/Object;)V
.registers 3
.line 2
check-cast p2, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/PingEventDao;->bindValues(Lorg/greenrobot/greendao/b/c;Lcom/sandboxol/greendao/entity/report/PingEvent;)V
return-void
.end method
.method public getKey(Lcom/sandboxol/greendao/entity/report/PingEvent;)Ljava/lang/Long;
.registers 2
if-eqz p1, :cond_7
.line 2
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getID()Ljava/lang/Long;
move-result-object p1
return-object p1
:cond_7
const/4 p1, 0x0
return-object p1
.end method
.method public bridge synthetic getKey(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/entity/PingEventDao;->getKey(Lcom/sandboxol/greendao/entity/report/PingEvent;)Ljava/lang/Long;
move-result-object p1
return-object p1
.end method
.method public hasKey(Lcom/sandboxol/greendao/entity/report/PingEvent;)Z
.registers 2
.line 2
invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/report/PingEvent;->getID()Ljava/lang/Long;
move-result-object p1
if-eqz p1, :cond_8
const/4 p1, 0x1
goto :goto_9
:cond_8
const/4 p1, 0x0
:goto_9
return p1
.end method
.method public bridge synthetic hasKey(Ljava/lang/Object;)Z
.registers 2
.line 1
check-cast p1, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/entity/PingEventDao;->hasKey(Lcom/sandboxol/greendao/entity/report/PingEvent;)Z
move-result p1
return p1
.end method
.method protected final isEntityUpdateable()Z
.registers 2
const/4 v0, 0x1
return v0
.end method
.method public readEntity(Landroid/database/Cursor;I)Lcom/sandboxol/greendao/entity/report/PingEvent;
.registers 4
.line 3
new-instance v0, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-direct {v0}, Lcom/sandboxol/greendao/entity/report/PingEvent;-><init>()V
.line 4
invoke-virtual {p0, p1, v0, p2}, Lcom/sandboxol/greendao/entity/PingEventDao;->readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/report/PingEvent;I)V
return-object v0
.end method
.method public bridge synthetic readEntity(Landroid/database/Cursor;I)Ljava/lang/Object;
.registers 3
.line 1
invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/PingEventDao;->readEntity(Landroid/database/Cursor;I)Lcom/sandboxol/greendao/entity/report/PingEvent;
move-result-object p1
return-object p1
.end method
.method public readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/report/PingEvent;I)V
.registers 7
add-int/lit8 v0, p3, 0x0
.line 5
invoke-interface {p1, v0}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
const/4 v2, 0x0
if-eqz v1, :cond_b
move-object v0, v2
goto :goto_13
:cond_b
invoke-interface {p1, v0}, Landroid/database/Cursor;->getLong(I)J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
:goto_13
invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/PingEvent;->setID(Ljava/lang/Long;)V
add-int/lit8 v0, p3, 0x1
.line 6
invoke-interface {p1, v0}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_20
move-object v0, v2
goto :goto_24
:cond_20
invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v0
:goto_24
invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/PingEvent;->setGameId(Ljava/lang/String;)V
add-int/lit8 v0, p3, 0x2
.line 7
invoke-interface {p1, v0}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_31
move-object v0, v2
goto :goto_3b
:cond_31
iget-object v1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->pingValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Lcom/sandboxol/greendao/b/o;->a(Ljava/lang/String;)Ljava/util/List;
move-result-object v0
:goto_3b
invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/PingEvent;->setPingValueList(Ljava/util/List;)V
add-int/lit8 v0, p3, 0x3
.line 8
invoke-interface {p1, v0}, Landroid/database/Cursor;->isNull(I)Z
move-result v1
if-eqz v1, :cond_48
move-object v0, v2
goto :goto_52
:cond_48
iget-object v1, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->netPingValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-virtual {v1, v0}, Lcom/sandboxol/greendao/b/o;->a(Ljava/lang/String;)Ljava/util/List;
move-result-object v0
:goto_52
invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/PingEvent;->setNetPingValueList(Ljava/util/List;)V
add-int/lit8 p3, p3, 0x4
.line 9
invoke-interface {p1, p3}, Landroid/database/Cursor;->isNull(I)Z
move-result v0
if-eqz v0, :cond_5e
goto :goto_68
:cond_5e
iget-object v0, p0, Lcom/sandboxol/greendao/entity/PingEventDao;->fpsValueListConverter:Lcom/sandboxol/greendao/b/o;
invoke-interface {p1, p3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object p1
invoke-virtual {v0, p1}, Lcom/sandboxol/greendao/b/o;->a(Ljava/lang/String;)Ljava/util/List;
move-result-object v2
:goto_68
invoke-virtual {p2, v2}, Lcom/sandboxol/greendao/entity/report/PingEvent;->setFpsValueList(Ljava/util/List;)V
return-void
.end method
.method public bridge synthetic readEntity(Landroid/database/Cursor;Ljava/lang/Object;I)V
.registers 4
.line 2
check-cast p2, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-virtual {p0, p1, p2, p3}, Lcom/sandboxol/greendao/entity/PingEventDao;->readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/report/PingEvent;I)V
return-void
.end method
.method public readKey(Landroid/database/Cursor;I)Ljava/lang/Long;
.registers 4
add-int/lit8 p2, p2, 0x0
.line 2
invoke-interface {p1, p2}, Landroid/database/Cursor;->isNull(I)Z
move-result v0
if-eqz v0, :cond_a
const/4 p1, 0x0
goto :goto_12
:cond_a
invoke-interface {p1, p2}, Landroid/database/Cursor;->getLong(I)J
move-result-wide p1
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
:goto_12
return-object p1
.end method
.method public bridge synthetic readKey(Landroid/database/Cursor;I)Ljava/lang/Object;
.registers 3
.line 1
invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/PingEventDao;->readKey(Landroid/database/Cursor;I)Ljava/lang/Long;
move-result-object p1
return-object p1
.end method
.method protected final updateKeyAfterInsert(Lcom/sandboxol/greendao/entity/report/PingEvent;J)Ljava/lang/Long;
.registers 5
.line 2
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
invoke-virtual {p1, v0}, Lcom/sandboxol/greendao/entity/report/PingEvent;->setID(Ljava/lang/Long;)V
.line 3
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
return-object p1
.end method
.method protected bridge synthetic updateKeyAfterInsert(Ljava/lang/Object;J)Ljava/lang/Object;
.registers 4
.line 1
check-cast p1, Lcom/sandboxol/greendao/entity/report/PingEvent;
invoke-virtual {p0, p1, p2, p3}, Lcom/sandboxol/greendao/entity/PingEventDao;->updateKeyAfterInsert(Lcom/sandboxol/greendao/entity/report/PingEvent;J)Ljava/lang/Long;
move-result-object p1
return-object p1
.end method