/AWS1/CL_PZEUSER¶
Represents user metadata added to a Users dataset using the
PutUsers
API. For more information see
Importing users individually.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_userid
TYPE /AWS1/PZESTRINGTYPE
/AWS1/PZESTRINGTYPE
¶
The ID associated with the user.
Optional arguments:¶
iv_properties
TYPE /AWS1/PZESYNTHEDJSONUSERPRPS
/AWS1/PZESYNTHEDJSONUSERPRPS
¶
A string map of user-specific metadata. Each element in the map consists of a key-value pair. For example,
{"numberOfVideosWatched": "45"}
.The keys use camel case names that match the fields in the schema for the Users dataset. In the previous example, the
numberOfVideosWatched
matches the 'NUMBER_OF_VIDEOS_WATCHED' field defined in the Users schema. For categorical string data, to include multiple categories for a single user, separate each category with a pipe separator (|
). For example,\"Member|Frequent shopper\"
.
Queryable Attributes¶
userId¶
The ID associated with the user.
Accessible with the following methods¶
Method | Description |
---|---|
GET_USERID() |
Getter for USERID, with configurable default |
ASK_USERID() |
Getter for USERID w/ exceptions if field has no value |
HAS_USERID() |
Determine if USERID has a value |
properties¶
A string map of user-specific metadata. Each element in the map consists of a key-value pair. For example,
{"numberOfVideosWatched": "45"}
.The keys use camel case names that match the fields in the schema for the Users dataset. In the previous example, the
numberOfVideosWatched
matches the 'NUMBER_OF_VIDEOS_WATCHED' field defined in the Users schema. For categorical string data, to include multiple categories for a single user, separate each category with a pipe separator (|
). For example,\"Member|Frequent shopper\"
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PROPERTIES() |
Getter for PROPERTIES, with configurable default |
ASK_PROPERTIES() |
Getter for PROPERTIES w/ exceptions if field has no value |
HAS_PROPERTIES() |
Determine if PROPERTIES has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_USERLIST
¶
TYPES TT_USERLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PZEUSER WITH DEFAULT KEY
.