summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHyoseong Kim <muzbit.kim@lge.com>2013-03-04 20:02:47 +0900
committergit-lg-database.lge.com <lg-database@lge.com>2013-04-01 15:55:55 +0900
commitac4daee248b4bb0cb658c83437e4a9d93c6dce2d (patch)
tree05150367de93552334d06c05e313150ebdba6ccc /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf5276c16ad97d94f8773938012ae54f8c7ba450a (diff)
Add additional Method that check whether a table is empty or not
Application Devleopers are using queryNumEntries API implemented by "COUNT(*)" to check whether a table is empty or not. COUNT(*) has to process the entire table to compute the result. But, "EXISTS" can stop after a single matching row has been found. So, Using "EXISTS" is more faster than "COUNT(*)" I added new API using "EXISTS" to check whether a table is empty or not Change-Id: Idcc2633d0a5349c59f41e125cf34c9dc6622cdbe
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions