1. Trang chủ
  2. » Công Nghệ Thông Tin

SAS/Warehouse Administrator 2.3 Metadata API- P18 ppt

5 196 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

82 WHCOLSCL Chapter 3 Format C No No No Id C No No No Indexes L No No No Informat C No No No Input Objects L No No No Input Sources L No No No Length N No No No Metadata Created C No No No Metadata Updated C No No No Name C No No No Note L No No Yes NValue N No No No Output Objects L No No No Output Targets L No No No Statistic Type C No No No Summary Role C No No No Table L No No No Type C No No No WHCOLSCL has the following new property: STATISTIC TYPE specifies the character string for the type of statistic. For example: SUM, COUNT, AVERAGE, MAX, and MIN. See “WHCOLSUM” on page 83 for a description of the new properties for summary table column types. Using WHCOLSCL Add Update Delete No No No WHCOLSCL is a dependent type, like all subtypes of WHCOLUMN. To understand how all subtypes of WHCOLUMN relate to other types, see the column mapping models in “Relationships Among Metadata Types” on page 53. SAS/Warehouse Administrator Metadata Types WHCOLSUM 83 WHCOLSUM Base metadata type for columns in summary tables and MDDBs Category: Column Types Parent “WHCOLUMN” on page 87 Overview WHCOLSUM is a base metadata type for all columns in summary tables and MDDBs in SAS/Warehouse Administrator. Properties The following table lists all of the properties for WHCOLSUM and indicates how you can use each property with metadata API methods. In the table, you can specify properties with a Ye s in the Indirect Add column when you indirectly add one object through another, as described in the documentation for the _UPDATE_METADATA_ method. Use this approach to add a new dependent object. For details, see “Using _UPDATE_METADATA_” on page 46. You can pass properties with a Ye s in the Update column to the _UPDATE_METADATA_ method, as described in the documentation for this method. Use this method to update properties of an existing object. For details, see “Using _UPDATE_METADATA_” on page 46. * Req indicates that the property is required; you must provide a value for this property when you use a given method. * Default indicates that the system will provide a default value for that property if you do not provide one. * Auto supplied means that the property is automatically supplied; any value that you specify for such a property is ignored. Properties with a Ye s in the Read Method Expand Parm column are valid with the expand parameter of the _GET_METADATA_ method. This method enables you to get detailed metadata about a property and its associated objects through a single method call. Properties Type Add Method Update Method Read Method Expand Parm. Alias C No No No Cvalue C No No No Desc C No No No Extended Attributes LNoNo Yes Format C No No No Id C No No No Indexes L No No No Informat C No No No Input Objects L No No No 84 WHCOLSUM Chapter 3 Input Sources L No No No Length N No No No Metadata Created C No No No Metadata Updated C No No No Name C No No No Note L No No Yes NValue N No No No Output Objects L No No No Output Targets L No No No Summary Role C No No No Table L No No No Type C No No No WHCOLSUM has the following two new properties: ALIAS specifies a character string for the column name as registered by SAS/Warehouse Administrator. Note that the NAME for a summary column contains the physically stored name, and the ALIAS contains the name as seen through SAS/Warehouse Administrator. A column’s NAME and ALIAS are the same, except for MDDB columns. For MDDB columns, the NAME property returns the name as it would be returned through the SASSFIO libname engine when looking at a specific hierarchy. The ALIAS property returns the name as seen through SAS/Warehouse Administrator. SUMMARY ROLE specifies a character string for the role of the column in the summary data. For example: CLASS, STATISTIC, ID, FREQUENCY, and TIME. Using WHCOLSUM Add Update Delete No No No WHCOLSUM is a dependent type, like all subtypes of WHCOLUMN. To understand how all subtypes of WHCOLUMN relate to other types, see the column mapping models in “Relationships Among Metadata Types” on page 53. SAS/Warehouse Administrator Metadata Types WHCOLTIM 85 WHCOLTIM Metadata type for _LOADTM columns Category: Column Types Parent “WHCOLUMN” on page 87 Overview WHCOLTIM models the metadata for _LOADTM columns. A _LOADTM column is an optional column that you can specify for SAS/Warehouse Administrator tables. This column contains automatically generated time values that indicate when particular rows of data were loaded into a table. To specify these columns in SAS/Warehouse Administrator: 1 In the Explorer, select a table with the right mouse button. 2 Select Process from the pop-up menu. 3 In the Process Editor, select the table with the right mouse button. 4 Select Edit Load Step. 5 Go to the Load Options tab. 6 Select (or deselect) Add Load Time Column to Table . Properties The following table lists all of the properties for WHCOLTIM and indicates how you can use each property with metadata API methods. In the table, you can specify properties with a Yes in the Indirect Add column when you indirectly add one object through another, as described in the documentation for the _UPDATE_METADATA_ method. Use this approach to add a new dependent object. For details, see “Using _UPDATE_METADATA_” on page 46. You can pass properties with a Ye s in the Update column to the _UPDATE_METADATA_ method, as described in the documentation for this method. Use this method to update properties of an existing object. For details, see “Using _UPDATE_METADATA_” on page 46. * Req indicates that the property is required; you must provide a value for this property when you use a given method. * Default indicates that the system will provide a default value for that property if you do not provide one. * Auto supplied means that the property is automatically supplied; any value that you specify for such a property is ignored. Properties with a Ye s in the Read Method Expand Parm column are valid with the expand parameter of the _GET_METADATA_ method. This method enables you to get detailed metadata about a property and its associated objects through a single method call. 86 WHCOLTIM Chapter 3 Properties Type Indirect Add Update Method Read Method Expand Parm. Cvalue C Yes Yes No Desc C Yes Yes No Extended Attributes L Yes Yes Yes Format C Yes Yes No Id C * Req Yes No Indexes L No No No Informat C Yes Yes No Input Objects L No No No Input Sources L Yes Yes No Length N Yes Yes No Metadata Created C No No No Metadata Updated C No No No Name C * Default Yes No Note L Yes Yes Yes NValue N Yes Yes No Output Objects L No No No Output Targets L Yes Yes No Table L * Auto supplied No No Type C * Req * Req No Using WHCOLTIM Add Update Delete No Yes Yes WHCOLTIM is a dependent type, like all subtypes of WHCOLUMN. To understand how all subtypes of WHCOLUMN relate to other types, see the column mapping models in “Relationships Among Metadata Types” on page 53. . the column mapping models in “Relationships Among Metadata Types” on page 53. SAS/Warehouse Administrator Metadata Types WHCOLSUM 83 WHCOLSUM Base metadata type for columns in summary tables and. the column mapping models in “Relationships Among Metadata Types” on page 53. SAS/Warehouse Administrator Metadata Types WHCOLTIM 85 WHCOLTIM Metadata type for _LOADTM columns Category: Column. registered by SAS/Warehouse Administrator. Note that the NAME for a summary column contains the physically stored name, and the ALIAS contains the name as seen through SAS/Warehouse Administrator.

Ngày đăng: 05/07/2014, 07:20

Xem thêm: SAS/Warehouse Administrator 2.3 Metadata API- P18 ppt

Mục lục

    Introduction to the Metadata API

    What is the SAS/Warehouse Administrator Metadata API?

    What Can I Do with the SAS/Warehouse Administrator Metadata API?

    How the Metadata API Works

    Reading Metadata: A Simple Example

    Setting the Active Metadata Repository

    Learning to Use the Metadata API

    Naming Conventions Used in This Manual

    Where Metadata API Classes and SLISTS are Stored

    Overview of the Metadata API Class

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN