Difference between revisions of "Retriever Config"

From GreenVulcano Wiki
Jump to: navigation, search
Line 2: Line 2:
  
  
This element does not have parameters but accepts the following children:
+
This element does not have attributes but accepts the following children:
  
 
* '''Description'''
 
* '''Description'''
Line 9: Line 9:
 
: Allows you to define helper running SQL select and return the first field of the first selected record as string.
 
: Allows you to define helper running SQL select and return the first field of the first selected record as string.
 
: It has two parameters:
 
: It has two parameters:
:* type: retriever (unmodifiable)
+
:* ''type'': retriever (unmodifiable)
:* class: it.greenvulcano.gvesb.datahandling.utils.GenericRetriever
+
:* ''class'': it.greenvulcano.gvesb.datahandling.utils.GenericRetriever
 
: and two subelements:
 
: and two subelements:
 
:* Description
 
:* Description
Line 41: Line 41:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
: It has two parameters:
 
: It has two parameters:
:* type: retriever (unmodifiable)
+
:* ''type'': retriever (unmodifiable)
:* class: it.greenvulcano.gvesb.datahandling.utils.TableRetriever
+
:* ''class'': it.greenvulcano.gvesb.datahandling.utils.TableRetriever
 
: and two subelements:
 
: and two subelements:
 
:* Description
 
:* Description
Line 51: Line 51:
 
: Allows you to define helper running JavaScript code and return a string.
 
: Allows you to define helper running JavaScript code and return a string.
 
: It has two parameters:
 
: It has two parameters:
:* type: retriever (unmodifiable)
+
:* ''type'': retriever (unmodifiable)
:* class: it.greenvulcano.gvesb.datahandling.utils.JavaScriptRetriever
+
:* ''class'': it.greenvulcano.gvesb.datahandling.utils.JavaScriptRetriever
 
: and two subelements:
 
: and two subelements:
 
:* Description
 
:* Description
 
:* [[DataRetriever]]
 
:* [[DataRetriever]]

Revision as of 10:24, 26 January 2012

The RetrieverConfig element allows you to define helper for use in DataHandler data transformations.


This element does not have attributes but accepts the following children:

  • Description
  • GenericRetriever:
Allows you to define helper running SQL select and return the first field of the first selected record as string.
It has two parameters:
  • type: retriever (unmodifiable)
  • class: it.greenvulcano.gvesb.datahandling.utils.GenericRetriever
and two subelements:


  • TableRetriever:
Allows you to define helper running SQL select and return the result as an XML string in following form:
<?xml version="1.0" encoding="UTF-8"?>
<RowSet>
  <data>
     <row>
        <col>value1</col>
        <col>value2</col>
        <col>value3</col>
     </row>
     <row>
        <col>value4</col>
        <col>value5</col>
        <col>value6</col>
     </row>
        ..
     <row>
        <col>valuex</col>
        <col>valuey</col>
        <col>valuez</col>
     </row>
  </data>
</RowSet>
It has two parameters:
  • type: retriever (unmodifiable)
  • class: it.greenvulcano.gvesb.datahandling.utils.TableRetriever
and two subelements:


  • JavaScriptRetriever:
Allows you to define helper running JavaScript code and return a string.
It has two parameters:
  • type: retriever (unmodifiable)
  • class: it.greenvulcano.gvesb.datahandling.utils.JavaScriptRetriever
and two subelements: