Toolkit-mobile-templates  2.0.0
This repository contains the template applications of the toolkit.
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
org.buildmlearn.matchtemplate.data.MatchDb Class Reference

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

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

Public Member Functions

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

Private Attributes

final MatchDBHelper dbHelper
 
SQLiteDatabase db
 

Static Private Attributes

static final String EQUAL = " == "
 

Detailed Description

Contains database util functions for match template's app.

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

SQLiteDatabase org.buildmlearn.matchtemplate.data.MatchDb.db
private
final MatchDBHelper org.buildmlearn.matchtemplate.data.MatchDb.dbHelper
private
final String org.buildmlearn.matchtemplate.data.MatchDb.EQUAL = " == "
staticprivate

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