|
Oracle Personalization REAPI_RT v9.0.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.op.re.reapi.batch.REProxyBatch
Constructor Summary |
REProxyBatch(String sProxyName,
String sDbURL,
String sUserName,
String sPassword)
Constructor. |
Method Summary |
Type | Method |
---|---|
void |
crossSellForItem(Location oItemTableLocation,
int iNumberOfItems,
TuningSettings oTuningSettings,
FilteringSettings oFilteringSettings,
Location oResultLocation)
Recommends cross-sell items for a specified item. |
void |
destroy()
Destroys REProxyBatch object. |
void |
loadCustomerProfiles(Location oCustomerIdsTable,
String sCustomerProfileTableName)
Load scustomer profile. |
void |
purgeCustomerProfiles(String sCustomerProfileTableName)
This API drops the customer profiles table, identified by the input name from current RE schema. |
void |
rateItem(String sCustomerProfileTableName,
Item item,
int taxonomyId,
TuningSettings oTuningSettings,
Location oResultLocation)
Rates a single item for all customers in the profile table. |
void |
recommendTopItems(String sCustomerProfilesTableName,
int iNumberOfTopItems,
TuningSettings oTuningSettings,
FilteringSettings oFilteringSettings,
Location oResultLocation)
Recommends top N items for all customers whose profiles are found in the customer profiles table. |
void |
recordResultTableName(Location resultLocation)
Records name of the result table we created. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode,
notify, notifyAll, toString,
wait, wait, wait |
Constructor Detail |
public REProxyBatch(String sProxyName, String sDbURL, String sUserName, String sPassword) throws StringTooLargeException, SQLException, REProxyInitException
Method Detail |
public void destroy() throws SQLException
REProxyBatch
object.SQLException
- public void loadCustomerProfiles(Location oCustomerIdsTable, String sCustomerProfileTableName) throws StringTooLargeException, BadDBConnectionException, ErrorExecutingRE
oCustomerIdsTable
- location of customer profile tablesCustomerProfileTableName
- name of the output table to be created in the RE.public void purgeCustomerProfiles(String sCustomerProfileTableName) throws StringTooLargeException, BadDBConnectionException, ErrorExecutingRE
sCustomerProfileTableName
- name of the output table to be dropped from the REpublic void recommendTopItems(String sCustomerProfilesTableName, int iNumberOfTopItems, TuningSettings oTuningSettings, FilteringSettings oFilteringSettings, Location oResultLocation) throws StringTooLargeException, NullParameterException, BadDBConnectionException, ErrorExecutingRE, SQLException, CreateResultTableError
sCustomerProfilesTableName
- name of the customer profiles table already existing in the REiNumberOfTopItems
- number of items to recommend, per customeroTuningSettings
- various parameters
needed for making recommendationsoFilteringSettings
- various filtering parameters needed for making recommendationsoResultLocation
- database location where the resulting recommendations are storedpublic void rateItem(String sCustomerProfileTableName, Item item, int taxonomyId, TuningSettings oTuningSettings, Location oResultLocation) throws StringTooLargeException, ErrorExecutingRE, BadDBConnectionException, CreateResultTableError
sCustomerProfileName
- name of the customer profiles table already existing in the REoTuningSettings
- various parameters needed for making recommendationsoFilteringSettings
- various
filtering parameters needed for making recommendationsoResultLocation
- database location where the resulting recommendations are storedpublic void crossSellForItem(Location oItemTableLocation, int iNumberOfItems, TuningSettings oTuningSettings, FilteringSettings oFilteringSettings, Location oResultLocation) throws NullParameterException, BadDBConnectionException, InvalidIDException, ErrorExecutingRE, SQLException, CreateResultTableError
oItemTableLocation
- location of the input item tableiNumerOfItems
- number of cross-sell items to returnoTuningSettings
- various parameters needed for making recommendationsoFilteringSettings
- various filtering parameters needed for making recommendationsoResultLocation
- database location where the resulting recommendations are storedpublic void recordResultTableName(Location resultLocation) throws SQLException, BadDBConnectionException
|
Oracle Personalization REAPI_RT v9.0.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |