From 0f2555131802bbd644d55b547a1bc9a8b88dd43b Mon Sep 17 00:00:00 2001 From: "Barry M. Caceres" Date: Wed, 2 Oct 2024 21:48:21 -0700 Subject: [PATCH] Added new flags pertaining to record-level features and made related updates --- src/main/java/com/senzing/sdk/SzFlag.java | 68 +++++++++++++++++-- .../com/senzing/sdk/SzFlagUsageGroup.java | 15 ++-- src/main/java/com/senzing/sdk/SzFlags.java | 19 +++++- .../com/senzing/sdk/core/NativeEngine.java | 12 +++- .../sdk/core/SzCoreDiagnosticTest.java | 2 +- .../senzing/sdk/core/SzCoreEngineHowTest.java | 6 +- 6 files changed, 102 insertions(+), 20 deletions(-) diff --git a/src/main/java/com/senzing/sdk/SzFlag.java b/src/main/java/com/senzing/sdk/SzFlag.java index 4caa49e..d6e37a7 100644 --- a/src/main/java/com/senzing/sdk/SzFlag.java +++ b/src/main/java/com/senzing/sdk/SzFlag.java @@ -350,7 +350,8 @@ public enum SzFlag { SzFlags.SZ_ENTITY_INCLUDE_RECORD_UNMAPPED_DATA, SZ_ENTITY_RECORD_SET), /** - * The value for the features identifiers for the records. + * The value for including features identifiers in the records + * segment, referencing back to the entity features. *

* This flag belongs to the following usage groups: *

* @see https://docs.senzing.com/flags/index.html */ - SZ_ENTITY_INCLUDE_RECORD_FEATURE_IDS( - SzFlags.SZ_ENTITY_INCLUDE_RECORD_FEATURE_IDS, SZ_ENTITY_SET), + SZ_ENTITY_INCLUDE_RECORD_FEATURES( + SzFlags.SZ_ENTITY_INCLUDE_RECORD_FEATURES, SZ_ENTITY_SET), + + /** + * The value for including record-level feature details in + * the record segment of an entity or in a record response. + * This is affected by {@link + * #SZ_ENTITY_INCLUDE_INTERNAL_FEATURES}. + *

+ * This flag belongs to the following usage groups: + *

+ * @see https://docs.senzing.com/flags/index.html + */ + SZ_ENTITY_INCLUDE_RECORD_FEATURE_DETAILS( + SzFlags.SZ_ENTITY_INCLUDE_RECORD_FEATURE_DETAILS, + SZ_ENTITY_RECORD_SET), + + /** + * The value for including record-level feature statistics + * in the record segment of an entity or in a record + * response. This is affected by {@link + * #SZ_ENTITY_INCLUDE_INTERNAL_FEATURES}. + *

+ * This flag belongs to the following usage groups: + *

+ * @see https://docs.senzing.com/flags/index.html + */ + SZ_ENTITY_INCLUDE_RECORD_FEATURE_STATS( + SzFlags.SZ_ENTITY_INCLUDE_RECORD_FEATURE_STATS, + SZ_ENTITY_RECORD_SET), /** * The value for including the name of the related entities. @@ -459,6 +506,7 @@ public enum SzFlag { *

* This flag belongs to the following usage groups: *