Package org.pentaho.di.core
Class DBCacheEntry
java.lang.Object
org.pentaho.di.core.DBCacheEntry
This class represents a single entry in a database cache. A single entry in this case usually means: a single SQL
query.
- Since:
- 15-01-04
- Author:
- Matt
-
Constructor Summary
ConstructorDescriptionRead the data for this Cache entry from a data input streamDBCacheEntry
(String dbname, String sql) -
Method Summary
-
Constructor Details
-
DBCacheEntry
-
DBCacheEntry
public DBCacheEntry() -
DBCacheEntry
Read the data for this Cache entry from a data input stream- Parameters:
dis
- The DataInputStream to read this entry from.- Throws:
KettleFileException
- if the cache can't be read from disk when it should be able to. If the cache file doesn't exists, no exception is thrown
-
-
Method Details
-
sameDB
-
hashCode
public int hashCode() -
equals
-
write
Write the data for this Cache entry to a data output stream- Parameters:
dos
- The DataOutputStream to write this entry to.- Returns:
- True if all went well, false if an error occured!
-