MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / JSONBKeys

Class JSONBKeys

jOOQ/src/main/java/org/jooq/impl/JSONBKeys.java:71–241  ·  view source on GitHub ↗

The JSONB KEYS statement.

Source from the content-addressed store, hash-verified

69 * The <code>JSONB KEYS</code> statement.
70 */
71@SuppressWarnings({ "rawtypes", "unchecked", "unused" })
72final class JSONBKeys
73extends
74 AbstractField<JSONB>
75implements
76 QOM.JSONBKeys
77{
78
79 static final Set<SQLDialect> NO_SUPPORT_PATH_QUERY = SQLDialect.supportedUntil();
80
81 final Field<JSONB> field;
82
83 JSONBKeys(
84 Field<JSONB> field
85 ) {
86 super(
87 N_JSONB_KEYS,
88 allNotNull(JSONB, field)
89 );
90
91 this.field = nullSafeNotNull(field, JSONB);
92 }
93
94 // -------------------------------------------------------------------------
95 // XXX: QueryPart API
96 // -------------------------------------------------------------------------
97
98 @Override
99 final boolean parenthesised(Context<?> ctx) {
100 switch (ctx.family()) {
101
102
103 case POSTGRES:
104 case YUGABYTEDB:
105 return false;
106
107
108
109
110
111
112
113
114
115 case SQLITE:
116 return false;
117
118
119
120
121
122
123 case DUCKDB:
124 return false;
125
126 case CLICKHOUSE:
127 return false;
128

Callers

nothing calls this directly

Calls 1

supportedUntilMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…