BuildmLearn-Toolkit-Android  2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
Public Member Functions | Private Attributes | List of all members
org.buildmlearn.toolkit.matchtemplate.data.MatchDb Class Reference

Contains database util functions for match template's simulator. More...

Collaboration diagram for org.buildmlearn.toolkit.matchtemplate.data.MatchDb:
Collaboration graph
[legend]

Public Member Functions

 MatchDb (Context context)
 
void open () throws SQLException
 
void close ()
 
Cursor getMetaCursor ()
 
Cursor getRandMatchCursor ()
 
void deleteAll ()
 
int bulkInsertMatches (@NonNull ContentValues[] values)
 
long getCountMatches ()
 
int bulkInsertMetaDetails (@NonNull ContentValues[] values)
 

Private Attributes

final MatchDBHelper dbHelper
 
SQLiteDatabase db
 

Detailed Description

Contains database util functions for match template's simulator.

Created by Anupam (opticod) on 24/7/16.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.matchtemplate.data.MatchDb.MatchDb ( Context  context)

Member Function Documentation

int org.buildmlearn.toolkit.matchtemplate.data.MatchDb.bulkInsertMatches ( @NonNull ContentValues[]  values)
int org.buildmlearn.toolkit.matchtemplate.data.MatchDb.bulkInsertMetaDetails ( @NonNull ContentValues[]  values)
void org.buildmlearn.toolkit.matchtemplate.data.MatchDb.close ( )
void org.buildmlearn.toolkit.matchtemplate.data.MatchDb.deleteAll ( )
long org.buildmlearn.toolkit.matchtemplate.data.MatchDb.getCountMatches ( )
Cursor org.buildmlearn.toolkit.matchtemplate.data.MatchDb.getMetaCursor ( )
Cursor org.buildmlearn.toolkit.matchtemplate.data.MatchDb.getRandMatchCursor ( )
void org.buildmlearn.toolkit.matchtemplate.data.MatchDb.open ( ) throws SQLException

Member Data Documentation

SQLiteDatabase org.buildmlearn.toolkit.matchtemplate.data.MatchDb.db
private
final MatchDBHelper org.buildmlearn.toolkit.matchtemplate.data.MatchDb.dbHelper
private

The documentation for this class was generated from the following file: