| java.lang.Object org.webdocwf.util.loader.Cache
Cache | public class Cache (Code) | | Cache - Load data from source tables (or select statements) and puts them into
Hatshtable (cache).
|
Constructor Summary | |
public | Cache() Public constructor of cache class. | public | Cache(Hashtable cache) Public constructor of cache class. |
Cache | public Cache()(Code) | | Public constructor of cache class.
Constructor create new hashtable
|
Cache | public Cache(Hashtable cache)(Code) | | Public constructor of cache class.
Constructor set cache table.
Parameters: cache - is cache table. |
getCache | public Hashtable getCache()(Code) | | Read current cache table
value of parmeter hCache |
getCacheRow | public Vector getCacheRow(BigDecimal row)(Code) | | Read row of source values.
Parameters: row - is SQL query row. Vector values of source columns. |
getCacheRow | public Vector getCacheRow(Hashtable cache, BigDecimal row)(Code) | | Read row of source values.
Parameters: row - is SQL query row. Parameters: cache - is cache table Vector values of source columns. |
resetCache | public void resetCache()(Code) | | Reset cache.
|
setCache | public void setCache(Hashtable cache)(Code) | | Set cache table.
Parameters: cache - is cache table |
setCacheRow | public void setCacheRow(BigDecimal row, Vector sourceValues)(Code) | | Put row of source values into cache.
Parameters: row - SQL query row Parameters: sourceValues - represents source values |
setCacheRow | public void setCacheRow(Hashtable cache, BigDecimal row, Vector sourceValues)(Code) | | Put row of source values into cache.
Parameters: cache - is cache table Parameters: row - is SQL query row Parameters: sourceValues - represents source values |
|
|