lib_saltlib.ecllib 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. /* Proxy service header for (EE-only) saltlib plugin version SALTLIB 1.0.05 */
  14. EXPORT GeohashDecodeResultRecord := RECORD
  15. REAL latitude;
  16. REAL longitude;
  17. REAL latitude_err;
  18. REAL longitude_err;
  19. END;
  20. export SaltLib := SERVICE : plugin('saltlib'),fold,time
  21. boolean UnicodeLocaleWithinEditN(const unicode left, const unicode right, unsigned4 distance, const varstring localename) : c, pure,entrypoint='ulUnicodeLocaleWithinEditN', hole;
  22. boolean UnicodeWithinEditN(const unicode left, const unicode right, unsigned4 distance) : c, pure,entrypoint='ulUnicodeWithinEditN', hole;
  23. unsigned4 UnicodeLocaleHyphenMatch(const unicode left, const unicode right, unsigned4 minlen, const varstring localename) : c, pure,entrypoint='ulUnicodeLocaleHyphenMatch', hole;
  24. unsigned4 UnicodeHyphenMatch(const unicode left, const unicode right, unsigned4 minlen) : c, pure,entrypoint='ulUnicodeHyphenMatch', hole;
  25. unicode UnicodeLocaleGetRangeOfWords(const unicode text, unsigned4 s_index, unsigned4 e_index, const varstring localename) : c,pure,entrypoint='ulUnicodeLocaleGetRangeOfWords';
  26. unicode UnicodeGetRangeOfWords(const unicode text, unsigned4 s_index, unsigned4 e_index) : c,pure,entrypoint='ulUnicodeGetRangeOfWords';
  27. integer4 UnicodeMatchBagofwords2(const unicode left, const unicode right, unsigned4 mode, unsigned4 score_mode) : c, pure,entrypoint='ulUnicodeMatchBagofwords2', hole;
  28. integer4 UnicodeLocaleMatchBagofwords2(const unicode left, const unicode right, const varstring localename, unsigned4 mode, unsigned4 score_mode) : c, pure,entrypoint='ulUnicodeLocaleMatchBagofwords2', hole;
  29. integer4 StringMatchBagofwords2(const string left, const string right, unsigned4 mode, unsigned4 score_mode) : c, pure,entrypoint='ulStringMatchBagofwords2', hole;
  30. integer4 UnicodeLocaleMatchBagofwordsMultiway(const unicode left, const unicode right, const varstring localename, const string cmd) : c, pure,entrypoint='saltUnicodeLocaleMatchBagofwordsMultiway', hole;
  31. integer4 UnicodeMatchBagofwordsMultiway(const unicode left, const unicode right, const string cmd) : c, pure,entrypoint='saltUnicodeMatchBagofwordsMultiway', hole;
  32. integer4 StringMatchBagofwordsMultiway(const string left, const string right, const string cmd) : c, pure,entrypoint='saltStringMatchBagofwordsMultiway', hole;
  33. STRING GeohashLatLongEncode(REAL latitude, REAL longitude, UNSIGNED precision=12) : c, pure,entrypoint='saltGeohashLatLongEncode';
  34. STRING GeohashNeighbor(const STRING geohash, INTEGER direction0, INTEGER direction1) : c, pure,entrypoint='saltGeohashNeighbor';
  35. DATASET(GeohashDecodeResultRecord) GeohashDecode(const STRING geohash) : c, pure,entrypoint='saltGeohashDecode';
  36. END;