blob: bdf422e4084a6c7f2b6c99f1304114673d3c001f [file] [log] [blame]
Till Westmann5b431ca2015-10-01 19:16:11 -07001<!--
2 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
18 !-->
ramangrover2998c0a602013-10-04 16:13:05 +053019<externalLibrary xmlns="library">
ramangrover29d554ab42013-04-21 20:04:52 -070020 <language>JAVA</language>
ramangrover2998c0a602013-10-04 16:13:05 +053021 <libraryFunctions>
22 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070023 <function_type>SCALAR</function_type>
24 <name>parseTweet</name>
Raman Grover66b8a072013-11-21 14:46:21 +053025 <arguments>TweetInputType</arguments>
26 <return_type>TweetOutputType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070027 <definition>org.apache.asterix.external.library.ParseTweetFactory
ramangrover29d554ab42013-04-21 20:04:52 -070028 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053029 </libraryFunction>
30 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070031 <function_type>SCALAR</function_type>
ramangrover29ae85a1d2015-06-26 17:26:05 -070032 <name>addHashTags</name>
33 <arguments>Tweet</arguments>
34 <return_type>ProcessedTweet</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070035 <definition>org.apache.asterix.external.library.AddHashTagsFactory
ramangrover29ae85a1d2015-06-26 17:26:05 -070036 </definition>
37 </libraryFunction>
38 <libraryFunction>
39 <function_type>SCALAR</function_type>
40 <name>addHashTagsInPlace</name>
41 <arguments>Tweet</arguments>
42 <return_type>ProcessedTweet</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070043 <definition>org.apache.asterix.external.library.AddHashTagsInPlaceFactory
ramangrover29ae85a1d2015-06-26 17:26:05 -070044 </definition>
45 </libraryFunction>
46 <libraryFunction>
47 <function_type>SCALAR</function_type>
ramangrover29d554ab42013-04-21 20:04:52 -070048 <name>mysum</name>
49 <arguments>AINT32,AINT32</arguments>
50 <return_type>AINT32</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070051 <definition>org.apache.asterix.external.library.SumFactory
ramangrover29d554ab42013-04-21 20:04:52 -070052 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053053 </libraryFunction>
54 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070055 <function_type>SCALAR</function_type>
ramangrover2995135de2013-04-25 04:00:27 -070056 <name>getCapital</name>
57 <arguments>ASTRING</arguments>
58 <return_type>CountryCapitalType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070059 <definition>org.apache.asterix.external.library.CapitalFinderFactory
ramangrover2995135de2013-04-25 04:00:27 -070060 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053061 </libraryFunction>
62 <libraryFunction>
ramangrover2995135de2013-04-25 04:00:27 -070063 <function_type>SCALAR</function_type>
ramangrover29d554ab42013-04-21 20:04:52 -070064 <name>toUpper</name>
65 <arguments>TextType</arguments>
66 <return_type>TextType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070067 <definition>org.apache.asterix.external.library.UpperCaseFactory
ramangrover29d554ab42013-04-21 20:04:52 -070068 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053069 </libraryFunction>
70 <libraryFunction>
ramangrover29d554ab42013-04-21 20:04:52 -070071 <function_type>SCALAR</function_type>
72 <name>allTypes</name>
73 <arguments>AllType</arguments>
74 <return_type>AllType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070075 <definition>org.apache.asterix.external.library.AllTypesFactory
ramangrover29d554ab42013-04-21 20:04:52 -070076 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053077 </libraryFunction>
78 <libraryFunction>
ramangrover2993dd8232013-07-03 22:51:25 -070079 <function_type>SCALAR</function_type>
80 <name>echoDelay</name>
81 <arguments>TweetMessageType</arguments>
82 <return_type>TweetMessageType</return_type>
Ian Maxonf18bba22015-08-21 12:35:14 -070083 <definition>org.apache.asterix.external.library.EchoDelayFactory
ramangrover2993dd8232013-07-03 22:51:25 -070084 </definition>
ramangrover2998c0a602013-10-04 16:13:05 +053085 </libraryFunction>
86 </libraryFunctions>
Raman Grover7696def2013-12-02 10:34:07 +053087 <libraryAdapters>
88 <libraryAdapter>
Chris Hillerye64055d2014-10-11 00:14:39 -070089 <name>test_typed_adapter</name>
Ian Maxonf18bba22015-08-21 12:35:14 -070090 <factory_class>org.apache.asterix.external.library.adapter.TestTypedAdapterFactory
ramangrover29ae85a1d2015-06-26 17:26:05 -070091 </factory_class>
Raman Grover7696def2013-12-02 10:34:07 +053092 </libraryAdapter>
93 </libraryAdapters>
ramangrover2998c0a602013-10-04 16:13:05 +053094</externalLibrary>