1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 |
<!--NewPage--> |
3 |
<HTML> |
4 |
<HEAD> |
5 |
<!-- Generated by javadoc (build 1.4.2_06) on Mon Aug 01 00:51:52 JST 2005 --> |
6 |
<TITLE> |
7 |
NodeResult (estraier) |
8 |
</TITLE> |
9 |
|
10 |
<META NAME="keywords" CONTENT="estraier.NodeResult interface"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="NodeResult (estraier)"; |
18 |
} |
19 |
</SCRIPT> |
20 |
|
21 |
</HEAD> |
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR> |
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
40 |
</TR> |
41 |
</TABLE> |
42 |
</TD> |
43 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
44 |
</EM> |
45 |
</TD> |
46 |
</TR> |
47 |
|
48 |
<TR> |
49 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
50 |
<A HREF="../estraier/Node.html" title="interface in estraier"><B>PREV CLASS</B></A> |
51 |
<A HREF="../estraier/ResultDocument.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD> |
52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
53 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
54 |
<A HREF="NodeResult.html" target="_top"><B>NO FRAMES</B></A> |
55 |
<SCRIPT type="text/javascript"> |
56 |
<!-- |
57 |
if(window==top) { |
58 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
59 |
} |
60 |
//--> |
61 |
</SCRIPT> |
62 |
<NOSCRIPT> |
63 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
64 |
</NOSCRIPT> |
65 |
|
66 |
</FONT></TD> |
67 |
</TR> |
68 |
<TR> |
69 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
70 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
73 |
</TR> |
74 |
</TABLE> |
75 |
<A NAME="skip-navbar_top"></A> |
76 |
<!-- ========= END OF TOP NAVBAR ========= --> |
77 |
|
78 |
<HR> |
79 |
<!-- ======== START OF CLASS DATA ======== --> |
80 |
<H2> |
81 |
<FONT SIZE="-1"> |
82 |
estraier</FONT> |
83 |
<BR> |
84 |
Interface NodeResult</H2> |
85 |
<HR> |
86 |
<DL> |
87 |
<DT>public interface <B>NodeResult</B></DL> |
88 |
|
89 |
<P> |
90 |
Abstraction of result set from P2P node. |
91 |
<P> |
92 |
|
93 |
<P> |
94 |
<HR> |
95 |
|
96 |
<P> |
97 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
98 |
|
99 |
|
100 |
<!-- =========== FIELD SUMMARY =========== --> |
101 |
|
102 |
|
103 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
104 |
|
105 |
|
106 |
<!-- ========== METHOD SUMMARY =========== --> |
107 |
|
108 |
<A NAME="method_summary"><!-- --></A> |
109 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
110 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
111 |
<TD COLSPAN=2><FONT SIZE="+2"> |
112 |
<B>Method Summary</B></FONT></TD> |
113 |
</TR> |
114 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
115 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
116 |
<CODE> int</CODE></FONT></TD> |
117 |
<TD><CODE><B><A HREF="../estraier/NodeResult.html#doc_num()">doc_num</A></B>()</CODE> |
118 |
|
119 |
<BR> |
120 |
Get the number of documents.</TD> |
121 |
</TR> |
122 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
123 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
124 |
<CODE> <A HREF="../estraier/ResultDocument.html" title="interface in estraier">ResultDocument</A></CODE></FONT></TD> |
125 |
<TD><CODE><B><A HREF="../estraier/NodeResult.html#get_doc(int)">get_doc</A></B>(int index)</CODE> |
126 |
|
127 |
<BR> |
128 |
Get a result document object</TD> |
129 |
</TR> |
130 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
131 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
132 |
<CODE> java.lang.String</CODE></FONT></TD> |
133 |
<TD><CODE><B><A HREF="../estraier/NodeResult.html#hint(java.lang.String)">hint</A></B>(java.lang.String key)</CODE> |
134 |
|
135 |
<BR> |
136 |
Get the value of hint information.</TD> |
137 |
</TR> |
138 |
</TABLE> |
139 |
|
140 |
<P> |
141 |
|
142 |
<!-- ============ FIELD DETAIL =========== --> |
143 |
|
144 |
|
145 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
146 |
|
147 |
|
148 |
<!-- ============ METHOD DETAIL ========== --> |
149 |
|
150 |
<A NAME="method_detail"><!-- --></A> |
151 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
152 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
153 |
<TD COLSPAN=1><FONT SIZE="+2"> |
154 |
<B>Method Detail</B></FONT></TD> |
155 |
</TR> |
156 |
</TABLE> |
157 |
|
158 |
<A NAME="doc_num()"><!-- --></A><H3> |
159 |
doc_num</H3> |
160 |
<PRE> |
161 |
public int <B>doc_num</B>()</PRE> |
162 |
<DL> |
163 |
<DD>Get the number of documents. |
164 |
<P> |
165 |
<DD><DL> |
166 |
|
167 |
<DT><B>Returns:</B><DD>the number of documents.</DL> |
168 |
</DD> |
169 |
</DL> |
170 |
<HR> |
171 |
|
172 |
<A NAME="get_doc(int)"><!-- --></A><H3> |
173 |
get_doc</H3> |
174 |
<PRE> |
175 |
public <A HREF="../estraier/ResultDocument.html" title="interface in estraier">ResultDocument</A> <B>get_doc</B>(int index)</PRE> |
176 |
<DL> |
177 |
<DD>Get a result document object |
178 |
<P> |
179 |
<DD><DL> |
180 |
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of a document. |
181 |
<DT><B>Returns:</B><DD>a result document object or null if the index is out of bounds.</DL> |
182 |
</DD> |
183 |
</DL> |
184 |
<HR> |
185 |
|
186 |
<A NAME="hint(java.lang.String)"><!-- --></A><H3> |
187 |
hint</H3> |
188 |
<PRE> |
189 |
public java.lang.String <B>hint</B>(java.lang.String key)</PRE> |
190 |
<DL> |
191 |
<DD>Get the value of hint information. |
192 |
<P> |
193 |
<DD><DL> |
194 |
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of a hint. "VERSION", "NODE", "HIT", "HINT#n", "DOCNUM", "WORDNUM", |
195 |
"TIME", "LINK#n", and "VIEW" are provided for keys. |
196 |
<DT><B>Returns:</B><DD>the value of the hint or null if the key does not exist.</DL> |
197 |
</DD> |
198 |
</DL> |
199 |
<!-- ========= END OF CLASS DATA ========= --> |
200 |
<HR> |
201 |
|
202 |
|
203 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
204 |
<A NAME="navbar_bottom"><!-- --></A> |
205 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
206 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
207 |
<TR> |
208 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
209 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
210 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
211 |
<TR ALIGN="center" VALIGN="top"> |
212 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
213 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
214 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
215 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
216 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
217 |
</TR> |
218 |
</TABLE> |
219 |
</TD> |
220 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
221 |
</EM> |
222 |
</TD> |
223 |
</TR> |
224 |
|
225 |
<TR> |
226 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
227 |
<A HREF="../estraier/Node.html" title="interface in estraier"><B>PREV CLASS</B></A> |
228 |
<A HREF="../estraier/ResultDocument.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD> |
229 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
230 |
<A HREF="../index.html" target="_top"><B>FRAMES</B></A> |
231 |
<A HREF="NodeResult.html" target="_top"><B>NO FRAMES</B></A> |
232 |
<SCRIPT type="text/javascript"> |
233 |
<!-- |
234 |
if(window==top) { |
235 |
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); |
236 |
} |
237 |
//--> |
238 |
</SCRIPT> |
239 |
<NOSCRIPT> |
240 |
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A> |
241 |
</NOSCRIPT> |
242 |
|
243 |
</FONT></TD> |
244 |
</TR> |
245 |
<TR> |
246 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
247 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
248 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
249 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
250 |
</TR> |
251 |
</TABLE> |
252 |
<A NAME="skip-navbar_bottom"></A> |
253 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
254 |
|
255 |
<HR> |
256 |
|
257 |
</BODY> |
258 |
</HTML> |