ZCA_ES_SAVED_SEARCHES_B
This table is used to store the saved searches for a user
Details
-
Schema: FUSION
-
Object owner: ZCA
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
| Name | Columns |
|---|---|
|
ZCA_ES_SAVED_SEARCHES_B_PK |
SAVED_SEARCH_UUID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| SAVED_SEARCH_UUID | VARCHAR2 | 36 | Yes | the primary key | ||
| SHARED_FLAG | VARCHAR2 | 1 | This flag will allow user to share a private Saved Search. Allowed values are Y or N | |||
| SAVED_SEARCH_NUMBER | VARCHAR2 | 200 | Yes | PUID used for migration between envs | ||
| ENTITY_UUID | VARCHAR2 | 36 | the entity that this saved search is for | |||
| USER_ID | NUMBER | 18 | the user that this saved search is for | |||
| ROLE_NAME | VARCHAR2 | 2000 | Obsolete | Obsolete | ||
| KEYWORDS | VARCHAR2 | 200 | keywords used to filter the entity for this saved search | |||
| KEYWORDS_FIELDS_LIST_JSON | CLOB | the serialized JSON the array of fields to search on in addition to the "all" field | ||||
| QUERY_JSON | CLOB | the serailized JSON that represents the query expression for this saved search | ||||
| AGGREGATIONS_JSON | CLOB | The serialized JSON that represents the aggregations for this saved search | ||||
| SORT_JSON | CLOB | the serialized JSON for the array of sort criteria | ||||
| ENTITIES_JSON | CLOB | the serialized JSON that represents array of entities and fields for this saved search | ||||
| HIGHLIGHTS_JSON | CLOB | the serialized JSON for the array of fields to be highlighted for this saved search | ||||
| FIELDS_JSON | CLOB | the serialized JSON for the array of fields to be returned in the result set | ||||
| EXCLUDE_JSON | CLOB | the serialized JSON for the array of fields to be excluded in the result payload | ||||
| DELETED_FLAG | VARCHAR2 | 1 | Yes | Y iff the row was deleted, otherwise N | ||
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | |||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | ||
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | |||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | |||
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | ||
| USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). | ||||
| ACCESS_LEVEL_TYPE_NAME | VARCHAR2 | 80 | Yes | The Access Level for this Saved Search. Values can be Private, Public and Role | ||
| DEFAULT_LAYOUT_TYPE_NAME | VARCHAR2 | 20 | Yes | The default Layout Type | ||
| SEED_DATA_SOURCE | VARCHAR2 | 512 | Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file. | |||
| ORA_SEED_SET1 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N. | ||
| ORA_SEED_SET2 | VARCHAR2 | 1 | Yes | Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| zca_es_role_ss_defaults_b | zca_es_saved_searches_b | SAVED_SEARCH_UUID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZCA_ES_SAVED_SEARCHES_B_N1 | Non Unique | Default | ACCESS_LEVEL_TYPE_NAME |
| ZCA_ES_SAVED_SEARCHES_B_N2 | Non Unique | Default | USER_ID |
| ZCA_ES_SAVED_SEARCHES_B_N3 | Non Unique | Default | ENTITY_UUID |
| ZCA_ES_SAVED_SEARCHES_B_PK | Unique | FUSION_TS_SEED | SAVED_SEARCH_UUID, ORA_SEED_SET1 |
| ZCA_ES_SAVED_SEARCHES_B_PK1 | Unique | FUSION_TS_SEED | SAVED_SEARCH_UUID, ORA_SEED_SET2 |
| ZCA_ES_SAVED_SEARCHES_B_U1 | Unique | Default | SAVED_SEARCH_NUMBER, ORA_SEED_SET1 |
| ZCA_ES_SAVED_SEARCHES_B_U11 | Unique | Default | SAVED_SEARCH_NUMBER, ORA_SEED_SET2 |