Till Westmann | 5b431ca | 2015-10-01 19:16:11 -0700 | [diff] [blame] | 1 | <!-- |
| 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 | !--> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 19 | <externalLibrary xmlns="library"> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 20 | <language>JAVA</language> |
| 21 | <libraryFunctions> |
| 22 | <libraryFunction> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 23 | <name>fnameDetector</name> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 24 | <function_type>SCALAR</function_type> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 25 | <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 Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 41 | <name>parseTweet</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 42 | <function_type>SCALAR</function_type> |
| 43 | <argument_type>TweetInputType</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 44 | <return_type>TweetOutputType</return_type> |
| 45 | <definition>org.apache.asterix.external.library.ParseTweetFactory |
| 46 | </definition> |
| 47 | </libraryFunction> |
| 48 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 49 | <name>addHashTags</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 50 | <function_type>SCALAR</function_type> |
| 51 | <argument_type>Tweet</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 52 | <return_type>ProcessedTweet</return_type> |
| 53 | <definition>org.apache.asterix.external.library.AddHashTagsFactory |
| 54 | </definition> |
| 55 | </libraryFunction> |
| 56 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 57 | <name>addHashTagsInPlace</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 58 | <function_type>SCALAR</function_type> |
| 59 | <argument_type>Tweet</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 60 | <return_type>ProcessedTweet</return_type> |
| 61 | <definition>org.apache.asterix.external.library.AddHashTagsInPlaceFactory |
| 62 | </definition> |
| 63 | </libraryFunction> |
| 64 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 65 | <name>mysum</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 66 | <function_type>SCALAR</function_type> |
| 67 | <argument_type>AINT32,AINT32</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 68 | <return_type>AINT32</return_type> |
| 69 | <definition>org.apache.asterix.external.library.SumFactory |
| 70 | </definition> |
| 71 | </libraryFunction> |
| 72 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 73 | <name>getCapital</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 74 | <function_type>SCALAR</function_type> |
| 75 | <argument_type>ASTRING</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 76 | <return_type>CountryCapitalType</return_type> |
| 77 | <definition>org.apache.asterix.external.library.CapitalFinderFactory |
| 78 | </definition> |
| 79 | </libraryFunction> |
| 80 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 81 | <name>toUpper</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 82 | <function_type>SCALAR</function_type> |
| 83 | <argument_type>TextType</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 84 | <return_type>TextType</return_type> |
| 85 | <definition>org.apache.asterix.external.library.UpperCaseFactory |
| 86 | </definition> |
| 87 | </libraryFunction> |
| 88 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 89 | <name>allTypes</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 90 | <function_type>SCALAR</function_type> |
| 91 | <argument_type>AllType</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 92 | <return_type>AllType</return_type> |
| 93 | <definition>org.apache.asterix.external.library.AllTypesFactory |
| 94 | </definition> |
| 95 | </libraryFunction> |
| 96 | <libraryFunction> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 97 | <name>echoDelay</name> |
Xikui Wang | 03ddd0c | 2018-02-28 16:36:22 -0800 | [diff] [blame] | 98 | <function_type>SCALAR</function_type> |
| 99 | <argument_type>TweetMessageType</argument_type> |
Michael Blow | b4c1fb0 | 2016-05-09 15:41:00 -0700 | [diff] [blame] | 100 | <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> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 112 | </externalLibrary> |