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

com.arangodb.serde.InternalId Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
package com.arangodb.serde;

import com.arangodb.shaded.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.arangodb.shaded.fasterxml.jackson.annotation.JsonInclude;
import com.arangodb.shaded.fasterxml.jackson.annotation.JsonProperty;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Michele Rastelli
 * Annotation for `_id` field used by the InternalSerde. It works with shaded driver and relocated Jackson.
 */
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@JsonProperty("_id")
@JsonInclude(JsonInclude.Include.NON_NULL)
public @interface InternalId {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy