Annotation Type FaunaField

  • @Retention(RUNTIME)
    public @interface FaunaField

    Maps a field, getter, or constructor parameter to an object field in FaunaDB when encoding or decoding an object.

     class Car {
         private String model;
         private String manufacturer;
     class Product {
         private String description;
         private double price;
         public Product(@FaunaField("description") String description, @FaunaField("price") double price) {
             this.description = description;
             this.price = price;
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • value

        String value