Package com.fauna.constants
Class ResponseFields
- java.lang.Object
-
- com.fauna.constants.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 Summary
Fields Modifier and Type Field Description static java.lang.String
CURSOR_FIELD_NAME
Field name for the cursor in stream and feed responses.static java.lang.String
DATA_FIELD_NAME
Field name for data returned in a response.static java.lang.String
ERROR_ABORT_FIELD_NAME
Field name for abort error information in the error response.static java.lang.String
ERROR_CODE_FIELD_NAME
Field name for the error code in the response.static java.lang.String
ERROR_CONSTRAINT_FAILURES_FIELD_NAME
Field name for constraint failures in error information.static java.lang.String
ERROR_FIELD_NAME
Field name for error information in the response.static java.lang.String
ERROR_MESSAGE_FIELD_NAME
Field name for the error message in the response.static java.lang.String
ERROR_NAME_FIELD_NAME
Field name for the error name in the response.static java.lang.String
ERROR_PATHS_FIELD_NAME
Field name for paths involved in the error.static java.lang.String
EVENTS_FIELD_NAME
Field name for events in Event Feed responses.static java.lang.String
FEED_HAS_NEXT_FIELD_NAME
Field name indicating whether there are more pages in Event Feed responses.static java.lang.String
LAST_SEEN_TXN_FIELD_NAME
Field name for the last seen transaction timestamp.static java.lang.String
QUERY_TAGS_FIELD_NAME
Field name for query tags included in the response.static java.lang.String
SCHEMA_VERSION_FIELD_NAME
Field name for the database schema version in the response.static java.lang.String
STATIC_TYPE_FIELD_NAME
Field name for the static type of the response data.static java.lang.String
STATS_COMPUTE_OPS_FIELD_NAME
Field name for compute operation statistics.static java.lang.String
STATS_CONTENTION_RETRIES
Field name for transaction contention retries count.static java.lang.String
STATS_FIELD_NAME
Field name for query and event stats in the response.static java.lang.String
STATS_PROCESSING_TIME_MS
Field name for event processing time in milliseconds.static java.lang.String
STATS_QUERY_TIME_MS
Field name for the query runtime in milliseconds.static java.lang.String
STATS_RATE_LIMITS_HIT
Field name for rate limit hits.static java.lang.String
STATS_READ_OPS
Field name for read operation statistics.static java.lang.String
STATS_STORAGE_BYTES_READ
Field name for data read from storage, in bytes.static java.lang.String
STATS_STORAGE_BYTES_WRITE
Field name for data written to storage, in bytes.static java.lang.String
STATS_WRITE_OPS
Field name for write operation statistics.static java.lang.String
STREAM_TYPE_FIELD_NAME
Field name for the event type in Event Feed and Event Stream responses.static java.lang.String
SUMMARY_FIELD_NAME
Field name for the summary information in the response.
-
-
-
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
-
STATS_FIELD_NAME
public static final java.lang.String STATS_FIELD_NAME
Field name for query and event stats in the response.- See Also:
- Constant Field Values
-
SCHEMA_VERSION_FIELD_NAME
public static final java.lang.String SCHEMA_VERSION_FIELD_NAME
Field name for the database schema version in the response.- 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_CONTENTION_RETRIES
public static final java.lang.String STATS_CONTENTION_RETRIES
Field name for transaction contention retries count.- 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
-
STREAM_TYPE_FIELD_NAME
public static final java.lang.String STREAM_TYPE_FIELD_NAME
Field name for the event type in Event Feed and Event Stream responses.- See Also:
- Constant Field Values
-
EVENTS_FIELD_NAME
public static final java.lang.String EVENTS_FIELD_NAME
Field name for events in Event 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
-
-