|
| 1 | +@file:Suppress("unused") |
| 2 | + |
| 3 | +package com.github.t9t.jooq.json |
| 4 | + |
| 5 | +import org.jooq.Condition |
| 6 | +import org.jooq.Field |
| 7 | +import org.jooq.JSONB |
| 8 | + |
| 9 | +/** |
| 10 | + * @see JsonbDSL.arrayElement |
| 11 | + */ |
| 12 | +fun Field<JSONB?>?.arrayElement(index: Int): Field<JSONB?>? = JsonbDSL.arrayElement(this, index) |
| 13 | +/** |
| 14 | + * @see JsonbDSL.arrayElementText |
| 15 | + */ |
| 16 | +fun Field<JSONB?>?.arrayElementText(index: Int): Field<String?>? = JsonbDSL.arrayElementText(this, index) |
| 17 | +/** |
| 18 | + * @see JsonbDSL.fieldByKey |
| 19 | + */ |
| 20 | +fun Field<JSONB?>?.fieldByKey(key: String?): Field<JSONB?>? = JsonbDSL.fieldByKey(this, key) |
| 21 | +/** |
| 22 | + * @see JsonbDSL.fieldByKeyText |
| 23 | + */ |
| 24 | +fun Field<JSONB?>?.fieldByKeyText(key: String?): Field<String?>? = JsonbDSL.fieldByKeyText(this, key) |
| 25 | +/** |
| 26 | + * @see JsonbDSL.objectAtPath |
| 27 | + */ |
| 28 | +fun Field<JSONB?>?.objectAtPath(vararg path: String?): Field<JSONB?>? = JsonbDSL.objectAtPath(this, *path) |
| 29 | +/** |
| 30 | + * @see JsonbDSL.objectAtPath |
| 31 | + */ |
| 32 | +fun Field<JSONB?>?.objectAtPath(path: Collection<String>): Field<JSONB?>? = JsonbDSL.objectAtPath(this, path) |
| 33 | +/** |
| 34 | + * @see JsonbDSL.objectAtPathText |
| 35 | + */ |
| 36 | +fun Field<JSONB?>?.objectAtPathText(vararg path: String?): Field<String?>? = JsonbDSL.objectAtPathText(this, *path) |
| 37 | +/** |
| 38 | + * @see JsonbDSL.objectAtPathText |
| 39 | + */ |
| 40 | +fun Field<JSONB?>?.objectAtPathText(path: Collection<String>): Field<String?>? = JsonbDSL.objectAtPathText(this, path) |
| 41 | +/** |
| 42 | + * @see JsonbDSL.contains |
| 43 | + */ |
| 44 | +fun Field<JSONB?>?.contains(other: Field<JSONB?>?): Condition? = JsonbDSL.contains(this, other) |
| 45 | +/** |
| 46 | + * @see JsonbDSL.containedIn |
| 47 | + */ |
| 48 | +fun Field<JSONB?>?.containedIn(other: Field<JSONB?>?): Condition? = JsonbDSL.containedIn(this, other) |
| 49 | +/** |
| 50 | + * @see JsonbDSL.hasKey |
| 51 | + */ |
| 52 | +fun Field<JSONB?>?.hasKey(key: String?): Condition? = JsonbDSL.hasKey(this, key) |
| 53 | +/** |
| 54 | + * @see JsonbDSL.hasAnyKey |
| 55 | + */ |
| 56 | +fun Field<JSONB?>?.hasAnyKey(vararg keys: String?): Condition? = JsonbDSL.hasAnyKey(this, *keys) |
| 57 | +/** |
| 58 | + * @see JsonbDSL.hasAnyKey |
| 59 | + */ |
| 60 | +fun Field<JSONB?>?.hasAnyKey(keys: Collection<String>): Condition? = JsonbDSL.hasAnyKey(this, keys) |
| 61 | +/** |
| 62 | + * @see JsonbDSL.hasAllKeys |
| 63 | + */ |
| 64 | +fun Field<JSONB?>?.hasAllKeys(vararg keys: String?): Condition? = JsonbDSL.hasAllKeys(this, *keys) |
| 65 | +/** |
| 66 | + * @see JsonbDSL.hasAllKeys |
| 67 | + */ |
| 68 | +fun Field<JSONB?>?.hasAllKeys(keys: Collection<String>): Condition? = JsonbDSL.hasAllKeys(this, keys) |
| 69 | +/** |
| 70 | + * @see JsonbDSL.concat |
| 71 | + */ |
| 72 | +fun Field<JSONB?>?.concat(field2: Field<JSONB?>?): Field<JSONB?>? = JsonbDSL.concat(this, field2) |
| 73 | +/** |
| 74 | + * @see JsonbDSL.delete |
| 75 | + */ |
| 76 | +fun Field<JSONB?>?.delete(keyOrElement: String?): Field<JSONB?>? = JsonbDSL.delete(this, keyOrElement) |
| 77 | +/** |
| 78 | + * @see JsonbDSL.delete |
| 79 | + */ |
| 80 | +fun Field<JSONB?>?.delete(vararg keysOrElements: String?): Field<JSONB?>? = JsonbDSL.delete(this, *keysOrElements) |
| 81 | +/** |
| 82 | + * @see JsonbDSL.deleteElement |
| 83 | + */ |
| 84 | +fun Field<JSONB?>?.deleteElement(index: Int): Field<JSONB?>? = JsonbDSL.deleteElement(this, index) |
| 85 | +/** |
| 86 | + * @see JsonbDSL.deletePath |
| 87 | + */ |
| 88 | +fun Field<JSONB?>?.deletePath(vararg path: String?): Field<JSONB?>? = JsonbDSL.deletePath(this, *path) |
| 89 | + |
| 90 | +/** |
| 91 | + * @see JsonbDSL.arrayLength |
| 92 | + */ |
| 93 | +fun arrayLength(jsonField: Field<JSONB?>?): Field<Int?>? = JsonbDSL.arrayLength(jsonField) |
| 94 | +/** |
| 95 | + * @see JsonbDSL.extractPath |
| 96 | + */ |
| 97 | +fun extractPath(jsonField: Field<JSONB?>?, vararg path: String?): Field<JSONB?>? = JsonbDSL.extractPath(jsonField, *path) |
| 98 | +/** |
| 99 | + * @see JsonbDSL.extractPath |
| 100 | + */ |
| 101 | +fun extractPath(jsonField: Field<JSONB?>?, path: Collection<String>): Field<JSONB?> ? = JsonbDSL.extractPath(jsonField, *path.toTypedArray()) |
| 102 | +/** |
| 103 | + * @see JsonbDSL.extractPathText |
| 104 | + */ |
| 105 | +fun extractPathText(jsonField: Field<JSONB?>?, vararg path: String?): Field<String?>? = JsonbDSL.extractPathText(jsonField, *path) |
| 106 | +/** |
| 107 | + * @see JsonbDSL.extractPathText |
| 108 | + */ |
| 109 | +fun extractPathText(jsonField: Field<JSONB?>?, path: Collection<String>): Field<String?>? = JsonbDSL.extractPathText(jsonField, *path.toTypedArray()) |
| 110 | +/** |
| 111 | + * @see JsonbDSL.typeOf |
| 112 | + */ |
| 113 | +fun typeOf(jsonField: Field<JSONB?>?): Field<String?>? = JsonbDSL.typeOf(jsonField) |
| 114 | +/** |
| 115 | + * @see JsonbDSL.stripNulls |
| 116 | + */ |
| 117 | +fun stripNulls(jsonField: Field<JSONB?>?): Field<JSONB?>? = JsonbDSL.stripNulls(jsonField) |
| 118 | +/** |
| 119 | + * @see JsonbDSL.pretty |
| 120 | + */ |
| 121 | +fun pretty(jsonField: Field<JSONB?>?): Field<String?>? = JsonbDSL.pretty(jsonField) |
0 commit comments