|
OracleAS Personalization Java API Reference 10g Release 2 (10.1.2) B14053-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dmt.op.re.reapi.batch.REProxyBatch
Constructor Summary | |
REProxyBatch(java.lang.String sProxyName, java.lang.String sDbURL, java.lang.String sUserName, java.lang.String sPassword) Constructor. |
Method Summary | |
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, java.lang.String sCustomerProfileTableName) Load scustomer profile. |
void |
purgeCustomerProfiles(java.lang.String sCustomerProfileTableName) This API drops the customer profiles table, identified by the input name from current RE schema. |
void |
rateItem(java.lang.String sCustomerProfileTableName, Item item, int taxonomyId, TuningSettings oTuningSettings, Location oResultLocation) Rates a single item for all customers in the profile table. |
void |
recommendTopItems(java.lang.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(java.lang.String sProxyName, java.lang.String sDbURL, java.lang.String sUserName, java.lang.String sPassword) throws StringTooLargeException, java.sql.SQLException, REProxyInitException
Method Detail |
public void destroy() throws java.sql.SQLException
REProxyBatch
object.java.sql.SQLException
public void loadCustomerProfiles(Location oCustomerIdsTable, java.lang.String sCustomerProfileTableName) throws StringTooLargeException, BadDBConnectionException, ErrorExecutingRE
oCustomerIdsTable
- location of customer profile tablesCustomerProfileTableName
- name of the output table to be created in the RE.StringTooLargeException
BadDBConnectionException
ErrorExecutingRE
public void purgeCustomerProfiles(java.lang.String sCustomerProfileTableName) throws StringTooLargeException, BadDBConnectionException, ErrorExecutingRE
sCustomerProfileTableName
- name of the output table to be dropped from the REStringTooLargeException
BadDBConnectionException
ErrorExecutingRE
public void recommendTopItems(java.lang.String sCustomerProfilesTableName, int iNumberOfTopItems, TuningSettings oTuningSettings, FilteringSettings oFilteringSettings, Location oResultLocation) throws StringTooLargeException, NullParameterException, BadDBConnectionException, ErrorExecutingRE, java.sql.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 storedStringTooLargeException
NullParameterException
BadDBConnectionException
ErrorExecutingRE
java.sql.SQLException
CreateResultTableError
public void rateItem(java.lang.String sCustomerProfileTableName, Item item, int taxonomyId, TuningSettings oTuningSettings, Location oResultLocation) throws StringTooLargeException, ErrorExecutingRE, BadDBConnectionException, CreateResultTableError
oTuningSettings
- various parameters needed for making recommendationsoResultLocation
- database location where the resulting recommendations are storedStringTooLargeException
ErrorExecutingRE
BadDBConnectionException
CreateResultTableError
public void crossSellForItem(Location oItemTableLocation, int iNumberOfItems, TuningSettings oTuningSettings, FilteringSettings oFilteringSettings, Location oResultLocation) throws NullParameterException, BadDBConnectionException, InvalidIDException, ErrorExecutingRE, java.sql.SQLException, CreateResultTableError
oItemTableLocation
- location of the input item tableoTuningSettings
- various parameters needed for making recommendationsoFilteringSettings
- various filtering parameters needed for making recommendationsoResultLocation
- database location where the resulting recommendations are storedNullParameterException
BadDBConnectionException
InvalidIDException
ErrorExecutingRE
java.sql.SQLException
CreateResultTableError
public void recordResultTableName(Location resultLocation) throws java.sql.SQLException, BadDBConnectionException
java.sql.SQLException
BadDBConnectionException
|
OracleAS Personalization Java API Reference 10g Release 2 (10.1.2) B14053-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |