blob: 6b59041145d844240cf278bf49acf695019a4951 [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">
Michael Blowb4c1fb02016-05-09 15:41:00 -070020 <language>JAVA</language>
21 <libraryFunctions>
22 <libraryFunction>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080023 <name>fnameDetector</name>
Michael Blowb4c1fb02016-05-09 15:41:00 -070024 <function_type>SCALAR</function_type>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080025 <argument_type>InputRecordType</argument_type>
26 <return_type>DetectResultType</return_type>
27 <definition>org.apache.asterix.external.library.KeywordsDetectorFactory</definition>
28 <parameters>data/external_function/KeywordsDetector_List1.txt</parameters>
29 <parameters>fname</parameters>
30 </libraryFunction>
31 <libraryFunction>
32 <name>lnameDetector</name>
33 <function_type>SCALAR</function_type>
34 <argument_type>InputRecordType</argument_type>
35 <return_type>DetectResultType</return_type>
36 <definition>org.apache.asterix.external.library.KeywordsDetectorFactory</definition>
37 <parameters>data/external_function/KeywordsDetector_List2.txt</parameters>
38 <parameters>lname</parameters>
39 </libraryFunction>
40 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070041 <name>parseTweet</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080042 <function_type>SCALAR</function_type>
43 <argument_type>TweetInputType</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070044 <return_type>TweetOutputType</return_type>
45 <definition>org.apache.asterix.external.library.ParseTweetFactory
46 </definition>
47 </libraryFunction>
48 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070049 <name>addHashTags</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080050 <function_type>SCALAR</function_type>
51 <argument_type>Tweet</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070052 <return_type>ProcessedTweet</return_type>
53 <definition>org.apache.asterix.external.library.AddHashTagsFactory
54 </definition>
55 </libraryFunction>
56 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070057 <name>addHashTagsInPlace</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080058 <function_type>SCALAR</function_type>
59 <argument_type>Tweet</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070060 <return_type>ProcessedTweet</return_type>
61 <definition>org.apache.asterix.external.library.AddHashTagsInPlaceFactory
62 </definition>
63 </libraryFunction>
64 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070065 <name>mysum</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080066 <function_type>SCALAR</function_type>
67 <argument_type>AINT32,AINT32</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070068 <return_type>AINT32</return_type>
69 <definition>org.apache.asterix.external.library.SumFactory
70 </definition>
71 </libraryFunction>
72 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070073 <name>getCapital</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080074 <function_type>SCALAR</function_type>
75 <argument_type>ASTRING</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070076 <return_type>CountryCapitalType</return_type>
77 <definition>org.apache.asterix.external.library.CapitalFinderFactory
78 </definition>
79 </libraryFunction>
80 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070081 <name>toUpper</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080082 <function_type>SCALAR</function_type>
83 <argument_type>TextType</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070084 <return_type>TextType</return_type>
85 <definition>org.apache.asterix.external.library.UpperCaseFactory
86 </definition>
87 </libraryFunction>
88 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070089 <name>allTypes</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080090 <function_type>SCALAR</function_type>
91 <argument_type>AllType</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -070092 <return_type>AllType</return_type>
93 <definition>org.apache.asterix.external.library.AllTypesFactory
94 </definition>
95 </libraryFunction>
96 <libraryFunction>
Michael Blowb4c1fb02016-05-09 15:41:00 -070097 <name>echoDelay</name>
Xikui Wang03ddd0c2018-02-28 16:36:22 -080098 <function_type>SCALAR</function_type>
99 <argument_type>TweetMessageType</argument_type>
Michael Blowb4c1fb02016-05-09 15:41:00 -0700100 <return_type>TweetMessageType</return_type>
101 <definition>org.apache.asterix.external.library.EchoDelayFactory
102 </definition>
103 </libraryFunction>
104 </libraryFunctions>
105 <libraryAdapters>
106 <libraryAdapter>
107 <name>test_typed_adapter</name>
108 <factory_class>org.apache.asterix.external.library.adapter.TestTypedAdapterFactory
109 </factory_class>
110 </libraryAdapter>
111 </libraryAdapters>
ramangrover2998c0a602013-10-04 16:13:05 +0530112</externalLibrary>