lib_ziplib.ecllib 1.6 KB

1234567891011121314151617181920212223242526272829
  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) zip library */
  14. export ZipLib := SERVICE:plugin('ziplib'),fold
  15. string21 ZipToGeo21(const string zip) : c,pure,entrypoint='zlZipToGeo21', hole;
  16. string ZipToCities(const string zip) : c,pure,entrypoint='zlZipToCities';
  17. string2 ZipToState2(const string zip) : c,pure,entrypoint='zlZipToState2', hole;
  18. string5 CityToZip5(const string state, const string city) : c, pure,entrypoint='zlCityToZip5';
  19. set of integer4 ZipsWithinRadius (const string zip, real8 radius) : c,pure,entrypoint='zlZipSetWithinRadius',oldSetFormat;
  20. set of integer4 ZipsWithinLatLongRadius (real8 latitude, real8 longitude, real8 radius) : c,pure,entrypoint='zlZipSetWithinLatLongRadius',oldSetFormat;
  21. string MSAToCityState(const string msa) : c,pure,entrypoint='zlMSAToCityState';
  22. END;