summaryrefslogtreecommitdiffstats
path: root/container-search
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-10-28 14:44:44 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2019-10-28 14:44:44 +0100
commit571d218c6fb6306ad780a9caff153974f2ac82a8 (patch)
tree88217a7e2c63a673d768968831d3dc2c7d853285 /container-search
parent7b9f05860e4906dc68a4bbd5d8382976eb720d74 (diff)
Rename ownerId to ownerSource
Diffstat (limited to 'container-search')
-rw-r--r--container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java b/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
index 11281b3cd52..79426cbce3a 100644
--- a/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
+++ b/container-search/src/main/java/com/yahoo/search/query/profile/compiled/ValueWithSource.java
@@ -14,24 +14,24 @@ public class ValueWithSource {
private final Object value;
- /** The id of the query profile having a value */
- private final String ownerId;
+ /** The source of the query profile having a value */
+ private final String ownerSource;
/** The dimension values specifying a variant in that profile, or null if it is not in a variant */
private final DimensionValues variant;
- public ValueWithSource(Object value, String ownerId, DimensionValues variant) {
+ public ValueWithSource(Object value, String ownerSource, DimensionValues variant) {
this.value = value;
- this.ownerId = ownerId;
+ this.ownerSource = ownerSource;
this.variant = variant;
}
public Object value() { return value; }
- public String ownerId() { return ownerId; }
+ public String ownerSource() { return ownerSource; }
public ValueWithSource withValue(Object value) {
- return new ValueWithSource(value, ownerId, variant);
+ return new ValueWithSource(value, ownerSource, variant);
}
/** Returns the variant having this value, or empty if it's not in a variant */
@@ -40,7 +40,7 @@ public class ValueWithSource {
@Override
public String toString() {
return value +
- " (from query profile '" + ownerId + "'" +
+ " (from query profile '" + ownerSource + "'" +
( variant != null ? " variant " + variant : "") +
")";
}