Interface FeatureDefinition.Builder

    • Method Detail

      • featureName

        FeatureDefinition.Builder featureName​(String featureName)

        The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.

        The name:

        • Must start with an alphanumeric character.

        • Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.

        Parameters:
        featureName - The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.

        The name:

        • Must start with an alphanumeric character.

        • Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featureType

        FeatureDefinition.Builder featureType​(String featureType)

        The value type of a feature. Valid values are Integral, Fractional, or String.

        Parameters:
        featureType - The value type of a feature. Valid values are Integral, Fractional, or String.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FeatureType, FeatureType
      • featureType

        FeatureDefinition.Builder featureType​(FeatureType featureType)

        The value type of a feature. Valid values are Integral, Fractional, or String.

        Parameters:
        featureType - The value type of a feature. Valid values are Integral, Fractional, or String.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FeatureType, FeatureType
      • collectionType

        FeatureDefinition.Builder collectionType​(String collectionType)

        A grouping of elements where each element within the collection must have the same feature type ( String, Integral, or Fractional).

        • List: An ordered collection of elements.

        • Set: An unordered collection of unique elements.

        • Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

        Parameters:
        collectionType - A grouping of elements where each element within the collection must have the same feature type ( String, Integral, or Fractional).

        • List: An ordered collection of elements.

        • Set: An unordered collection of unique elements.

        • Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CollectionType, CollectionType
      • collectionType

        FeatureDefinition.Builder collectionType​(CollectionType collectionType)

        A grouping of elements where each element within the collection must have the same feature type ( String, Integral, or Fractional).

        • List: An ordered collection of elements.

        • Set: An unordered collection of unique elements.

        • Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

        Parameters:
        collectionType - A grouping of elements where each element within the collection must have the same feature type ( String, Integral, or Fractional).

        • List: An ordered collection of elements.

        • Set: An unordered collection of unique elements.

        • Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CollectionType, CollectionType
      • collectionConfig

        FeatureDefinition.Builder collectionConfig​(CollectionConfig collectionConfig)

        Configuration for your collection.

        Parameters:
        collectionConfig - Configuration for your collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.