SupportSQLiteStatement

public interface SupportSQLiteStatement
implements SupportSQLiteProgram

androidx.sqlite.db.SupportSQLiteStatement


An interface to map the behavior of SQLiteStatement.

Summary

Public methods

abstract void execute()

Execute this SQL statement, if it is not a SELECT / INSERT / DELETE / UPDATE, for example CREATE / DROP table, view, trigger, index etc.

abstract long executeInsert()

Execute this SQL statement and return the ID of the row inserted due to this call.

abstract int executeUpdateDelete()

Execute this SQL statement, if the the number of rows affected by execution of this SQL statement is of any importance to the caller - for example, UPDATE / DELETE SQL statements.

abstract long simpleQueryForLong()

Execute a statement that returns a 1 by 1 table with a numeric value.

abstract String simpleQueryForString()

Execute a statement that returns a 1 by 1 table with a text value.

Inherited methods

Public methods

execute

public abstract void execute ()

Execute this SQL statement, if it is not a SELECT / INSERT / DELETE / UPDATE, for example CREATE / DROP table, view, trigger, index etc.

Throws