Oracle Endeca – Navigation Query Example using Presentation API.

Sample client which connect to an Oracle Endeca MDEX server and make a navigation search. Query will be applied with nvalue zero or root. This program assume that the MDEX installed in localhost and running on port 15000.

Sample code to create a navigation query

Class DimValIdList has three constructors.

  1. DimValIdList()
  2. DimValIdList(DimValList values)
  3. DimValIdList(String ids)

DimValList is a java.utl.List implementation, If you have multiple ‘nids’ then you may use the second constructor.

setNavNumERecs(int number) method set an integer specifying the maximum number of records to return for the navigation query.

Complete Example

One thought on “Oracle Endeca – Navigation Query Example using Presentation API.