com.arangodb.serde.InternalKey Maven / Gradle / Ivy
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 `_key` 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("_key")
@JsonInclude(JsonInclude.Include.NON_NULL)
public @interface InternalKey {
}