public class IDResolverImpl extends java.lang.Object implements IDResolver
Constructor and Description |
---|
IDResolverImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean | checkId(java.lang.String tableName, java.util.List primaryKeyData)
Check to see if the primary key is in the database.
|
boolean | checkId(java.lang.String tableName, java.util.List primaryKeyData, java.lang.String schema)
Check ID for a specific schema to see if the primary key is in the database
|
void | clearAllCache()
Clear cache for all tables.
|
void | clearAllSecondaryCache()
Clear secondary cache for all tables.
|
long | getCacheSize()
Get the max cache size for the IDResolver.
|
com.ibm.commerce.foundation.dataload.idresolve.IDResolverForOneTable | getIDResolverInUseForCheckId(java.lang.String tableName)
Get the ID resolver in use for checkId.
|
java.util.List<com.ibm.commerce.foundation.dataload.idresolve.IDResolverForOneTable> | getIDResolversInUseForResolveId(java.lang.String tableName)
Get the ID resolvers in use for resolveId.
|
java.util.SortedSet<java.lang.String> | getIDResolverTableNames()
Get the ID resolver table names in sorted alphabetic order.
|
IDResolveResponse | resolveId(IDResolveRequest request)
This method obtains the data from IDResolveRequest, processes it and then creates an IDResolveResponse object and returns it.
|
void | setCacheSize(long size)
Set the max total map size allowed.
|
public java.util.List<com.ibm.commerce.foundation.dataload.idresolve.IDResolverForOneTable> getIDResolversInUseForResolveId(java.lang.String tableName)
public com.ibm.commerce.foundation.dataload.idresolve.IDResolverForOneTable getIDResolverInUseForCheckId(java.lang.String tableName) throws DataLoadException
public java.util.SortedSet<java.lang.String> getIDResolverTableNames()
public boolean checkId(java.lang.String tableName, java.util.List primaryKeyData) throws DataLoadException
public boolean checkId(java.lang.String tableName, java.util.List primaryKeyData, java.lang.String schema) throws DataLoadException
public void setCacheSize(long size)
public long getCacheSize()
public void clearAllCache()
public void clearAllSecondaryCache()
public IDResolveResponse resolveId(IDResolveRequest request) throws DataLoadException