PostgreSQL Source Code  git master
JsonbValue Struct Reference

#include <jsonb.h>

Data Fields

enum jbvType type
 
union {
   Numeric   numeric
 
   bool   boolean
 
   struct {
      int   len
 
      char *   val
 
   }   string
 
   struct {
      int   nElems
 
      JsonbValue *   elems
 
      bool   rawScalar
 
   }   array
 
   struct {
      int   nPairs
 
      JsonbPair *   pairs
 
   }   object
 
   struct {
      int   len
 
      JsonbContainer *   data
 
   }   binary
 
   struct {
      Datum   value
 
      Oid   typid
 
      int32   typmod
 
      int   tz
 
   }   datetime
 
val
 

Detailed Description

Definition at line 253 of file jsonb.h.

Field Documentation

◆ 

struct { ... } JsonbValue::array

◆ 

struct { ... } JsonbValue::binary

◆ boolean

bool JsonbValue::boolean

Definition at line 260 of file jsonb.h.

◆ data

JsonbContainer* JsonbValue::data

Definition at line 283 of file jsonb.h.

◆ 

struct { ... } JsonbValue::datetime

◆ elems

JsonbValue* JsonbValue::elems

Definition at line 270 of file jsonb.h.

◆ len

int JsonbValue::len

Definition at line 263 of file jsonb.h.

◆ nElems

int JsonbValue::nElems

Definition at line 269 of file jsonb.h.

◆ nPairs

int JsonbValue::nPairs

Definition at line 276 of file jsonb.h.

◆ numeric

Numeric JsonbValue::numeric

Definition at line 259 of file jsonb.h.

◆ 

struct { ... } JsonbValue::object

◆ pairs

JsonbPair* JsonbValue::pairs

Definition at line 277 of file jsonb.h.

◆ rawScalar

bool JsonbValue::rawScalar

Definition at line 271 of file jsonb.h.

◆ 

struct { ... } JsonbValue::string

◆ type

enum jbvType JsonbValue::type

Definition at line 215 of file jsonb.h.

Referenced by appendBoolResult(), appendElement(), appendKey(), appendValue(), compareItems(), compareJsonbContainers(), composite_to_jsonb(), convertJsonbScalar(), datum_to_jsonb_internal(), each_worker_jsonb(), elements_worker_jsonb(), ExecGetJsonValueItemString(), executeAnyItem(), executeBinaryArithmExpr(), executeDateTimeMethod(), executeItemOptUnwrapResult(), executeItemOptUnwrapTarget(), executeItemUnwrapTargetArray(), executeKeyValueMethod(), executeNumericItemMethod(), extract_jsp_bool_expr(), fillJsonbValue(), findJsonbValueFromContainer(), GetJsonPathVar(), getJsonPathVariableFromJsonb(), getScalar(), gin_extract_jsonb(), iterate_jsonb_values(), json_populate_type(), jsonb_agg_transfn_worker(), jsonb_array_element_text(), jsonb_bool(), jsonb_delete(), jsonb_delete_array(), jsonb_exists(), jsonb_float4(), jsonb_float8(), jsonb_get_element(), jsonb_in_object_field_start(), jsonb_in_scalar(), jsonb_int2(), jsonb_int4(), jsonb_int8(), jsonb_numeric(), jsonb_object(), jsonb_object_agg_transfn_worker(), jsonb_object_field_text(), jsonb_object_two_arg(), jsonb_ops__extract_nodes(), jsonb_path_match_internal(), jsonb_path_ops__add_path_item(), jsonb_put_escaped_value(), jsonb_strip_nulls(), jsonb_subscript_assign(), JsonbArraySize(), JsonbDeepContains(), JsonbHashScalarValue(), JsonbHashScalarValueExtended(), JsonbInitBinary(), JsonbType(), JsonbUnquote(), JsonbValue_to_SV(), JsonbValueAsText(), JsonbValueInitNumericDatum(), JsonbValueToJsonb(), JsonPathQuery(), JsValueToJsObject(), lengthCompareJsonbStringValue(), make_scalar_key(), parse_jsonb_index_flags(), PLyMapping_ToJsonbValue(), PLyNumber_ToJsonbValue(), PLyObject_FromJsonbValue(), PLyObject_ToJsonbValue(), PLyUnicode_FromJsonbValue(), PLyUnicode_ToJsonbValue(), populate_array_dim_jsonb(), populate_record_worker(), populate_recordset_worker(), populate_scalar(), push_null_elements(), push_path(), pushJsonbValue(), pushJsonbValueScalar(), setBaseObject(), setPathObject(), SV_to_JsonbValue(), transform_jsonb_string_values(), and uniqueifyJsonbObject().

◆ typid

Oid JsonbValue::typid

Definition at line 289 of file jsonb.h.

◆ typmod

int32 JsonbValue::typmod

Definition at line 290 of file jsonb.h.

◆ tz

int JsonbValue::tz

Definition at line 291 of file jsonb.h.

◆ val [1/2]

char* JsonbValue::val

Definition at line 264 of file jsonb.h.

Referenced by appendBoolResult(), appendElement(), appendKey(), compareItems(), compareJsonbContainers(), composite_to_jsonb(), convertJsonbScalar(), datum_to_jsonb_internal(), each_worker_jsonb(), ExecGetJsonValueItemString(), executeAnyItem(), executeBinaryArithmExpr(), executeDateTimeMethod(), executeItemOptUnwrapTarget(), executeItemUnwrapTargetArray(), executeKeyValueMethod(), executeNumericItemMethod(), executeStartsWith(), extract_jsp_bool_expr(), fillJsonbValue(), getArrayIndex(), getJsonPathVariableFromJsonb(), getScalar(), iterate_jsonb_values(), json_populate_type(), jsonb_agg_transfn_worker(), jsonb_bool(), jsonb_delete(), jsonb_delete_array(), jsonb_delete_idx(), jsonb_exists(), jsonb_float4(), jsonb_float8(), jsonb_get_element(), jsonb_in_object_field_start(), jsonb_in_scalar(), jsonb_int2(), jsonb_int4(), jsonb_int8(), jsonb_numeric(), jsonb_object(), jsonb_object_agg_transfn_worker(), jsonb_object_keys(), jsonb_object_two_arg(), jsonb_path_match_internal(), jsonb_path_ops__add_path_item(), jsonb_put_escaped_value(), jsonb_subscript_assign(), Jsonb_to_SV(), JsonbArraySize(), JsonbDeepContains(), JsonbExtractScalar(), JsonbHashScalarValue(), JsonbHashScalarValueExtended(), JsonbInitBinary(), JsonbToCStringWorker(), JsonbType(), JsonbUnquote(), JsonbValue_to_SV(), JsonbValueAsText(), JsonbValueInitNumericDatum(), JsonbValueToJsonb(), JsonPathQuery(), JsValueToJsObject(), lengthCompareJsonbStringValue(), make_scalar_key(), parse_jsonb_index_flags(), PLyMapping_ToJsonbValue(), PLyNumber_ToJsonbValue(), PLyObject_FromJsonbContainer(), PLyObject_FromJsonbValue(), PLyObject_ToJsonbValue(), PLyUnicode_FromJsonbValue(), PLyUnicode_ToJsonbValue(), populate_array_dim_jsonb(), populate_record_worker(), populate_recordset_worker(), populate_scalar(), push_path(), pushJsonbValue(), pushJsonbValueScalar(), setBaseObject(), setPath(), setPathObject(), SV_to_JsonbValue(), transform_jsonb_string_values(), and uniqueifyJsonbObject().

◆  [2/2]

union { ... } JsonbValue::val

◆ value

Datum JsonbValue::value

Definition at line 288 of file jsonb.h.


The documentation for this struct was generated from the following file: