public class StandardDatabaseStatement extends java.lang.Object implements DatabaseStatement
Constructor and Description |
---|
StandardDatabaseStatement(android.database.sqlite.SQLiteStatement delegate) |
Modifier and Type | Method and Description |
---|---|
void |
bindBlob(int index,
byte[] value) |
void |
bindDouble(int index,
double value) |
void |
bindLong(int index,
long value) |
void |
bindNull(int index) |
void |
bindString(int index,
java.lang.String value) |
void |
clearBindings() |
void |
close() |
void |
execute() |
long |
executeInsert() |
java.lang.Object |
getRawStatement() |
long |
simpleQueryForLong() |
public StandardDatabaseStatement(android.database.sqlite.SQLiteStatement delegate)
public void execute()
execute
in interface DatabaseStatement
public long simpleQueryForLong()
simpleQueryForLong
in interface DatabaseStatement
public void bindNull(int index)
bindNull
in interface DatabaseStatement
public long executeInsert()
executeInsert
in interface DatabaseStatement
public void bindString(int index, java.lang.String value)
bindString
in interface DatabaseStatement
public void bindBlob(int index, byte[] value)
bindBlob
in interface DatabaseStatement
public void bindLong(int index, long value)
bindLong
in interface DatabaseStatement
public void clearBindings()
clearBindings
in interface DatabaseStatement
public void bindDouble(int index, double value)
bindDouble
in interface DatabaseStatement
public void close()
close
in interface DatabaseStatement
public java.lang.Object getRawStatement()
getRawStatement
in interface DatabaseStatement
Available under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.