Interface FeatureValue.Builder

    • Method Detail

      • featureName

        FeatureValue.Builder featureName​(String featureName)

        The name of a feature that a feature value corresponds to.

        Parameters:
        featureName - The name of a feature that a feature value corresponds to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valueAsString

        FeatureValue.Builder valueAsString​(String valueAsString)

        The value in string format associated with a feature. Used when your CollectionType is None. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.

        Parameters:
        valueAsString - The value in string format associated with a feature. Used when your CollectionType is None. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valueAsStringList

        FeatureValue.Builder valueAsStringList​(Collection<String> valueAsStringList)

        The list of values in string format associated with a feature. Used when your CollectionType is a List, Set, or Vector. Note that features types can be String, Integral, or Fractional. These values represents all three types as a string.

        Parameters:
        valueAsStringList - The list of values in string format associated with a feature. Used when your CollectionType is a List, Set, or Vector. Note that features types can be String, Integral, or Fractional. These values represents all three types as a string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valueAsStringList

        FeatureValue.Builder valueAsStringList​(String... valueAsStringList)

        The list of values in string format associated with a feature. Used when your CollectionType is a List, Set, or Vector. Note that features types can be String, Integral, or Fractional. These values represents all three types as a string.

        Parameters:
        valueAsStringList - The list of values in string format associated with a feature. Used when your CollectionType is a List, Set, or Vector. Note that features types can be String, Integral, or Fractional. These values represents all three types as a string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.