aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/healthmarketscience/jackcess/UsageMap.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2011-07-16 02:39:50 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2011-07-16 02:39:50 +0000
commit599d2da23e2d88632133ab178ad3e23cdc204753 (patch)
tree7914b220881fbeabc2dc1848361632f7aeedb9f7 /src/java/com/healthmarketscience/jackcess/UsageMap.java
parent150cf4f38bc6f05bfa8e28696d65943e5f4daca5 (diff)
downloadjackcess-599d2da23e2d88632133ab178ad3e23cdc204753.tar.gz
jackcess-599d2da23e2d88632133ab178ad3e23cdc204753.zip
add some methods to approximate table size
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@569 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/java/com/healthmarketscience/jackcess/UsageMap.java')
-rw-r--r--src/java/com/healthmarketscience/jackcess/UsageMap.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/UsageMap.java b/src/java/com/healthmarketscience/jackcess/UsageMap.java
index d60141e..931891e 100644
--- a/src/java/com/healthmarketscience/jackcess/UsageMap.java
+++ b/src/java/com/healthmarketscience/jackcess/UsageMap.java
@@ -150,6 +150,10 @@ public class UsageMap
return new PageCursor();
}
+ public int getPageCount() {
+ return _pageNumbers.cardinality();
+ }
+
protected short getRowStart() {
return _rowStart;
}