public static interface DatabaseLookupData.Cache
DatabaseLookup step.| Modifier and Type | Method and Description |
|---|---|
Object[] |
getRowFromCache(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,
RowMetaInterface lookupMeta,
Object[] lookupRow,
Object[] add)
Saved
add as data row and lookupRow as a key for searching it. |
Object[] getRowFromCache(RowMetaInterface lookupMeta, Object[] lookupRow) throws KettleException
null if none has been found.
Note, cache should keep the order in which elements were put into it.lookupMeta - meta object for dealing with lookupRowlookupRow - tuple containing values for comparisonnullKettleExceptionvoid storeRowInCache(DatabaseLookupMeta meta, RowMetaInterface lookupMeta, Object[] lookupRow, Object[] add)
add as data row and lookupRow as a key for searching it.meta - step's metalookupMeta - lookupRow's metalookupRow - tuple of keysadd - tuple of dataCopyright © 2018 Hitachi Vantara. All rights reserved.