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.6.0_24) on Mon Jun 25 15:26:26 EDT 2012 --> |
---|
6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
7 | <TITLE> |
---|
8 | XPathEntityProcessor (Solr 4.0.0-ALPHA API) |
---|
9 | </TITLE> |
---|
10 | |
---|
11 | <META NAME="date" CONTENT="2012-06-25"> |
---|
12 | |
---|
13 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
---|
14 | |
---|
15 | <SCRIPT type="text/javascript"> |
---|
16 | function windowTitle() |
---|
17 | { |
---|
18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
19 | parent.document.title="XPathEntityProcessor (Solr 4.0.0-ALPHA API)"; |
---|
20 | } |
---|
21 | } |
---|
22 | </SCRIPT> |
---|
23 | <NOSCRIPT> |
---|
24 | </NOSCRIPT> |
---|
25 | |
---|
26 | </HEAD> |
---|
27 | |
---|
28 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
29 | <HR> |
---|
30 | |
---|
31 | |
---|
32 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
33 | <A NAME="navbar_top"><!-- --></A> |
---|
34 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
35 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
36 | <TR> |
---|
37 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
38 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
39 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
40 | <TR ALIGN="center" VALIGN="top"> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XPathEntityProcessor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../../org/apache/solr/handler/dataimport/VariableResolverImpl.html" title="class in org.apache.solr.handler.dataimport"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../../org/apache/solr/handler/dataimport/XPathRecordReader.html" title="class in org.apache.solr.handler.dataimport"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../../index.html?org/apache/solr/handler/dataimport/XPathEntityProcessor.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="XPathEntityProcessor.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.solr.handler.dataimport</FONT> |
---|
92 | <BR> |
---|
93 | Class XPathEntityProcessor</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html" title="class in org.apache.solr.handler.dataimport">org.apache.solr.handler.dataimport.EntityProcessor</A> |
---|
97 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html" title="class in org.apache.solr.handler.dataimport">org.apache.solr.handler.dataimport.EntityProcessorBase</A> |
---|
98 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.solr.handler.dataimport.XPathEntityProcessor</B> |
---|
99 | </PRE> |
---|
100 | <HR> |
---|
101 | <DL> |
---|
102 | <DT><PRE>public class <B>XPathEntityProcessor</B><DT>extends <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html" title="class in org.apache.solr.handler.dataimport">EntityProcessorBase</A></DL> |
---|
103 | </PRE> |
---|
104 | |
---|
105 | <P> |
---|
106 | <p> An implementation of <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html" title="class in org.apache.solr.handler.dataimport"><CODE>EntityProcessor</CODE></A> which uses a streaming xpath parser to extract values out of XML documents. |
---|
107 | It is typically used in conjunction with <A HREF="../../../../../org/apache/solr/handler/dataimport/URLDataSource.html" title="class in org.apache.solr.handler.dataimport"><CODE>URLDataSource</CODE></A> or <A HREF="../../../../../org/apache/solr/handler/dataimport/FileDataSource.html" title="class in org.apache.solr.handler.dataimport"><CODE>FileDataSource</CODE></A>. </p> <p/> <p> Refer to <a |
---|
108 | href="http://wiki.apache.org/solr/DataImportHandler">http://wiki.apache.org/solr/DataImportHandler</a> for more |
---|
109 | details. </p> |
---|
110 | <p/> |
---|
111 | <b>This API is experimental and may change in the future.</b> |
---|
112 | <P> |
---|
113 | |
---|
114 | <P> |
---|
115 | <DL> |
---|
116 | <DT><B>Since:</B></DT> |
---|
117 | <DD>solr 1.3</DD> |
---|
118 | <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathRecordReader.html" title="class in org.apache.solr.handler.dataimport"><CODE>XPathRecordReader</CODE></A></DL> |
---|
119 | <HR> |
---|
120 | |
---|
121 | <P> |
---|
122 | <!-- =========== FIELD SUMMARY =========== --> |
---|
123 | |
---|
124 | <A NAME="field_summary"><!-- --></A> |
---|
125 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
126 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
127 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
128 | <B>Field Summary</B></FONT></TH> |
---|
129 | </TR> |
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
132 | <CODE>protected int</CODE></FONT></TD> |
---|
133 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#blockingQueueSize">blockingQueueSize</A></B></CODE> |
---|
134 | |
---|
135 | <BR> |
---|
136 | </TD> |
---|
137 | </TR> |
---|
138 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
139 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
140 | <CODE>protected int</CODE></FONT></TD> |
---|
141 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#blockingQueueTimeOut">blockingQueueTimeOut</A></B></CODE> |
---|
142 | |
---|
143 | <BR> |
---|
144 | </TD> |
---|
145 | </TR> |
---|
146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
148 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</A></CODE></FONT></TD> |
---|
149 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#blockingQueueTimeOutUnits">blockingQueueTimeOutUnits</A></B></CODE> |
---|
150 | |
---|
151 | <BR> |
---|
152 | </TD> |
---|
153 | </TR> |
---|
154 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
155 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
156 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
157 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#COMMON_FIELD">COMMON_FIELD</A></B></CODE> |
---|
158 | |
---|
159 | <BR> |
---|
160 | </TD> |
---|
161 | </TR> |
---|
162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
163 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
164 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
---|
165 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#commonFields">commonFields</A></B></CODE> |
---|
166 | |
---|
167 | <BR> |
---|
168 | </TD> |
---|
169 | </TR> |
---|
170 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
172 | <CODE>protected <A HREF="../../../../../org/apache/solr/handler/dataimport/DataSource.html" title="class in org.apache.solr.handler.dataimport">DataSource</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>></CODE></FONT></TD> |
---|
173 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#dataSource">dataSource</A></B></CODE> |
---|
174 | |
---|
175 | <BR> |
---|
176 | </TD> |
---|
177 | </TR> |
---|
178 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
180 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
181 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#FOR_EACH">FOR_EACH</A></B></CODE> |
---|
182 | |
---|
183 | <BR> |
---|
184 | </TD> |
---|
185 | </TR> |
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
187 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
188 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
189 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#HAS_MORE">HAS_MORE</A></B></CODE> |
---|
190 | |
---|
191 | <BR> |
---|
192 | </TD> |
---|
193 | </TR> |
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
196 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
197 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#NEXT_URL">NEXT_URL</A></B></CODE> |
---|
198 | |
---|
199 | <BR> |
---|
200 | </TD> |
---|
201 | </TR> |
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
204 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
---|
205 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#placeHolderVariables">placeHolderVariables</A></B></CODE> |
---|
206 | |
---|
207 | <BR> |
---|
208 | </TD> |
---|
209 | </TR> |
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
212 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</A></CODE></FONT></TD> |
---|
213 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#publisherThread">publisherThread</A></B></CODE> |
---|
214 | |
---|
215 | <BR> |
---|
216 | </TD> |
---|
217 | </TR> |
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
220 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
221 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#STREAM">STREAM</A></B></CODE> |
---|
222 | |
---|
223 | <BR> |
---|
224 | </TD> |
---|
225 | </TR> |
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
228 | <CODE>protected boolean</CODE></FONT></TD> |
---|
229 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#streamRows">streamRows</A></B></CODE> |
---|
230 | |
---|
231 | <BR> |
---|
232 | </TD> |
---|
233 | </TR> |
---|
234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
236 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
237 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#URL">URL</A></B></CODE> |
---|
238 | |
---|
239 | <BR> |
---|
240 | </TD> |
---|
241 | </TR> |
---|
242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
244 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
245 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#USE_SOLR_ADD_SCHEMA">USE_SOLR_ADD_SCHEMA</A></B></CODE> |
---|
246 | |
---|
247 | <BR> |
---|
248 | </TD> |
---|
249 | </TR> |
---|
250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
252 | <CODE>protected boolean</CODE></FONT></TD> |
---|
253 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#useSolrAddXml">useSolrAddXml</A></B></CODE> |
---|
254 | |
---|
255 | <BR> |
---|
256 | </TD> |
---|
257 | </TR> |
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
260 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
261 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#XPATH">XPATH</A></B></CODE> |
---|
262 | |
---|
263 | <BR> |
---|
264 | </TD> |
---|
265 | </TR> |
---|
266 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
267 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
268 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
269 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#XPATH_FIELD_NAME">XPATH_FIELD_NAME</A></B></CODE> |
---|
270 | |
---|
271 | <BR> |
---|
272 | </TD> |
---|
273 | </TR> |
---|
274 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
275 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
276 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
277 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#XSL">XSL</A></B></CODE> |
---|
278 | |
---|
279 | <BR> |
---|
280 | </TD> |
---|
281 | </TR> |
---|
282 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
283 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
284 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Transformer.html?is-external=true" title="class or interface in javax.xml.transform">Transformer</A></CODE></FONT></TD> |
---|
285 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#xslTransformer">xslTransformer</A></B></CODE> |
---|
286 | |
---|
287 | <BR> |
---|
288 | </TD> |
---|
289 | </TR> |
---|
290 | </TABLE> |
---|
291 | <A NAME="fields_inherited_from_class_org.apache.solr.handler.dataimport.EntityProcessorBase"><!-- --></A> |
---|
292 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
293 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
294 | <TH ALIGN="left"><B>Fields inherited from class org.apache.solr.handler.dataimport.<A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html" title="class in org.apache.solr.handler.dataimport">EntityProcessorBase</A></B></TH> |
---|
295 | </TR> |
---|
296 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
297 | <TD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#ABORT">ABORT</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#cacheSupport">cacheSupport</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#context">context</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#CONTINUE">CONTINUE</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#entityName">entityName</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#isFirstInit">isFirstInit</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#ON_ERROR">ON_ERROR</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#onError">onError</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#query">query</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#rowIterator">rowIterator</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#SKIP">SKIP</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#SKIP_DOC">SKIP_DOC</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#TRANSFORM_ROW">TRANSFORM_ROW</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#TRANSFORMER">TRANSFORMER</A></CODE></TD> |
---|
298 | </TR> |
---|
299 | </TABLE> |
---|
300 | |
---|
301 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
302 | |
---|
303 | <A NAME="constructor_summary"><!-- --></A> |
---|
304 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
305 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
306 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
307 | <B>Constructor Summary</B></FONT></TH> |
---|
308 | </TR> |
---|
309 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
310 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#XPathEntityProcessor()">XPathEntityProcessor</A></B>()</CODE> |
---|
311 | |
---|
312 | <BR> |
---|
313 | </TD> |
---|
314 | </TR> |
---|
315 | </TABLE> |
---|
316 | |
---|
317 | <!-- ========== METHOD SUMMARY =========== --> |
---|
318 | |
---|
319 | <A NAME="method_summary"><!-- --></A> |
---|
320 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
321 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
322 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
323 | <B>Method Summary</B></FONT></TH> |
---|
324 | </TR> |
---|
325 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
327 | <CODE> void</CODE></FONT></TD> |
---|
328 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#init(org.apache.solr.handler.dataimport.Context)">init</A></B>(<A HREF="../../../../../org/apache/solr/handler/dataimport/Context.html" title="class in org.apache.solr.handler.dataimport">Context</A> context)</CODE> |
---|
329 | |
---|
330 | <BR> |
---|
331 | This method is called when it starts processing an entity.</TD> |
---|
332 | </TR> |
---|
333 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
334 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
335 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
336 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#nextRow()">nextRow</A></B>()</CODE> |
---|
337 | |
---|
338 | <BR> |
---|
339 | For a simple implementation, this is the only method that the sub-class should implement.</TD> |
---|
340 | </TR> |
---|
341 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
342 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
343 | <CODE> void</CODE></FONT></TD> |
---|
344 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#postTransform(java.util.Map)">postTransform</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> r)</CODE> |
---|
345 | |
---|
346 | <BR> |
---|
347 | Invoked after the transformers are invoked.</TD> |
---|
348 | </TR> |
---|
349 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
350 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
351 | <CODE>protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD> |
---|
352 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/handler/dataimport/XPathEntityProcessor.html#readRow(java.util.Map, java.lang.String)">readRow</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> record, |
---|
353 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> xpath)</CODE> |
---|
354 | |
---|
355 | <BR> |
---|
356 | </TD> |
---|
357 | </TR> |
---|
358 | </TABLE> |
---|
359 | <A NAME="methods_inherited_from_class_org.apache.solr.handler.dataimport.EntityProcessorBase"><!-- --></A> |
---|
360 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
361 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
362 | <TH ALIGN="left"><B>Methods inherited from class org.apache.solr.handler.dataimport.<A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html" title="class in org.apache.solr.handler.dataimport">EntityProcessorBase</A></B></TH> |
---|
363 | </TR> |
---|
364 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
365 | <TD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#destroy()">destroy</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#firstInit(org.apache.solr.handler.dataimport.Context)">firstInit</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#getNext()">getNext</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#initCache(org.apache.solr.handler.dataimport.Context)">initCache</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#nextDeletedRowKey()">nextDeletedRowKey</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#nextModifiedParentRowKey()">nextModifiedParentRowKey</A>, <A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#nextModifiedRowKey()">nextModifiedRowKey</A></CODE></TD> |
---|
366 | </TR> |
---|
367 | </TABLE> |
---|
368 | <A NAME="methods_inherited_from_class_org.apache.solr.handler.dataimport.EntityProcessor"><!-- --></A> |
---|
369 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
370 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
371 | <TH ALIGN="left"><B>Methods inherited from class org.apache.solr.handler.dataimport.<A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html" title="class in org.apache.solr.handler.dataimport">EntityProcessor</A></B></TH> |
---|
372 | </TR> |
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
374 | <TD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html#close()">close</A></CODE></TD> |
---|
375 | </TR> |
---|
376 | </TABLE> |
---|
377 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
378 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
379 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
380 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
381 | </TR> |
---|
382 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
383 | <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
384 | </TR> |
---|
385 | </TABLE> |
---|
386 | |
---|
387 | <P> |
---|
388 | |
---|
389 | <!-- ============ FIELD DETAIL =========== --> |
---|
390 | |
---|
391 | <A NAME="field_detail"><!-- --></A> |
---|
392 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
393 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
394 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
395 | <B>Field Detail</B></FONT></TH> |
---|
396 | </TR> |
---|
397 | </TABLE> |
---|
398 | |
---|
399 | <A NAME="placeHolderVariables"><!-- --></A><H3> |
---|
400 | placeHolderVariables</H3> |
---|
401 | <PRE> |
---|
402 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>placeHolderVariables</B></PRE> |
---|
403 | <DL> |
---|
404 | <DL> |
---|
405 | </DL> |
---|
406 | </DL> |
---|
407 | <HR> |
---|
408 | |
---|
409 | <A NAME="commonFields"><!-- --></A><H3> |
---|
410 | commonFields</H3> |
---|
411 | <PRE> |
---|
412 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>commonFields</B></PRE> |
---|
413 | <DL> |
---|
414 | <DL> |
---|
415 | </DL> |
---|
416 | </DL> |
---|
417 | <HR> |
---|
418 | |
---|
419 | <A NAME="dataSource"><!-- --></A><H3> |
---|
420 | dataSource</H3> |
---|
421 | <PRE> |
---|
422 | protected <A HREF="../../../../../org/apache/solr/handler/dataimport/DataSource.html" title="class in org.apache.solr.handler.dataimport">DataSource</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>> <B>dataSource</B></PRE> |
---|
423 | <DL> |
---|
424 | <DL> |
---|
425 | </DL> |
---|
426 | </DL> |
---|
427 | <HR> |
---|
428 | |
---|
429 | <A NAME="xslTransformer"><!-- --></A><H3> |
---|
430 | xslTransformer</H3> |
---|
431 | <PRE> |
---|
432 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/transform/Transformer.html?is-external=true" title="class or interface in javax.xml.transform">Transformer</A> <B>xslTransformer</B></PRE> |
---|
433 | <DL> |
---|
434 | <DL> |
---|
435 | </DL> |
---|
436 | </DL> |
---|
437 | <HR> |
---|
438 | |
---|
439 | <A NAME="useSolrAddXml"><!-- --></A><H3> |
---|
440 | useSolrAddXml</H3> |
---|
441 | <PRE> |
---|
442 | protected boolean <B>useSolrAddXml</B></PRE> |
---|
443 | <DL> |
---|
444 | <DL> |
---|
445 | </DL> |
---|
446 | </DL> |
---|
447 | <HR> |
---|
448 | |
---|
449 | <A NAME="streamRows"><!-- --></A><H3> |
---|
450 | streamRows</H3> |
---|
451 | <PRE> |
---|
452 | protected boolean <B>streamRows</B></PRE> |
---|
453 | <DL> |
---|
454 | <DL> |
---|
455 | </DL> |
---|
456 | </DL> |
---|
457 | <HR> |
---|
458 | |
---|
459 | <A NAME="blockingQueueTimeOut"><!-- --></A><H3> |
---|
460 | blockingQueueTimeOut</H3> |
---|
461 | <PRE> |
---|
462 | protected int <B>blockingQueueTimeOut</B></PRE> |
---|
463 | <DL> |
---|
464 | <DL> |
---|
465 | </DL> |
---|
466 | </DL> |
---|
467 | <HR> |
---|
468 | |
---|
469 | <A NAME="blockingQueueTimeOutUnits"><!-- --></A><H3> |
---|
470 | blockingQueueTimeOutUnits</H3> |
---|
471 | <PRE> |
---|
472 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</A> <B>blockingQueueTimeOutUnits</B></PRE> |
---|
473 | <DL> |
---|
474 | <DL> |
---|
475 | </DL> |
---|
476 | </DL> |
---|
477 | <HR> |
---|
478 | |
---|
479 | <A NAME="blockingQueueSize"><!-- --></A><H3> |
---|
480 | blockingQueueSize</H3> |
---|
481 | <PRE> |
---|
482 | protected int <B>blockingQueueSize</B></PRE> |
---|
483 | <DL> |
---|
484 | <DL> |
---|
485 | </DL> |
---|
486 | </DL> |
---|
487 | <HR> |
---|
488 | |
---|
489 | <A NAME="publisherThread"><!-- --></A><H3> |
---|
490 | publisherThread</H3> |
---|
491 | <PRE> |
---|
492 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Thread.html?is-external=true" title="class or interface in java.lang">Thread</A> <B>publisherThread</B></PRE> |
---|
493 | <DL> |
---|
494 | <DL> |
---|
495 | </DL> |
---|
496 | </DL> |
---|
497 | <HR> |
---|
498 | |
---|
499 | <A NAME="URL"><!-- --></A><H3> |
---|
500 | URL</H3> |
---|
501 | <PRE> |
---|
502 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>URL</B></PRE> |
---|
503 | <DL> |
---|
504 | <DL> |
---|
505 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.URL">Constant Field Values</A></DL> |
---|
506 | </DL> |
---|
507 | <HR> |
---|
508 | |
---|
509 | <A NAME="HAS_MORE"><!-- --></A><H3> |
---|
510 | HAS_MORE</H3> |
---|
511 | <PRE> |
---|
512 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>HAS_MORE</B></PRE> |
---|
513 | <DL> |
---|
514 | <DL> |
---|
515 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.HAS_MORE">Constant Field Values</A></DL> |
---|
516 | </DL> |
---|
517 | <HR> |
---|
518 | |
---|
519 | <A NAME="NEXT_URL"><!-- --></A><H3> |
---|
520 | NEXT_URL</H3> |
---|
521 | <PRE> |
---|
522 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>NEXT_URL</B></PRE> |
---|
523 | <DL> |
---|
524 | <DL> |
---|
525 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.NEXT_URL">Constant Field Values</A></DL> |
---|
526 | </DL> |
---|
527 | <HR> |
---|
528 | |
---|
529 | <A NAME="XPATH_FIELD_NAME"><!-- --></A><H3> |
---|
530 | XPATH_FIELD_NAME</H3> |
---|
531 | <PRE> |
---|
532 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>XPATH_FIELD_NAME</B></PRE> |
---|
533 | <DL> |
---|
534 | <DL> |
---|
535 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.XPATH_FIELD_NAME">Constant Field Values</A></DL> |
---|
536 | </DL> |
---|
537 | <HR> |
---|
538 | |
---|
539 | <A NAME="FOR_EACH"><!-- --></A><H3> |
---|
540 | FOR_EACH</H3> |
---|
541 | <PRE> |
---|
542 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>FOR_EACH</B></PRE> |
---|
543 | <DL> |
---|
544 | <DL> |
---|
545 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.FOR_EACH">Constant Field Values</A></DL> |
---|
546 | </DL> |
---|
547 | <HR> |
---|
548 | |
---|
549 | <A NAME="XPATH"><!-- --></A><H3> |
---|
550 | XPATH</H3> |
---|
551 | <PRE> |
---|
552 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>XPATH</B></PRE> |
---|
553 | <DL> |
---|
554 | <DL> |
---|
555 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.XPATH">Constant Field Values</A></DL> |
---|
556 | </DL> |
---|
557 | <HR> |
---|
558 | |
---|
559 | <A NAME="COMMON_FIELD"><!-- --></A><H3> |
---|
560 | COMMON_FIELD</H3> |
---|
561 | <PRE> |
---|
562 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>COMMON_FIELD</B></PRE> |
---|
563 | <DL> |
---|
564 | <DL> |
---|
565 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.COMMON_FIELD">Constant Field Values</A></DL> |
---|
566 | </DL> |
---|
567 | <HR> |
---|
568 | |
---|
569 | <A NAME="USE_SOLR_ADD_SCHEMA"><!-- --></A><H3> |
---|
570 | USE_SOLR_ADD_SCHEMA</H3> |
---|
571 | <PRE> |
---|
572 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>USE_SOLR_ADD_SCHEMA</B></PRE> |
---|
573 | <DL> |
---|
574 | <DL> |
---|
575 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.USE_SOLR_ADD_SCHEMA">Constant Field Values</A></DL> |
---|
576 | </DL> |
---|
577 | <HR> |
---|
578 | |
---|
579 | <A NAME="XSL"><!-- --></A><H3> |
---|
580 | XSL</H3> |
---|
581 | <PRE> |
---|
582 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>XSL</B></PRE> |
---|
583 | <DL> |
---|
584 | <DL> |
---|
585 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.XSL">Constant Field Values</A></DL> |
---|
586 | </DL> |
---|
587 | <HR> |
---|
588 | |
---|
589 | <A NAME="STREAM"><!-- --></A><H3> |
---|
590 | STREAM</H3> |
---|
591 | <PRE> |
---|
592 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>STREAM</B></PRE> |
---|
593 | <DL> |
---|
594 | <DL> |
---|
595 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.handler.dataimport.XPathEntityProcessor.STREAM">Constant Field Values</A></DL> |
---|
596 | </DL> |
---|
597 | |
---|
598 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
599 | |
---|
600 | <A NAME="constructor_detail"><!-- --></A> |
---|
601 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
602 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
603 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
604 | <B>Constructor Detail</B></FONT></TH> |
---|
605 | </TR> |
---|
606 | </TABLE> |
---|
607 | |
---|
608 | <A NAME="XPathEntityProcessor()"><!-- --></A><H3> |
---|
609 | XPathEntityProcessor</H3> |
---|
610 | <PRE> |
---|
611 | public <B>XPathEntityProcessor</B>()</PRE> |
---|
612 | <DL> |
---|
613 | </DL> |
---|
614 | |
---|
615 | <!-- ============ METHOD DETAIL ========== --> |
---|
616 | |
---|
617 | <A NAME="method_detail"><!-- --></A> |
---|
618 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
619 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
620 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
621 | <B>Method Detail</B></FONT></TH> |
---|
622 | </TR> |
---|
623 | </TABLE> |
---|
624 | |
---|
625 | <A NAME="init(org.apache.solr.handler.dataimport.Context)"><!-- --></A><H3> |
---|
626 | init</H3> |
---|
627 | <PRE> |
---|
628 | public void <B>init</B>(<A HREF="../../../../../org/apache/solr/handler/dataimport/Context.html" title="class in org.apache.solr.handler.dataimport">Context</A> context)</PRE> |
---|
629 | <DL> |
---|
630 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html#init(org.apache.solr.handler.dataimport.Context)">EntityProcessor</A></CODE></B></DD> |
---|
631 | <DD>This method is called when it starts processing an entity. When it comes |
---|
632 | back to the entity it is called again. So it can reset anything at that point. |
---|
633 | For a rootmost entity this is called only once for an ingestion. For sub-entities , this |
---|
634 | is called multiple once for each row from its parent entity |
---|
635 | <P> |
---|
636 | <DD><DL> |
---|
637 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#init(org.apache.solr.handler.dataimport.Context)">init</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html" title="class in org.apache.solr.handler.dataimport">EntityProcessorBase</A></CODE></DL> |
---|
638 | </DD> |
---|
639 | <DD><DL> |
---|
640 | <DT><B>Parameters:</B><DD><CODE>context</CODE> - The current context</DL> |
---|
641 | </DD> |
---|
642 | </DL> |
---|
643 | <HR> |
---|
644 | |
---|
645 | <A NAME="nextRow()"><!-- --></A><H3> |
---|
646 | nextRow</H3> |
---|
647 | <PRE> |
---|
648 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>nextRow</B>()</PRE> |
---|
649 | <DL> |
---|
650 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#nextRow()">EntityProcessorBase</A></CODE></B></DD> |
---|
651 | <DD>For a simple implementation, this is the only method that the sub-class should implement. This is intended to |
---|
652 | stream rows one-by-one. Return null to signal end of rows |
---|
653 | <P> |
---|
654 | <DD><DL> |
---|
655 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html#nextRow()">nextRow</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessorBase.html" title="class in org.apache.solr.handler.dataimport">EntityProcessorBase</A></CODE></DL> |
---|
656 | </DD> |
---|
657 | <DD><DL> |
---|
658 | |
---|
659 | <DT><B>Returns:</B><DD>a row where the key is the name of the field and value can be any Object or a Collection of objects. Return |
---|
660 | null to signal end of rows</DL> |
---|
661 | </DD> |
---|
662 | </DL> |
---|
663 | <HR> |
---|
664 | |
---|
665 | <A NAME="postTransform(java.util.Map)"><!-- --></A><H3> |
---|
666 | postTransform</H3> |
---|
667 | <PRE> |
---|
668 | public void <B>postTransform</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> r)</PRE> |
---|
669 | <DL> |
---|
670 | <DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html#postTransform(java.util.Map)">EntityProcessor</A></CODE></B></DD> |
---|
671 | <DD>Invoked after the transformers are invoked. EntityProcessors can add, remove or modify values |
---|
672 | added by Transformers in this method. |
---|
673 | <P> |
---|
674 | <DD><DL> |
---|
675 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html#postTransform(java.util.Map)">postTransform</A></CODE> in class <CODE><A HREF="../../../../../org/apache/solr/handler/dataimport/EntityProcessor.html" title="class in org.apache.solr.handler.dataimport">EntityProcessor</A></CODE></DL> |
---|
676 | </DD> |
---|
677 | <DD><DL> |
---|
678 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - The transformed row</DL> |
---|
679 | </DD> |
---|
680 | </DL> |
---|
681 | <HR> |
---|
682 | |
---|
683 | <A NAME="readRow(java.util.Map, java.lang.String)"><!-- --></A><H3> |
---|
684 | readRow</H3> |
---|
685 | <PRE> |
---|
686 | protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>readRow</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> record, |
---|
687 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> xpath)</PRE> |
---|
688 | <DL> |
---|
689 | <DD><DL> |
---|
690 | </DL> |
---|
691 | </DD> |
---|
692 | </DL> |
---|
693 | <!-- ========= END OF CLASS DATA ========= --> |
---|
694 | <HR> |
---|
695 | |
---|
696 | |
---|
697 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
698 | <A NAME="navbar_bottom"><!-- --></A> |
---|
699 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
700 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
701 | <TR> |
---|
702 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
703 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
704 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
705 | <TR ALIGN="center" VALIGN="top"> |
---|
706 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
707 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
708 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
709 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XPathEntityProcessor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
710 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
711 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
712 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
713 | </TR> |
---|
714 | </TABLE> |
---|
715 | </TD> |
---|
716 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
717 | </EM> |
---|
718 | </TD> |
---|
719 | </TR> |
---|
720 | |
---|
721 | <TR> |
---|
722 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
723 | <A HREF="../../../../../org/apache/solr/handler/dataimport/VariableResolverImpl.html" title="class in org.apache.solr.handler.dataimport"><B>PREV CLASS</B></A> |
---|
724 | <A HREF="../../../../../org/apache/solr/handler/dataimport/XPathRecordReader.html" title="class in org.apache.solr.handler.dataimport"><B>NEXT CLASS</B></A></FONT></TD> |
---|
725 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
726 | <A HREF="../../../../../index.html?org/apache/solr/handler/dataimport/XPathEntityProcessor.html" target="_top"><B>FRAMES</B></A> |
---|
727 | <A HREF="XPathEntityProcessor.html" target="_top"><B>NO FRAMES</B></A> |
---|
728 | <SCRIPT type="text/javascript"> |
---|
729 | <!-- |
---|
730 | if(window==top) { |
---|
731 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
732 | } |
---|
733 | //--> |
---|
734 | </SCRIPT> |
---|
735 | <NOSCRIPT> |
---|
736 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
737 | </NOSCRIPT> |
---|
738 | |
---|
739 | |
---|
740 | </FONT></TD> |
---|
741 | </TR> |
---|
742 | <TR> |
---|
743 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
744 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
745 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
746 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
747 | </TR> |
---|
748 | </TABLE> |
---|
749 | <A NAME="skip-navbar_bottom"></A> |
---|
750 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
751 | |
---|
752 | <HR> |
---|
753 | |
---|
754 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
755 | <script src='../../../../../prettify.js' type='text/javascript'></script> |
---|
756 | <script type='text/javascript'> |
---|
757 | (function(){ |
---|
758 | var oldonload = window.onload; |
---|
759 | if (typeof oldonload != 'function') { |
---|
760 | window.onload = prettyPrint; |
---|
761 | } else { |
---|
762 | window.onload = function() { |
---|
763 | oldonload(); |
---|
764 | prettyPrint(); |
---|
765 | } |
---|
766 | } |
---|
767 | })(); |
---|
768 | </script> |
---|
769 | |
---|
770 | </BODY> |
---|
771 | </HTML> |
---|