blob: bdf422e4084a6c7f2b6c99f1304114673d3c001f [file] [log] [blame]
<!--
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); you may not use this file except in compliance
! with the License. You may obtain a copy of the License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by applicable law or agreed to in writing,
! software distributed under the License is distributed on an
! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
! KIND, either express or implied. See the License for the
! specific language governing permissions and limitations
! under the License.
!-->
<externalLibrary xmlns="library">
<language>JAVA</language>
<libraryFunctions>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>parseTweet</name>
<arguments>TweetInputType</arguments>
<return_type>TweetOutputType</return_type>
<definition>org.apache.asterix.external.library.ParseTweetFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>addHashTags</name>
<arguments>Tweet</arguments>
<return_type>ProcessedTweet</return_type>
<definition>org.apache.asterix.external.library.AddHashTagsFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>addHashTagsInPlace</name>
<arguments>Tweet</arguments>
<return_type>ProcessedTweet</return_type>
<definition>org.apache.asterix.external.library.AddHashTagsInPlaceFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>mysum</name>
<arguments>AINT32,AINT32</arguments>
<return_type>AINT32</return_type>
<definition>org.apache.asterix.external.library.SumFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>getCapital</name>
<arguments>ASTRING</arguments>
<return_type>CountryCapitalType</return_type>
<definition>org.apache.asterix.external.library.CapitalFinderFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>toUpper</name>
<arguments>TextType</arguments>
<return_type>TextType</return_type>
<definition>org.apache.asterix.external.library.UpperCaseFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>allTypes</name>
<arguments>AllType</arguments>
<return_type>AllType</return_type>
<definition>org.apache.asterix.external.library.AllTypesFactory
</definition>
</libraryFunction>
<libraryFunction>
<function_type>SCALAR</function_type>
<name>echoDelay</name>
<arguments>TweetMessageType</arguments>
<return_type>TweetMessageType</return_type>
<definition>org.apache.asterix.external.library.EchoDelayFactory
</definition>
</libraryFunction>
</libraryFunctions>
<libraryAdapters>
<libraryAdapter>
<name>test_typed_adapter</name>
<factory_class>org.apache.asterix.external.library.adapter.TestTypedAdapterFactory
</factory_class>
</libraryAdapter>
</libraryAdapters>
</externalLibrary>