Class ValueWithSource
- java.lang.Object
-
- com.yahoo.search.query.profile.compiled.ValueWithSource
-
public class ValueWithSource extends java.lang.Object
A value in a query profile with information about its source.- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description ValueWithSource(java.lang.Object value, java.lang.String source, DimensionValues variant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
source()
java.lang.String
toString()
java.lang.Object
value()
java.util.Optional<DimensionValues>
variant()
Returns the variant having this value, or empty if it's not in a variantValueWithSource
withValue(java.lang.Object value)
-
-
-
Constructor Detail
-
ValueWithSource
public ValueWithSource(java.lang.Object value, java.lang.String source, DimensionValues variant)
-
-
Method Detail
-
value
public java.lang.Object value()
-
source
public java.lang.String source()
-
withValue
public ValueWithSource withValue(java.lang.Object value)
-
variant
public java.util.Optional<DimensionValues> variant()
Returns the variant having this value, or empty if it's not in a variant
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-