Class ResponseFields


  • public final class ResponseFields
    extends java.lang.Object
    Defines constants for field names in responses returned by the Fauna Core HTTP API.

    The ResponseFields class centralizes commonly used JSON field names in Fauna responses, making it easier to reference them consistently and preventing hard-coded strings throughout the codebase.

    • Field Detail

      • DATA_FIELD_NAME

        public static final java.lang.String DATA_FIELD_NAME
        Field name for data returned in a response.
        See Also:
        Constant Field Values
      • LAST_SEEN_TXN_FIELD_NAME

        public static final java.lang.String LAST_SEEN_TXN_FIELD_NAME
        Field name for the last seen transaction timestamp.
        See Also:
        Constant Field Values
      • STATIC_TYPE_FIELD_NAME

        public static final java.lang.String STATIC_TYPE_FIELD_NAME
        Field name for the static type of the response data.
        See Also:
        Constant Field Values
      • SUMMARY_FIELD_NAME

        public static final java.lang.String SUMMARY_FIELD_NAME
        Field name for the summary information in the response.
        See Also:
        Constant Field Values
      • QUERY_TAGS_FIELD_NAME

        public static final java.lang.String QUERY_TAGS_FIELD_NAME
        Field name for query tags included in the response.
        See Also:
        Constant Field Values
      • ERROR_FIELD_NAME

        public static final java.lang.String ERROR_FIELD_NAME
        Field name for error information in the response.
        See Also:
        Constant Field Values
      • STATS_COMPUTE_OPS_FIELD_NAME

        public static final java.lang.String STATS_COMPUTE_OPS_FIELD_NAME
        Field name for compute operation statistics.
        See Also:
        Constant Field Values
      • STATS_READ_OPS

        public static final java.lang.String STATS_READ_OPS
        Field name for read operation statistics.
        See Also:
        Constant Field Values
      • STATS_WRITE_OPS

        public static final java.lang.String STATS_WRITE_OPS
        Field name for write operation statistics.
        See Also:
        Constant Field Values
      • STATS_QUERY_TIME_MS

        public static final java.lang.String STATS_QUERY_TIME_MS
        Field name for the query runtime in milliseconds.
        See Also:
        Constant Field Values
      • STATS_PROCESSING_TIME_MS

        public static final java.lang.String STATS_PROCESSING_TIME_MS
        Field name for event processing time in milliseconds.
        See Also:
        Constant Field Values
      • STATS_STORAGE_BYTES_READ

        public static final java.lang.String STATS_STORAGE_BYTES_READ
        Field name for data read from storage, in bytes.
        See Also:
        Constant Field Values
      • STATS_STORAGE_BYTES_WRITE

        public static final java.lang.String STATS_STORAGE_BYTES_WRITE
        Field name for data written to storage, in bytes.
        See Also:
        Constant Field Values
      • STATS_RATE_LIMITS_HIT

        public static final java.lang.String STATS_RATE_LIMITS_HIT
        Field name for rate limit hits.
        See Also:
        Constant Field Values
      • ERROR_CODE_FIELD_NAME

        public static final java.lang.String ERROR_CODE_FIELD_NAME
        Field name for the error code in the response.
        See Also:
        Constant Field Values
      • ERROR_MESSAGE_FIELD_NAME

        public static final java.lang.String ERROR_MESSAGE_FIELD_NAME
        Field name for the error message in the response.
        See Also:
        Constant Field Values
      • ERROR_CONSTRAINT_FAILURES_FIELD_NAME

        public static final java.lang.String ERROR_CONSTRAINT_FAILURES_FIELD_NAME
        Field name for constraint failures in error information.
        See Also:
        Constant Field Values
      • ERROR_ABORT_FIELD_NAME

        public static final java.lang.String ERROR_ABORT_FIELD_NAME
        Field name for abort error information in the error response.
        See Also:
        Constant Field Values
      • ERROR_NAME_FIELD_NAME

        public static final java.lang.String ERROR_NAME_FIELD_NAME
        Field name for the error name in the response.
        See Also:
        Constant Field Values
      • ERROR_PATHS_FIELD_NAME

        public static final java.lang.String ERROR_PATHS_FIELD_NAME
        Field name for paths involved in the error.
        See Also:
        Constant Field Values
      • CURSOR_FIELD_NAME

        public static final java.lang.String CURSOR_FIELD_NAME
        Field name for the cursor in stream and feed responses.
        See Also:
        Constant Field Values
      • FEED_HAS_NEXT_FIELD_NAME

        public static final java.lang.String FEED_HAS_NEXT_FIELD_NAME
        Field name indicating whether there are more pages in Event Feed responses.
        See Also:
        Constant Field Values