Interface ExportFilterPropertyAttributes.Builder

    • Method Detail

      • outputType

        ExportFilterPropertyAttributes.Builder outputType​(String outputType)

        Specifies the data type to use for the property in the exported data (e.g. "String", "Int", "Float"). If a type is not provided, the export process will determine the type. If a given property is present as multiple types (e.g. one vertex has "height" stored as a double, and another edge has it stored as a string), the type will be of Any type, otherwise, it will be the type of the property as present in vertices.

        Parameters:
        outputType - Specifies the data type to use for the property in the exported data (e.g. "String", "Int", "Float"). If a type is not provided, the export process will determine the type. If a given property is present as multiple types (e.g. one vertex has "height" stored as a double, and another edge has it stored as a string), the type will be of Any type, otherwise, it will be the type of the property as present in vertices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourcePropertyName

        ExportFilterPropertyAttributes.Builder sourcePropertyName​(String sourcePropertyName)

        The name of the property as it exists in the original graph data. If not provided, it is assumed that the key matches the desired sourcePropertyName.

        Parameters:
        sourcePropertyName - The name of the property as it exists in the original graph data. If not provided, it is assumed that the key matches the desired sourcePropertyName.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • multiValueHandling

        ExportFilterPropertyAttributes.Builder multiValueHandling​(String multiValueHandling)

        Specifies how to handle properties that have multiple values. Can be either TO_LIST to export all values as a list, or PICK_FIRST to export the first value encountered. If not specified, the default value is PICK_FIRST.

        Parameters:
        multiValueHandling - Specifies how to handle properties that have multiple values. Can be either TO_LIST to export all values as a list, or PICK_FIRST to export the first value encountered. If not specified, the default value is PICK_FIRST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MultiValueHandlingType, MultiValueHandlingType
      • multiValueHandling

        ExportFilterPropertyAttributes.Builder multiValueHandling​(MultiValueHandlingType multiValueHandling)

        Specifies how to handle properties that have multiple values. Can be either TO_LIST to export all values as a list, or PICK_FIRST to export the first value encountered. If not specified, the default value is PICK_FIRST.

        Parameters:
        multiValueHandling - Specifies how to handle properties that have multiple values. Can be either TO_LIST to export all values as a list, or PICK_FIRST to export the first value encountered. If not specified, the default value is PICK_FIRST.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MultiValueHandlingType, MultiValueHandlingType