Class BatchWriteOperation

    • Method Detail

      • createObject

        public final BatchCreateObject createObject()

        Creates an object.

        Returns:
        Creates an object.
      • updateObjectAttributes

        public final BatchUpdateObjectAttributes updateObjectAttributes()

        Updates a given object's attributes.

        Returns:
        Updates a given object's attributes.
      • addFacetToObject

        public final BatchAddFacetToObject addFacetToObject()

        A batch operation that adds a facet to an object.

        Returns:
        A batch operation that adds a facet to an object.
      • removeFacetFromObject

        public final BatchRemoveFacetFromObject removeFacetFromObject()

        A batch operation that removes a facet from an object.

        Returns:
        A batch operation that removes a facet from an object.
      • attachPolicy

        public final BatchAttachPolicy attachPolicy()

        Attaches a policy object to a regular object. An object can have a limited number of attached policies.

        Returns:
        Attaches a policy object to a regular object. An object can have a limited number of attached policies.
      • attachToIndex

        public final BatchAttachToIndex attachToIndex()

        Attaches the specified object to the specified index.

        Returns:
        Attaches the specified object to the specified index.
      • detachFromIndex

        public final BatchDetachFromIndex detachFromIndex()

        Detaches the specified object from the specified index.

        Returns:
        Detaches the specified object from the specified index.
      • attachTypedLink

        public final BatchAttachTypedLink attachTypedLink()

        Attaches a typed link to a specified source and target object. For more information, see Typed Links.

        Returns:
        Attaches a typed link to a specified source and target object. For more information, see Typed Links.
      • detachTypedLink

        public final BatchDetachTypedLink detachTypedLink()

        Detaches a typed link from a specified source and target object. For more information, see Typed Links.

        Returns:
        Detaches a typed link from a specified source and target object. For more information, see Typed Links.
      • updateLinkAttributes

        public final BatchUpdateLinkAttributes updateLinkAttributes()

        Updates a given object's attributes.

        Returns:
        Updates a given object's attributes.
      • 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)