Class ExportFilterPropertyAttributes

    • Method Detail

      • outputType

        public final 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.

        Returns:
        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.
      • sourcePropertyName

        public final 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.

        Returns:
        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.
      • multiValueHandling

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, multiValueHandling will return MultiValueHandlingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from multiValueHandlingAsString().

        Returns:
        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.
        See Also:
        MultiValueHandlingType
      • multiValueHandlingAsString

        public final String multiValueHandlingAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, multiValueHandling will return MultiValueHandlingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from multiValueHandlingAsString().

        Returns:
        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.
        See Also:
        MultiValueHandlingType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)