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"> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 20 | <language>JAVA</language> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 21 | <libraryFunctions> |
| 22 | <libraryFunction> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 23 | <function_type>SCALAR</function_type> |
| 24 | <name>parseTweet</name> |
Raman Grover | 66b8a07 | 2013-11-21 14:46:21 +0530 | [diff] [blame] | 25 | <arguments>TweetInputType</arguments> |
| 26 | <return_type>TweetOutputType</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 27 | <definition>org.apache.asterix.external.library.ParseTweetFactory |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 28 | </definition> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 29 | </libraryFunction> |
| 30 | <libraryFunction> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 31 | <function_type>SCALAR</function_type> |
ramangrover29 | ae85a1d | 2015-06-26 17:26:05 -0700 | [diff] [blame] | 32 | <name>addHashTags</name> |
| 33 | <arguments>Tweet</arguments> |
| 34 | <return_type>ProcessedTweet</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 35 | <definition>org.apache.asterix.external.library.AddHashTagsFactory |
ramangrover29 | ae85a1d | 2015-06-26 17:26:05 -0700 | [diff] [blame] | 36 | </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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 43 | <definition>org.apache.asterix.external.library.AddHashTagsInPlaceFactory |
ramangrover29 | ae85a1d | 2015-06-26 17:26:05 -0700 | [diff] [blame] | 44 | </definition> |
| 45 | </libraryFunction> |
| 46 | <libraryFunction> |
| 47 | <function_type>SCALAR</function_type> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 48 | <name>mysum</name> |
| 49 | <arguments>AINT32,AINT32</arguments> |
| 50 | <return_type>AINT32</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 51 | <definition>org.apache.asterix.external.library.SumFactory |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 52 | </definition> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 53 | </libraryFunction> |
| 54 | <libraryFunction> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 55 | <function_type>SCALAR</function_type> |
ramangrover29 | 95135de | 2013-04-25 04:00:27 -0700 | [diff] [blame] | 56 | <name>getCapital</name> |
| 57 | <arguments>ASTRING</arguments> |
| 58 | <return_type>CountryCapitalType</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 59 | <definition>org.apache.asterix.external.library.CapitalFinderFactory |
ramangrover29 | 95135de | 2013-04-25 04:00:27 -0700 | [diff] [blame] | 60 | </definition> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 61 | </libraryFunction> |
| 62 | <libraryFunction> |
ramangrover29 | 95135de | 2013-04-25 04:00:27 -0700 | [diff] [blame] | 63 | <function_type>SCALAR</function_type> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 64 | <name>toUpper</name> |
| 65 | <arguments>TextType</arguments> |
| 66 | <return_type>TextType</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 67 | <definition>org.apache.asterix.external.library.UpperCaseFactory |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 68 | </definition> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 69 | </libraryFunction> |
| 70 | <libraryFunction> |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 71 | <function_type>SCALAR</function_type> |
| 72 | <name>allTypes</name> |
| 73 | <arguments>AllType</arguments> |
| 74 | <return_type>AllType</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 75 | <definition>org.apache.asterix.external.library.AllTypesFactory |
ramangrover29 | d554ab4 | 2013-04-21 20:04:52 -0700 | [diff] [blame] | 76 | </definition> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 77 | </libraryFunction> |
| 78 | <libraryFunction> |
ramangrover29 | 93dd823 | 2013-07-03 22:51:25 -0700 | [diff] [blame] | 79 | <function_type>SCALAR</function_type> |
| 80 | <name>echoDelay</name> |
| 81 | <arguments>TweetMessageType</arguments> |
| 82 | <return_type>TweetMessageType</return_type> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 83 | <definition>org.apache.asterix.external.library.EchoDelayFactory |
ramangrover29 | 93dd823 | 2013-07-03 22:51:25 -0700 | [diff] [blame] | 84 | </definition> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 85 | </libraryFunction> |
| 86 | </libraryFunctions> |
Raman Grover | 7696def | 2013-12-02 10:34:07 +0530 | [diff] [blame] | 87 | <libraryAdapters> |
| 88 | <libraryAdapter> |
Chris Hillery | e64055d | 2014-10-11 00:14:39 -0700 | [diff] [blame] | 89 | <name>test_typed_adapter</name> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 90 | <factory_class>org.apache.asterix.external.library.adapter.TestTypedAdapterFactory |
ramangrover29 | ae85a1d | 2015-06-26 17:26:05 -0700 | [diff] [blame] | 91 | </factory_class> |
Raman Grover | 7696def | 2013-12-02 10:34:07 +0530 | [diff] [blame] | 92 | </libraryAdapter> |
| 93 | </libraryAdapters> |
ramangrover29 | 98c0a60 | 2013-10-04 16:13:05 +0530 | [diff] [blame] | 94 | </externalLibrary> |