首页> 外国专利> PACKAGE CONVERSIONS FOR PROCEDURAL LANGUAGE EXTENSIONS

PACKAGE CONVERSIONS FOR PROCEDURAL LANGUAGE EXTENSIONS

机译:程序语言扩展的包转换

摘要

An existing package definition that statically accesses data sources may be used to generate a new definition of the package that dynamically selects between available data sources at runtime. Read-only operations in the new package can be replaced with parameterized views that select between data sources using a session variable. Data manipulation code in the existing package definition can be moved from the package to a new object type. The new definition of the package may keep the same public interface, but the function/procedure definitions can call corresponding functions/procedures in the new object type. Data manipulation code in these functions in the object can be moved to new member functions that separate data manipulation code from data processing code. Child object types can be defined for each data source that override these member functions to access different data sources.
机译:静态访问数据源的现有包定义可用于生成在运行时在可用数据源之间动态选择的程序的新定义。新包中的只读操作可以替换为使用会话变量在数据源之间选择的参数化视图。可以将现有包定义中的数据操作代码从包移动到新对象类型。包的新定义可以保持相同的公共接口,但函数/过程定义可以调用新对象类型中的相应函数/过程。数据操作代码在对象中的这些功能中可以移动到新的成员函数,该功能将数据操作代码与数据处理代码分开。可以为覆盖这些成员函数来访问不同数据源的每个数据源来定义子对象类型。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号