lib_datalib.ecllib 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2020 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 plugin definition for (EE only) data library */
  14. export DataLib := SERVICE:plugin('datalib'),fold
  15. string261 AddressClean(const string address1, const string address2) : c, pure, entrypoint='dataAddressClean', hole;
  16. string120 CompanyClean(const string scr) : c, pure, entrypoint='dataCompanyClean', hole;
  17. string DeDouble(const string scr) : c, pure, entrypoint='dataDeDouble';
  18. unsigned4 DoNamesMatch(const string le_f, const string le_m, const string le_l,
  19. const string ri_f,const string ri_m,const string ri_l, unsigned4 thresh) : c, pure, entrypoint='dataDoNamesMatch', hole;
  20. unsigned4 DoNamesMatchNew(const string le_f, const string le_m, const string le_l,
  21. const string ri_f,const string ri_m,const string ri_l, unsigned4 thresh, boolean useNew) : c, pure, entrypoint='dataDoNamesMatchNew', hole;
  22. string1 Gender(const string name) : c, pure, entrypoint='dataGender', hole;
  23. unsigned4 LeadMatch(const string src, const string search) : c, pure, entrypoint='dataLeadMatch', hole;
  24. string142 NameClean(const string scr) : c, pure, entrypoint='dataNameClean', hole;
  25. unsigned4 NameMatch(const string le_f, const string le_m, const string le_l,
  26. const string ri_f,const string ri_m,const string ri_l) : c, pure, entrypoint='dataNameMatch', hole;
  27. unsigned4 NameMatchNew(const string le_f, const string le_m, const string le_l,
  28. const string ri_f,const string ri_m,const string ri_l, boolean useNew, boolean useStrict = false) : c, pure, entrypoint='dataNameMatchNew', hole;
  29. unsigned4 NameSimilar(const string le, const string ri,boolean blanks) : c, pure, entrypoint='dataNameSimilar', hole;
  30. unsigned4 PositionalMatch(const string src, const string search) : c, pure, entrypoint='dataPositionalMatch', hole;
  31. string PreferredFirst(const string scr) : c, pure, entrypoint='dataPreferredFirst';
  32. string PreferredFirstNew(const string scr, boolean useNew) : c, pure, entrypoint='dataPreferredFirstNew';
  33. unsigned4 SlidingMatch(const string src, const string arg) : c, pure, entrypoint='dataSlidingMatch', hole;
  34. unsigned4 StringFind(const string scr, const string search, unsigned4 instance) : c, pure, entrypoint='dataStringFind', hole;
  35. unsigned4 StringSimilar100(const string le, const string ri) : c, pure, entrypoint='dataStringSimilar', hole;
  36. string StringReplaceSmaller(const string scr, const string search, const string replace) : c, pure, entrypoint='dataStringReplaceSmaller';
  37. unsigned4 StrCompare(const string str1, const string str2) : c, pure, entrypoint='datastrCompare', hole;
  38. END;