public class ReadAllCache extends Object implements DatabaseLookupData.Cache
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ReadAllCache.Builder
Builder class for ReadAllCache. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Object[] | 
getRowFromCache(org.pentaho.di.core.row.RowMetaInterface lookupMeta,
               Object[] lookupRow)
Returns the very first data row that matches all conditions or  
null if none has been found. | 
void | 
storeRowInCache(DatabaseLookupMeta meta,
               org.pentaho.di.core.row.RowMetaInterface lookupMeta,
               Object[] lookupRow,
               Object[] add)
Saved  
add as data row and lookupRow as a key for searching it. | 
public Object[] getRowFromCache(org.pentaho.di.core.row.RowMetaInterface lookupMeta, Object[] lookupRow) throws org.pentaho.di.core.exception.KettleException
DatabaseLookupData.Cachenull if none has been found.
 Note, cache should keep the order in which elements were put into it.getRowFromCache in interface DatabaseLookupData.CachelookupMeta - meta object for dealing with lookupRowlookupRow - tuple containing values for comparisonnullorg.pentaho.di.core.exception.KettleExceptionpublic void storeRowInCache(DatabaseLookupMeta meta, org.pentaho.di.core.row.RowMetaInterface lookupMeta, Object[] lookupRow, Object[] add)
DatabaseLookupData.Cacheadd as data row and lookupRow as a key for searching it.storeRowInCache in interface DatabaseLookupData.Cachemeta - step's metalookupMeta - lookupRow's metalookupRow - tuple of keysadd - tuple of data