Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
|
Contents
Index

|
9.3.2 Data Searches
Java APIs can be used to perform the following operations:
- Obtain the number of XML documents that match search conditions
- Obtain the XML documents that match search conditions in a specified format
- Obtain all of a particular XML document
- Find XML documents that match search conditions and obtain the documents after they are sorted
- Obtain consecutive groups of XML documents that match search conditions
- Find XML documents that match search conditions and obtain the documents after their contents are aggregated
These operations can be combined to create a wide range of applications

The data search with the direct access key also can be used.
Refer to Chapter 6 Direct Access Function for more information on the function of the direct access key.
Sample programs for finding data are provided in Searching Data in F.1 Searching Data. The following sections explain how to create an application that will perform data searches.
9.3.2.1 Obtaining the Number of XML Documents that Match Search Conditions
9.3.2.2 Obtaining Search Results According to the Number of Data Items
9.3.2.3 Obtaining Search Results While Adding Search Conditions
9.3.2.4 Setting Maximum Value of Number of Hits
9.3.2.5 Extracting Record IDs
9.3.2.6 Using Record IDs to Obtain Entire XML Documents
9.3.2.7 Obtaining Sorted Data
9.3.2.8 Obtaining Consecutive Groups of XML Documents that Match Conditions
9.3.2.9 Aggregating the Content of Data that Matches Search Conditions
All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006