|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.loader.Cache
Cache - Load data from source tables (or select statements) and puts them into Hatshtable (cache).
Constructor Summary | |
Cache()
Public constructor of cache class. |
|
Cache(java.util.Hashtable cache)
Public constructor of cache class. |
Method Summary | |
java.util.Hashtable |
getCache()
Read current cache table |
java.util.Vector |
getCacheRow(java.math.BigDecimal row)
Read row of source values. |
java.util.Vector |
getCacheRow(java.util.Hashtable cache,
java.math.BigDecimal row)
Read row of source values. |
void |
resetCache()
Reset cache. |
void |
setCache(java.util.Hashtable cache)
Set cache table. |
void |
setCacheRow(java.math.BigDecimal row,
java.util.Vector sourceValues)
Put row of source values into cache. |
void |
setCacheRow(java.util.Hashtable cache,
java.math.BigDecimal row,
java.util.Vector sourceValues)
Put row of source values into cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cache()
public Cache(java.util.Hashtable cache)
cache
- is cache table.Method Detail |
public java.util.Hashtable getCache()
public void setCache(java.util.Hashtable cache)
cache
- is cache tablepublic void setCacheRow(java.math.BigDecimal row, java.util.Vector sourceValues)
row
- SQL query rowsourceValues
- represents source valuespublic void setCacheRow(java.util.Hashtable cache, java.math.BigDecimal row, java.util.Vector sourceValues)
cache
- is cache tablerow
- is SQL query rowsourceValues
- represents source valuespublic java.util.Vector getCacheRow(java.math.BigDecimal row)
row
- is SQL query row.
public java.util.Vector getCacheRow(java.util.Hashtable cache, java.math.BigDecimal row)
row
- is SQL query row.cache
- is cache table
public void resetCache()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |