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

SAS/Warehouse Administrator 2.3 Metadata API- P18 ppt

5 198 0
Tài liệu đã được kiểm tra trùng lặp

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 435,59 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

SAS/Warehouse Administrator Metadata Types WHCOLSUM 83WHCOLSUM Base metadata type for columns in summary tables and MDDBs Category: Column Types Parent “WHCOLUMN” on page 87 Overview WHC

Trang 1

82 WHCOLSCL Chapter 3

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

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

Trang 2

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 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 Yes 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 Yes 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.

Extended Attributes

Trang 3

84 WHCOLSUM Chapter 3

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

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

Trang 4

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 Yes 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 Yes 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

Trang 5

86 WHCOLTIM Chapter 3

Properties Type Indirect Add Update Method Read Method

Expand Parm.

Extended Attributes

supplied

Using WHCOLTIM

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

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