blob: 280782075953a288ea11bef5a1d06390b0e78406 [file] [log] [blame]
ramangrover2998c0a602013-10-04 16:13:05 +05301<externalLibrary xmlns="library">
ramangrover29d554ab42013-04-21 20:04:52 -07002 <language>JAVA</language>
ramangrover2998c0a602013-10-04 16:13:05 +05303 <libraryFunctions>
4 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -07005 <function_type>SCALAR</function_type>
6 <name>parseTweet</name>
Raman Grover66b8a072013-11-21 14:46:21 +05307 <arguments>TweetInputType</arguments>
8 <return_type>TweetOutputType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -07009 <definition>org.apache.asterix.external.library.ParseTweetFactory
ramangrover29d554ab42013-04-21 20:04:52 -070010 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053011 </libraryFunction>
12 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070013 <function_type>SCALAR</function_type>
ramangrover29ae85a1d2015-06-26 17:26:05 -070014 <name>addHashTags</name>
15 <arguments>Tweet</arguments>
16 <return_type>ProcessedTweet</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070017 <definition>org.apache.asterix.external.library.AddHashTagsFactory
ramangrover29ae85a1d2015-06-26 17:26:05 -070018 </definition>
19 </libraryFunction>
20 <libraryFunction>
21 <function_type>SCALAR</function_type>
22 <name>addHashTagsInPlace</name>
23 <arguments>Tweet</arguments>
24 <return_type>ProcessedTweet</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070025 <definition>org.apache.asterix.external.library.AddHashTagsInPlaceFactory
ramangrover29ae85a1d2015-06-26 17:26:05 -070026 </definition>
27 </libraryFunction>
28 <libraryFunction>
29 <function_type>SCALAR</function_type>
ramangrover29d554ab42013-04-21 20:04:52 -070030 <name>mysum</name>
31 <arguments>AINT32,AINT32</arguments>
32 <return_type>AINT32</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070033 <definition>org.apache.asterix.external.library.SumFactory
ramangrover29d554ab42013-04-21 20:04:52 -070034 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053035 </libraryFunction>
36 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070037 <function_type>SCALAR</function_type>
ramangrover2995135de2013-04-25 04:00:27 -070038 <name>getCapital</name>
39 <arguments>ASTRING</arguments>
40 <return_type>CountryCapitalType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070041 <definition>org.apache.asterix.external.library.CapitalFinderFactory
ramangrover2995135de2013-04-25 04:00:27 -070042 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053043 </libraryFunction>
44 <libraryFunction>
ramangrover2995135de2013-04-25 04:00:27 -070045 <function_type>SCALAR</function_type>
ramangrover29d554ab42013-04-21 20:04:52 -070046 <name>toUpper</name>
47 <arguments>TextType</arguments>
48 <return_type>TextType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070049 <definition>org.apache.asterix.external.library.UpperCaseFactory
ramangrover29d554ab42013-04-21 20:04:52 -070050 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053051 </libraryFunction>
52 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070053 <function_type>SCALAR</function_type>
54 <name>allTypes</name>
55 <arguments>AllType</arguments>
56 <return_type>AllType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070057 <definition>org.apache.asterix.external.library.AllTypesFactory
ramangrover29d554ab42013-04-21 20:04:52 -070058 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053059 </libraryFunction>
60 <libraryFunction>
ramangrover2993dd8232013-07-03 22:51:25 -070061 <function_type>SCALAR</function_type>
62 <name>echoDelay</name>
63 <arguments>TweetMessageType</arguments>
64 <return_type>TweetMessageType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070065 <definition>org.apache.asterix.external.library.EchoDelayFactory
ramangrover2993dd8232013-07-03 22:51:25 -070066 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053067 </libraryFunction>
68 </libraryFunctions>
Raman Grover7696def2013-12-02 10:34:07 +053069 <libraryAdapters>
70 <libraryAdapter>
Chris Hillerye64055d2014-10-11 00:14:39 -070071 <name>test_typed_adapter</name>
Ian Maxonf18bba22015-08-21 12:35:14 -070072 <factory_class>org.apache.asterix.external.library.adapter.TestTypedAdapterFactory
ramangrover29ae85a1d2015-06-26 17:26:05 -070073 </factory_class>
Raman Grover7696def2013-12-02 10:34:07 +053074 </libraryAdapter>
75 </libraryAdapters>
ramangrover2998c0a602013-10-04 16:13:05 +053076</externalLibrary>