All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.inmemory.mutations.AddPropertyMetadataMutation Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.inmemory.mutations;

import org.vertexium.FetchHints;
import org.vertexium.Metadata;
import org.vertexium.Visibility;

public class AddPropertyMetadataMutation extends PropertyMutation {
    private final Metadata metadata;

    public AddPropertyMetadataMutation(
            long timestamp, String key, String name, Metadata metadata, Visibility visibility) {
        super(timestamp, key, name, visibility, visibility);
        this.metadata = new Metadata(metadata);
    }

    public Metadata getMetadata(FetchHints fetchHints) {
        return new Metadata(metadata, fetchHints);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy