/AWS1/CL_CUSRECMDRSCHEMAFIELD¶
Defines a column in a recommender schema, including the target field name and optional feature and content type settings for training.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_targetfieldname TYPE /AWS1/CUSTEXT /AWS1/CUSTEXT¶
The name of the target field in the dataset, such as
Location.CityorAttributes.MealTime.
Optional arguments:¶
iv_contenttype TYPE /AWS1/CUSCONTENTTYPE /AWS1/CUSCONTENTTYPE¶
The data type of the column value. Valid values are
StringandNumber. The default value isString.
iv_featuretype TYPE /AWS1/CUSFEATURETYPE /AWS1/CUSFEATURETYPE¶
How the column is treated for model training. Valid values are
CATEGORICALandTEXTUAL.
Queryable Attributes¶
TargetFieldName¶
The name of the target field in the dataset, such as
Location.CityorAttributes.MealTime.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETFIELDNAME() |
Getter for TARGETFIELDNAME, with configurable default |
ASK_TARGETFIELDNAME() |
Getter for TARGETFIELDNAME w/ exceptions if field has no val |
HAS_TARGETFIELDNAME() |
Determine if TARGETFIELDNAME has a value |
ContentType¶
The data type of the column value. Valid values are
StringandNumber. The default value isString.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENTTYPE() |
Getter for CONTENTTYPE, with configurable default |
ASK_CONTENTTYPE() |
Getter for CONTENTTYPE w/ exceptions if field has no value |
HAS_CONTENTTYPE() |
Determine if CONTENTTYPE has a value |
FeatureType¶
How the column is treated for model training. Valid values are
CATEGORICALandTEXTUAL.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FEATURETYPE() |
Getter for FEATURETYPE, with configurable default |
ASK_FEATURETYPE() |
Getter for FEATURETYPE w/ exceptions if field has no value |
HAS_FEATURETYPE() |
Determine if FEATURETYPE 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_RECOMMENDERSCHEMAFIELDLIST¶
TYPES TT_RECOMMENDERSCHEMAFIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CUSRECMDRSCHEMAFIELD WITH DEFAULT KEY
.
TT_RECOMMENDERSCHEMAFIELDS¶
TYPES TT_RECOMMENDERSCHEMAFIELDS TYPE HASHED TABLE OF /AWS1/CL_CUSRECMDRSCHEMAFIELD=>TS_RECMDRSCHEMAFIELDS_MAPROW WITH UNIQUE KEY key
.
TS_RECMDRSCHEMAFIELDS_MAPROW¶
TYPES: BEGIN OF TS_RECMDRSCHEMAFIELDS_MAPROW,
key TYPE /AWS1/CUSSTRING,
value TYPE /AWS1/CL_CUSRECMDRSCHEMAFIELD=>TT_RECOMMENDERSCHEMAFIELDLIST,
END OF TS_RECMDRSCHEMAFIELDS_MAPROW.