From 4cddcf45bc2171abb2e949a17a65372eaad335c8 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Fri, 1 Oct 2021 14:06:25 +0200 Subject: [PATCH] [jOOQ/jOOQ#12425] Preserve whitespace when removing permits clause --- jOOQ/src/main/java/org/jooq/impl/QOM.java | 1004 ++++++++++++++++----- 1 file changed, 756 insertions(+), 248 deletions(-) diff --git a/jOOQ/src/main/java/org/jooq/impl/QOM.java b/jOOQ/src/main/java/org/jooq/impl/QOM.java index bab24dac03..353a95c668 100644 --- a/jOOQ/src/main/java/org/jooq/impl/QOM.java +++ b/jOOQ/src/main/java/org/jooq/impl/QOM.java @@ -264,7 +264,9 @@ public final class QOM { public interface MWith extends MQueryPart - { + + + { @NotNull MList> $commonTableExpressions(); boolean $recursive(); } @@ -302,7 +304,9 @@ public final class QOM { public interface MCreateType extends MDDLQuery - { + + + { @NotNull MName $name(); @NotNull MList> $values(); } @@ -310,7 +314,9 @@ public final class QOM { public interface MDropType extends MDDLQuery - { + + + { @NotNull MList $names(); boolean $ifExists(); @Nullable Cascade $cascade(); @@ -319,7 +325,9 @@ public final class QOM { public interface MCreateView extends MDDLQuery - { + + + { boolean $ifNotExists(); boolean $orReplace(); @NotNull MTable $view(); @@ -464,25 +472,47 @@ public final class QOM { extends MCondition, UOperator2 - {} + + + + {} public interface MCompareCondition extends MCondition, UOperator2, MField, MCondition> - {} + + + + + + + + + + + + + + + + {} public interface MTrue extends MCondition, UEmpty - {} + + + {} public interface MFalse extends MCondition, UEmpty - {} + + + {} public interface MBetween extends UOperator3, MField, MField, MCondition> { boolean $symmetric(); @@ -492,7 +522,9 @@ public final class QOM { extends MCondition, UOperator2, MList>, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } @NotNull default MList> $list() { return $arg2(); } } @@ -501,7 +533,9 @@ public final class QOM { extends MCondition, UOperator2, MList>, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } @NotNull default MList> $list() { return $arg2(); } } @@ -509,7 +543,9 @@ public final class QOM { public interface MRegexpLike extends MCondition - { + + + { @NotNull MField $search(); @NotNull MField $pattern(); } @@ -517,7 +553,9 @@ public final class QOM { public interface MExtract extends MField - { + + + { @NotNull MField $field(); @NotNull DatePart $datePart(); } @@ -526,7 +564,9 @@ public final class QOM { extends MCondition, UOperator1 - { + + + { @NotNull default MRow $field() { return $arg1(); } } @@ -534,7 +574,9 @@ public final class QOM { extends MCondition, UOperator1 - { + + + { @NotNull default MRow $field() { return $arg1(); } } @@ -542,13 +584,17 @@ public final class QOM { extends MCondition, UOperator2 - {} + + + {} public interface MSelectIsNull extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MSelect $field() { return $arg1(); } } @@ -556,7 +602,9 @@ public final class QOM { extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MSelect $field() { return $arg1(); } } @@ -574,7 +622,9 @@ public final class QOM { public interface MRowField extends MField - { + + + { @NotNull MRow $row(); } @@ -597,19 +647,25 @@ public final class QOM { extends MGroupField, UOperator1, MGroupField> - {} + + + {} public interface MCube extends MGroupField, UOperator1, MGroupField> - {} + + + {} public interface MGroupingSets extends MGroupField, UOperator1>, MGroupField> - {} + + + {} public interface MSortField extends MQueryPart { @NotNull MField $field(); @@ -628,7 +684,9 @@ public final class QOM { public interface MRatioToReport extends MAggregateFunction - { + + + { @NotNull MField $field(); } @@ -636,14 +694,18 @@ public final class QOM { extends MAggregateFunction, UOperator1, MAggregateFunction> - { + + + { @NotNull default MField $field() { return $arg1(); } } public interface MMultisetAgg extends MAggregateFunction> - { + + + { @NotNull MRow $row(); } @@ -651,7 +713,9 @@ public final class QOM { extends MAggregateFunction, UOperator1, MAggregateFunction> - { + + + { @NotNull default MField $field() { return $arg1(); } boolean $distinct(); } @@ -660,7 +724,9 @@ public final class QOM { extends MAggregateFunction, UOperator1, MAggregateFunction> - { + + + { @NotNull default MField $field() { return $arg1(); } } @@ -673,7 +739,9 @@ public final class QOM { extends MAggregateFunction, UOperator1, MAggregateFunction> - { + + + { @NotNull default MField $field() { return $arg1(); } @NotNull JSONOnNull $onNull(); @NotNull MDataType $returning(); @@ -683,7 +751,8 @@ public final class QOM { extends MAggregateFunction, UOperator1, MAggregateFunction> - { + + { @NotNull default MJSONEntry $entry() { return $arg1(); } @NotNull JSONOnNull $onNull(); @NotNull MDataType $returning(); @@ -692,7 +761,9 @@ public final class QOM { public interface MCountTable extends MAggregateFunction - { + + + { @NotNull MTable $table(); boolean $distinct(); } @@ -731,39 +802,52 @@ public final class QOM { public interface MRowNumber extends MWindowFunction - {} + + + {} public interface MRank extends MWindowFunction - {} + + + {} public interface MDenseRank extends MWindowFunction - {} + + + {} public interface MPercentRank extends MWindowFunction - {} + + + {} public interface MCumeDist extends MWindowFunction - {} + + + {} public interface MNtile extends MWindowFunction - { + + { @NotNull MField $tiles(); } public interface MLead extends MWindowFunction - { + + + { @NotNull MField $field(); @Nullable MField $offset(); @Nullable MField $defaultValue(); @@ -773,7 +857,9 @@ public final class QOM { public interface MLag extends MWindowFunction - { + + + { @NotNull MField $field(); @Nullable MField $offset(); @Nullable MField $defaultValue(); @@ -783,7 +869,9 @@ public final class QOM { public interface MFirstValue extends MWindowFunction - { + + + { @NotNull MField $field(); @Nullable NullTreatment $nullTreatment(); } @@ -791,7 +879,9 @@ public final class QOM { public interface MLastValue extends MWindowFunction - { + + + { @NotNull MField $field(); @Nullable NullTreatment $nullTreatment(); } @@ -799,7 +889,9 @@ public final class QOM { public interface MNthValue extends MWindowFunction - { + + + { @NotNull MField $field(); @Nullable FromFirstOrLast $fromFirstOrLast(); @Nullable NullTreatment $nullTreatment(); @@ -814,7 +906,9 @@ public final class QOM { public interface MFieldAlias extends MField - { + + + { @NotNull MField $field(); @NotNull MName $alias(); } @@ -833,14 +927,18 @@ public final class QOM { public interface MCast extends MField - { + + + { @NotNull MField $field(); } public interface MCoerce extends MField - { + + + { @NotNull MField $field(); } @@ -860,12 +958,16 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MCollated extends MField - { + + + { @NotNull MField $field(); @NotNull MCollation $collation(); } @@ -882,14 +984,18 @@ public final class QOM { public interface MArrayQuery extends MField - { + + + { @NotNull MSelect> $select(); } public interface MMultiset extends MField> - { + + + { @NotNull MSelect $select(); } @@ -897,43 +1003,57 @@ public final class QOM { extends MField, UOperator1>, MField> - {} + + + {} public interface MNeg extends MField, UOperator1, MField> - {} + + + {} public interface MGreatest extends MField, UOperator1>, MField> - {} + + + {} public interface MLeast extends MField, UOperator1>, MField> - {} + + + {} public interface MChoose extends MField, UOperator2, MList>, MField> - {} + + + {} public interface MFieldFunction extends MField, UOperator2, MList>, MField> - {} + + + {} public interface MNvl2 extends MField, UOperator3, MField, MField, MField> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $ifNotNull() { return $arg2(); } @NotNull default MField $ifIfNull() { return $arg3(); } @@ -943,7 +1063,9 @@ public final class QOM { extends MField, UOperator3, MField, MField> - { + + + { @NotNull default MCondition $condition() { return $arg1(); } @NotNull default MField $ifTrue() { return $arg2(); } @NotNull default MField $ifFalse() { return $arg3(); } @@ -953,19 +1075,25 @@ public final class QOM { extends MField, UOperator1>, MField> - {} + + + {} public interface MConcat extends MField, UOperator1>, MField> - {} + + + {} public interface MTimestampDiff extends MField, UOperator2, MField, MField> - { + + + { @NotNull default MField $minuend() { return $arg1(); } @NotNull default MField $subtrahend() { return $arg2(); } } @@ -973,7 +1101,9 @@ public final class QOM { public interface MConvert extends MField - { + + + { @NotNull MField $field(); int $style(); } @@ -982,24 +1112,32 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MCurrentTime extends MField, UEmpty - {} + + + {} public interface MCurrentTimestamp extends MField, UEmpty - {} + + + {} public interface MXMLQuery extends MField - { + + + { @NotNull Field $xpath(); @NotNull Field $passing(); @Nullable XmlPassingMechanism $passingMechanism(); @@ -1012,7 +1150,9 @@ public final class QOM { public interface MXMLElement extends MField - { + + + { @NotNull MName $elementName(); @NotNull MXMLAttributes $attributes(); @NotNull MList> $content(); @@ -1021,7 +1161,9 @@ public final class QOM { public interface MXMLExists extends MCondition - { + + + { @NotNull Field $xpath(); @NotNull Field $passing(); @Nullable XmlPassingMechanism $passingMechanism(); @@ -1030,7 +1172,9 @@ public final class QOM { public interface MXMLParse extends MField - { + + + { @NotNull Field $content(); @NotNull DocumentOrContent $documentOrContent(); } @@ -1040,7 +1184,9 @@ public final class QOM { public interface MAlterDatabase extends MDDLQuery - { + + + { @NotNull MCatalog $database(); boolean $ifExists(); @NotNull MCatalog $renameTo(); @@ -1052,7 +1198,9 @@ public final class QOM { public interface MAlterDomain extends MDDLQuery - { + + + { @NotNull MDomain $domain(); boolean $ifExists(); @Nullable MConstraint $addConstraint(); @@ -1086,7 +1234,9 @@ public final class QOM { public interface MAlterIndex extends MDDLQuery - { + + + { @NotNull MIndex $index(); boolean $ifExists(); @Nullable MTable $on(); @@ -1100,7 +1250,9 @@ public final class QOM { public interface MAlterSchema extends MDDLQuery - { + + + { @NotNull MSchema $schema(); boolean $ifExists(); @NotNull MSchema $renameTo(); @@ -1112,7 +1264,9 @@ public final class QOM { public interface MAlterSequence extends MDDLQuery - { + + + { @NotNull MSequence $sequence(); boolean $ifExists(); @Nullable MSequence $renameTo(); @@ -1146,7 +1300,9 @@ public final class QOM { public interface MAlterType extends MDDLQuery - { + + + { @NotNull MName $type(); @Nullable MName $renameTo(); @Nullable MSchema $setSchema(); @@ -1164,7 +1320,9 @@ public final class QOM { public interface MAlterView extends MDDLQuery - { + + + { @NotNull MTable $view(); boolean $ifExists(); @Nullable MComment $comment(); @@ -1178,7 +1336,9 @@ public final class QOM { public interface MCommentOn extends MDDLQuery - { + + + { @Nullable MTable $table(); boolean $isView(); @Nullable MField $field(); @@ -1192,7 +1352,9 @@ public final class QOM { public interface MCreateDatabase extends MDDLQuery - { + + + { @NotNull MCatalog $database(); boolean $ifNotExists(); @NotNull MCreateDatabase $database(MCatalog database); @@ -1202,7 +1364,9 @@ public final class QOM { public interface MCreateDomain extends MDDLQuery - { + + + { @NotNull MDomain $domain(); boolean $ifNotExists(); @NotNull MDataType $dataType(); @@ -1247,7 +1411,9 @@ public final class QOM { public interface MCreateIndex extends MDDLQuery - { + + + { boolean $unique(); @Nullable MIndex $index(); boolean $ifNotExists(); @@ -1331,7 +1497,9 @@ public final class QOM { public interface MCreateSchema extends MDDLQuery - { + + + { @NotNull MSchema $schema(); boolean $ifNotExists(); @NotNull MCreateSchema $schema(MSchema schema); @@ -1341,7 +1509,9 @@ public final class QOM { public interface MCreateSequence extends MDDLQuery - { + + + { @NotNull MSequence $sequence(); boolean $ifNotExists(); @Nullable MField $startWith(); @@ -1369,7 +1539,9 @@ public final class QOM { public interface MDropDatabase extends MDDLQuery - { + + + { @NotNull MCatalog $database(); boolean $ifExists(); @NotNull MDropDatabase $database(MCatalog database); @@ -1379,7 +1551,9 @@ public final class QOM { public interface MDropDomain extends MDDLQuery - { + + + { @NotNull MDomain $domain(); boolean $ifExists(); @Nullable Cascade $cascade(); @@ -1406,7 +1580,9 @@ public final class QOM { public interface MDropIndex extends MDDLQuery - { + + + { @NotNull MIndex $index(); boolean $ifExists(); @Nullable MTable $on(); @@ -1435,7 +1611,9 @@ public final class QOM { public interface MDropSchema extends MDDLQuery - { + + + { @NotNull MSchema $schema(); boolean $ifExists(); @Nullable Cascade $cascade(); @@ -1447,7 +1625,9 @@ public final class QOM { public interface MDropSequence extends MDDLQuery - { + + + { @NotNull MSequence $sequence(); boolean $ifExists(); @NotNull MDropSequence $sequence(MSequence sequence); @@ -1457,7 +1637,9 @@ public final class QOM { public interface MDropTable extends MDDLQuery - { + + + { boolean $temporary(); @NotNull MTable $table(); boolean $ifExists(); @@ -1486,7 +1668,9 @@ public final class QOM { public interface MDropView extends MDDLQuery - { + + + { @NotNull MTable $view(); boolean $ifExists(); @NotNull MDropView $view(MTable view); @@ -1496,7 +1680,9 @@ public final class QOM { public interface MGrant extends MDDLQuery - { + + + { @NotNull MList $privileges(); @NotNull MTable $on(); @Nullable MRole $to(); @@ -1512,7 +1698,9 @@ public final class QOM { public interface MRevoke extends MDDLQuery - { + + + { @NotNull MList $privileges(); boolean $grantOptionFor(); @NotNull MTable $on(); @@ -1528,7 +1716,9 @@ public final class QOM { public interface MSetCommand extends MRowCountQuery - { + + + { @NotNull MName $name(); @NotNull MParam $value(); boolean $local(); @@ -1540,7 +1730,9 @@ public final class QOM { public interface MSetCatalog extends MRowCountQuery - { + + + { @NotNull MCatalog $catalog(); @NotNull MSetCatalog $catalog(MCatalog catalog); } @@ -1548,7 +1740,9 @@ public final class QOM { public interface MSetSchema extends MRowCountQuery - { + + + { @NotNull MSchema $schema(); @NotNull MSetSchema $schema(MSchema schema); } @@ -1556,7 +1750,9 @@ public final class QOM { public interface MTruncate extends MDDLQuery - { + + + { @NotNull MTable $table(); @Nullable IdentityRestartOption $restartIdentity(); @Nullable Cascade $cascade(); @@ -1583,23 +1779,31 @@ public final class QOM { public interface MAnd extends MCombinedCondition - {} + + + {} public interface MTableEq extends MCondition, UOperator2, MTable, MCondition> - {} + + + {} public interface MEq extends MCompareCondition - {} + + + {} public interface MExists extends MCondition - { + + + { @NotNull MSelect $query(); @NotNull MExists $query(MSelect query); } @@ -1607,55 +1811,73 @@ public final class QOM { public interface MGe extends MCompareCondition - {} + + + {} public interface MGt extends MCompareCondition - {} + + + {} public interface MIn extends MCondition, UOperator2, MSelect>, MCondition> - {} + + + {} public interface MIsDistinctFrom extends MCompareCondition - {} + + + {} public interface MIsNull extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } } public interface MIsNotDistinctFrom extends MCompareCondition - {} + + + {} public interface MIsNotNull extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } } public interface MLe extends MCompareCondition - {} + + + {} public interface MLike extends MCondition, UOperator3, MField, Character, MCondition> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $pattern() { return $arg2(); } @Nullable default Character $escape() { return $arg3(); } @@ -1665,7 +1887,9 @@ public final class QOM { extends MCondition, UOperator3, MField, Character, MCondition> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $pattern() { return $arg2(); } @Nullable default Character $escape() { return $arg3(); } @@ -1674,24 +1898,32 @@ public final class QOM { public interface MLt extends MCompareCondition - {} + + + {} public interface MTableNe extends MCondition, UOperator2, MTable, MCondition> - {} + + + {} public interface MNe extends MCompareCondition - {} + + + {} public interface MNot extends MCondition, UOperator1 - { + + + { @NotNull default MCondition $condition() { return $arg1(); } } @@ -1699,7 +1931,9 @@ public final class QOM { extends MField, UOperator1, MField> - { + + + { @NotNull default MField $field() { return $arg1(); } } @@ -1707,13 +1941,17 @@ public final class QOM { extends MCondition, UOperator2, MSelect>, MCondition> - {} + + + {} public interface MNotLike extends MCondition, UOperator3, MField, Character, MCondition> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $pattern() { return $arg2(); } @Nullable default Character $escape() { return $arg3(); } @@ -1723,7 +1961,9 @@ public final class QOM { extends MCondition, UOperator3, MField, Character, MCondition> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $pattern() { return $arg2(); } @Nullable default Character $escape() { return $arg3(); } @@ -1733,7 +1973,9 @@ public final class QOM { extends MCondition, UOperator3, MField, Character, MCondition> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $pattern() { return $arg2(); } @Nullable default Character $escape() { return $arg3(); } @@ -1742,13 +1984,17 @@ public final class QOM { public interface MOr extends MCombinedCondition - {} + + + {} public interface MSimilarTo extends MCondition, UOperator3, MField, Character, MCondition> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $pattern() { return $arg2(); } @Nullable default Character $escape() { return $arg3(); } @@ -1757,7 +2003,9 @@ public final class QOM { public interface MUnique extends MCondition - { + + + { @NotNull MSelect $query(); @NotNull MUnique $query(MSelect query); } @@ -1766,7 +2014,9 @@ public final class QOM { extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } } @@ -1774,7 +2024,9 @@ public final class QOM { extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } } @@ -1782,7 +2034,9 @@ public final class QOM { extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } } @@ -1790,7 +2044,9 @@ public final class QOM { extends MCondition, UOperator1, MCondition> - { + + + { @NotNull default MField $field() { return $arg1(); } } @@ -1798,14 +2054,18 @@ public final class QOM { extends MField, UOperator1, MField> - { + + + { @NotNull default MTable $table() { return $arg1(); } } public interface MAbs extends MField - { + + + { @NotNull MField $number(); @NotNull MAbs $number(MField number); } @@ -1813,7 +2073,9 @@ public final class QOM { public interface MAcos extends MField - { + + + { @NotNull MField $number(); @NotNull MAcos $number(MField number); } @@ -1821,7 +2083,9 @@ public final class QOM { public interface MAsin extends MField - { + + + { @NotNull MField $number(); @NotNull MAsin $number(MField number); } @@ -1829,7 +2093,9 @@ public final class QOM { public interface MAtan extends MField - { + + + { @NotNull MField $number(); @NotNull MAtan $number(MField number); } @@ -1837,7 +2103,9 @@ public final class QOM { public interface MAtan2 extends MField - { + + + { @NotNull MField $x(); @NotNull MField $y(); @NotNull MAtan2 $x(MField x); @@ -1848,12 +2116,16 @@ public final class QOM { extends MField, UOperator2, MField, MField> - {} + + + {} public interface MBitCount extends MField - { + + + { @NotNull MField $number(); @NotNull MBitCount $number(MField number); } @@ -1862,42 +2134,56 @@ public final class QOM { extends MField, UOperator2, MField, MField> - {} + + + {} public interface MBitNor extends MField, UOperator2, MField, MField> - {} + + + {} public interface MBitNot extends MField, UOperator1, MField> - {} + + + {} public interface MBitOr extends MField, UOperator2, MField, MField> - {} + + + {} public interface MBitXNor extends MField, UOperator2, MField, MField> - {} + + + {} public interface MBitXor extends MField, UOperator2, MField, MField> - {} + + + {} public interface MCeil extends MField - { + + + { @NotNull MField $value(); @NotNull MCeil $value(MField value); } @@ -1905,7 +2191,9 @@ public final class QOM { public interface MCos extends MField - { + + + { @NotNull MField $number(); @NotNull MCos $number(MField number); } @@ -1913,7 +2201,9 @@ public final class QOM { public interface MCosh extends MField - { + + + { @NotNull MField $number(); @NotNull MCosh $number(MField number); } @@ -1921,7 +2211,9 @@ public final class QOM { public interface MCot extends MField - { + + + { @NotNull MField $number(); @NotNull MCot $number(MField number); } @@ -1929,7 +2221,9 @@ public final class QOM { public interface MCoth extends MField - { + + + { @NotNull MField $number(); @NotNull MCoth $number(MField number); } @@ -1937,7 +2231,9 @@ public final class QOM { public interface MDegrees extends MField - { + + + { @NotNull MField $radians(); @NotNull MDegrees $radians(MField radians); } @@ -1946,12 +2242,16 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MExp extends MField - { + + + { @NotNull MField $value(); @NotNull MExp $value(MField value); } @@ -1959,7 +2259,9 @@ public final class QOM { public interface MFloor extends MField - { + + + { @NotNull MField $value(); @NotNull MFloor $value(MField value); } @@ -1967,7 +2269,9 @@ public final class QOM { public interface MLog extends MField - { + + + { @NotNull MField $value(); @Nullable MField $base(); @NotNull MLog $value(MField value); @@ -1977,7 +2281,9 @@ public final class QOM { public interface MLog10 extends MField - { + + + { @NotNull MField $value(); @NotNull MLog10 $value(MField value); } @@ -1986,7 +2292,9 @@ public final class QOM { extends MField, UOperator2, MField, MField> - { + + + { @NotNull default MField $dividend() { return $arg1(); } @NotNull default MField $divisor() { return $arg2(); } } @@ -1995,13 +2303,17 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MPower extends MField, UOperator2, MField, MField> - { + + + { @NotNull default MField $base() { return $arg1(); } @NotNull default MField $exponent() { return $arg2(); } } @@ -2009,7 +2321,9 @@ public final class QOM { public interface MRadians extends MField - { + + + { @NotNull MField $degrees(); @NotNull MRadians $degrees(MField degrees); } @@ -2018,12 +2332,16 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MRound extends MField - { + + + { @NotNull MField $value(); @Nullable MField $decimals(); @NotNull MRound $value(MField value); @@ -2034,7 +2352,9 @@ public final class QOM { extends MField, UOperator2, MField, MField> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $count() { return $arg2(); } } @@ -2043,7 +2363,9 @@ public final class QOM { extends MField, UOperator2, MField, MField> - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $count() { return $arg2(); } } @@ -2051,7 +2373,9 @@ public final class QOM { public interface MSign extends MField - { + + + { @NotNull MField $number(); @NotNull MSign $number(MField number); } @@ -2059,7 +2383,9 @@ public final class QOM { public interface MSin extends MField - { + + + { @NotNull MField $number(); @NotNull MSin $number(MField number); } @@ -2067,7 +2393,9 @@ public final class QOM { public interface MSinh extends MField - { + + + { @NotNull MField $number(); @NotNull MSinh $number(MField number); } @@ -2075,7 +2403,9 @@ public final class QOM { public interface MSqrt extends MField - { + + + { @NotNull MField $value(); @NotNull MSqrt $value(MField value); } @@ -2083,7 +2413,9 @@ public final class QOM { public interface MSquare extends MField - { + + + { @NotNull MField $value(); @NotNull MSquare $value(MField value); } @@ -2091,7 +2423,9 @@ public final class QOM { public interface MTan extends MField - { + + + { @NotNull MField $number(); @NotNull MTan $number(MField number); } @@ -2099,7 +2433,9 @@ public final class QOM { public interface MTanh extends MField - { + + + { @NotNull MField $number(); @NotNull MTanh $number(MField number); } @@ -2108,12 +2444,16 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MTrunc extends MField - { + + + { @NotNull MField $value(); @NotNull MField $decimals(); @NotNull MTrunc $value(MField value); @@ -2123,7 +2463,9 @@ public final class QOM { public interface MWidthBucket extends MField - { + + + { @NotNull MField $field(); @NotNull MField $low(); @NotNull MField $high(); @@ -2137,7 +2479,9 @@ public final class QOM { public interface MAscii extends MField - { + + + { @NotNull MField $string(); @NotNull MAscii $string(MField string); } @@ -2145,7 +2489,9 @@ public final class QOM { public interface MBitLength extends MField - { + + + { @NotNull MField $string(); @NotNull MBitLength $string(MField string); } @@ -2153,7 +2499,9 @@ public final class QOM { public interface MCharLength extends MField - { + + + { @NotNull MField $string(); @NotNull MCharLength $string(MField string); } @@ -2161,7 +2509,9 @@ public final class QOM { public interface MChr extends MField - { + + + { @NotNull MField $number(); @NotNull MChr $number(MField number); } @@ -2169,7 +2519,9 @@ public final class QOM { public interface MContains extends MCompareCondition - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $content() { return $arg2(); } } @@ -2177,7 +2529,9 @@ public final class QOM { public interface MContainsIgnoreCase extends MCompareCondition - { + + + { @NotNull default MField $value() { return $arg1(); } @NotNull default MField $content() { return $arg2(); } } @@ -2185,7 +2539,9 @@ public final class QOM { public interface MDigits extends MField - { + + + { @NotNull MField $value(); @NotNull MDigits $value(MField value); } @@ -2193,7 +2549,9 @@ public final class QOM { public interface MEndsWith extends MCompareCondition - { + + + { @NotNull default MField $string() { return $arg1(); } @NotNull default MField $suffix() { return $arg2(); } } @@ -2201,7 +2559,9 @@ public final class QOM { public interface MEndsWithIgnoreCase extends MCompareCondition - { + + + { @NotNull default MField $string() { return $arg1(); } @NotNull default MField $suffix() { return $arg2(); } } @@ -2209,7 +2569,9 @@ public final class QOM { public interface MLeft extends MField - { + + + { @NotNull MField $string(); @NotNull MField $length(); @NotNull MLeft $string(MField string); @@ -2219,7 +2581,9 @@ public final class QOM { public interface MLower extends MField - { + + + { @NotNull MField $string(); @NotNull MLower $string(MField string); } @@ -2227,7 +2591,9 @@ public final class QOM { public interface MLpad extends MField - { + + + { @NotNull MField $string(); @NotNull MField $length(); @Nullable MField $character(); @@ -2239,7 +2605,9 @@ public final class QOM { public interface MLtrim extends MField - { + + + { @NotNull MField $string(); @Nullable MField $characters(); @NotNull MLtrim $string(MField string); @@ -2249,7 +2617,9 @@ public final class QOM { public interface MMd5 extends MField - { + + + { @NotNull MField $string(); @NotNull MMd5 $string(MField string); } @@ -2257,7 +2627,9 @@ public final class QOM { public interface MOctetLength extends MField - { + + + { @NotNull MField $string(); @NotNull MOctetLength $string(MField string); } @@ -2265,7 +2637,9 @@ public final class QOM { public interface MOverlay extends MField - { + + + { @NotNull MField $in(); @NotNull MField $placing(); @NotNull MField $startIndex(); @@ -2279,7 +2653,9 @@ public final class QOM { public interface MPosition extends MField - { + + + { @NotNull MField $in(); @NotNull MField $search(); @Nullable MField $startIndex(); @@ -2291,7 +2667,9 @@ public final class QOM { public interface MRepeat extends MField - { + + + { @NotNull MField $string(); @NotNull MField $count(); @NotNull MRepeat $string(MField string); @@ -2301,7 +2679,9 @@ public final class QOM { public interface MReplace extends MField - { + + + { @NotNull MField $string(); @NotNull MField $search(); @Nullable MField $replace(); @@ -2313,7 +2693,9 @@ public final class QOM { public interface MReverse extends MField - { + + + { @NotNull MField $string(); @NotNull MReverse $string(MField string); } @@ -2321,7 +2703,9 @@ public final class QOM { public interface MRight extends MField - { + + + { @NotNull MField $string(); @NotNull MField $length(); @NotNull MRight $string(MField string); @@ -2331,7 +2715,9 @@ public final class QOM { public interface MRpad extends MField - { + + + { @NotNull MField $string(); @NotNull MField $length(); @Nullable MField $character(); @@ -2343,7 +2729,9 @@ public final class QOM { public interface MRtrim extends MField - { + + + { @NotNull MField $string(); @Nullable MField $characters(); @NotNull MRtrim $string(MField string); @@ -2353,7 +2741,9 @@ public final class QOM { public interface MSpace extends MField - { + + + { @NotNull MField $count(); @NotNull MSpace $count(MField count); } @@ -2361,7 +2751,9 @@ public final class QOM { public interface MSplitPart extends MField - { + + + { @NotNull MField $string(); @NotNull MField $delimiter(); @NotNull MField $n(); @@ -2373,7 +2765,9 @@ public final class QOM { public interface MStartsWith extends MCompareCondition - { + + + { @NotNull default MField $string() { return $arg1(); } @NotNull default MField $prefix() { return $arg2(); } } @@ -2381,7 +2775,9 @@ public final class QOM { public interface MStartsWithIgnoreCase extends MCompareCondition - { + + + { @NotNull default MField $string() { return $arg1(); } @NotNull default MField $prefix() { return $arg2(); } } @@ -2389,7 +2785,9 @@ public final class QOM { public interface MSubstring extends MField - { + + + { @NotNull MField $string(); @NotNull MField $startingPosition(); @Nullable MField $length(); @@ -2401,7 +2799,9 @@ public final class QOM { public interface MSubstringIndex extends MField - { + + + { @NotNull MField $string(); @NotNull MField $delimiter(); @NotNull MField $n(); @@ -2413,7 +2813,9 @@ public final class QOM { public interface MToChar extends MField - { + + + { @NotNull MField $value(); @Nullable MField $formatMask(); @NotNull MToChar $value(MField value); @@ -2423,7 +2825,9 @@ public final class QOM { public interface MToDate extends MField - { + + + { @NotNull MField $value(); @NotNull MField $formatMask(); @NotNull MToDate $value(MField value); @@ -2433,7 +2837,9 @@ public final class QOM { public interface MToHex extends MField - { + + + { @NotNull MField $value(); @NotNull MToHex $value(MField value); } @@ -2441,7 +2847,9 @@ public final class QOM { public interface MToTimestamp extends MField - { + + + { @NotNull MField $value(); @NotNull MField $formatMask(); @NotNull MToTimestamp $value(MField value); @@ -2451,7 +2859,9 @@ public final class QOM { public interface MTranslate extends MField - { + + + { @NotNull MField $string(); @NotNull MField $from(); @NotNull MField $to(); @@ -2463,7 +2873,9 @@ public final class QOM { public interface MTrim extends MField - { + + + { @NotNull MField $string(); @Nullable MField $characters(); @NotNull MTrim $string(MField string); @@ -2473,7 +2885,9 @@ public final class QOM { public interface MUpper extends MField - { + + + { @NotNull MField $string(); @NotNull MUpper $string(MField string); } @@ -2482,12 +2896,16 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MDateAdd extends MField - { + + + { @NotNull MField $date(); @NotNull MField $interval(); @Nullable DatePart $datePart(); @@ -2499,7 +2917,9 @@ public final class QOM { public interface MCardinality extends MField - { + + + { @NotNull MField $array(); @NotNull MCardinality $array(MField array); } @@ -2507,7 +2927,9 @@ public final class QOM { public interface MArrayGet extends MField - { + + + { @NotNull MField $array(); @NotNull MField $index(); @NotNull MArrayGet $array(MField array); @@ -2517,7 +2939,9 @@ public final class QOM { public interface MNvl extends MField - { + + + { @NotNull MField $value(); @NotNull MField $defaultValue(); @NotNull MNvl $value(MField value); @@ -2527,7 +2951,9 @@ public final class QOM { public interface MNullif extends MField - { + + + { @NotNull MField $value(); @NotNull MField $other(); @NotNull MNullif $value(MField value); @@ -2538,19 +2964,25 @@ public final class QOM { extends MField, UEmpty - {} + + + {} public interface MCurrentSchema extends MField, UEmpty - {} + + + {} public interface MCurrentUser extends MField, UEmpty - {} + + + {} @@ -2639,7 +3071,9 @@ public final class QOM { public interface MXmlcomment extends MField - { + + + { @NotNull MField $comment(); @NotNull MXmlcomment $comment(MField comment); } @@ -2647,7 +3081,9 @@ public final class QOM { public interface MXmlconcat extends MField - { + + + { @NotNull MList> $args(); @NotNull MXmlconcat $args(MList> args); } @@ -2668,7 +3104,9 @@ public final class QOM { public interface MXmlforest extends MField - { + + + { @NotNull MList> $fields(); @NotNull MXmlforest $fields(MList> fields); } @@ -2676,7 +3114,9 @@ public final class QOM { public interface MXmlpi extends MField - { + + + { @NotNull MName $target(); @Nullable MField $content(); @NotNull MXmlpi $target(MName target); @@ -2686,7 +3126,9 @@ public final class QOM { public interface MXmlserialize extends MField - { + + + { boolean $content(); @NotNull MField $value(); @NotNull MDataType $type(); @@ -2698,7 +3140,9 @@ public final class QOM { public interface MJSONArray extends MField - { + + + { @NotNull MDataType $type(); @NotNull MList> $fields(); @Nullable JSONOnNull $onNull(); @@ -2712,7 +3156,9 @@ public final class QOM { public interface MJSONObject extends MField - { + + + { @NotNull MDataType $type(); @NotNull MList> $entries(); @Nullable JSONOnNull $onNull(); @@ -2755,7 +3201,9 @@ public final class QOM { public interface MConditionAsField extends MField - { + + + { @NotNull MCondition $condition(); @NotNull MConditionAsField $condition(MCondition condition); } @@ -2763,7 +3211,9 @@ public final class QOM { public interface MFieldCondition extends MCondition - { + + + { @NotNull MField $field(); @NotNull MFieldCondition $field(MField field); } @@ -2771,7 +3221,9 @@ public final class QOM { public interface MAnyValue extends MAggregateFunction - { + + + { @NotNull MField $field(); @NotNull MAnyValue $field(MField field); } @@ -2779,7 +3231,9 @@ public final class QOM { public interface MAvg extends MAggregateFunction - { + + + { @NotNull MField $field(); boolean $distinct(); @NotNull MAvg $field(MField field); @@ -2789,7 +3243,9 @@ public final class QOM { public interface MBitAndAgg extends MAggregateFunction - { + + + { @NotNull MField $value(); @NotNull MBitAndAgg $value(MField value); } @@ -2797,7 +3253,9 @@ public final class QOM { public interface MBitOrAgg extends MAggregateFunction - { + + + { @NotNull MField $value(); @NotNull MBitOrAgg $value(MField value); } @@ -2805,7 +3263,9 @@ public final class QOM { public interface MBitXorAgg extends MAggregateFunction - { + + + { @NotNull MField $value(); @NotNull MBitXorAgg $value(MField value); } @@ -2813,7 +3273,9 @@ public final class QOM { public interface MBoolAnd extends MAggregateFunction - { + + + { @NotNull MCondition $condition(); @NotNull MBoolAnd $condition(MCondition condition); } @@ -2821,7 +3283,9 @@ public final class QOM { public interface MBoolOr extends MAggregateFunction - { + + + { @NotNull MCondition $condition(); @NotNull MBoolOr $condition(MCondition condition); } @@ -2829,7 +3293,9 @@ public final class QOM { public interface MCorr extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MCorr $y(MField y); @@ -2839,7 +3305,9 @@ public final class QOM { public interface MCount extends MAggregateFunction - { + + + { @NotNull MField $field(); boolean $distinct(); @NotNull MCount $field(MField field); @@ -2849,7 +3317,9 @@ public final class QOM { public interface MCovarSamp extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MCovarSamp $y(MField y); @@ -2859,7 +3329,9 @@ public final class QOM { public interface MCovarPop extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MCovarPop $y(MField y); @@ -2869,7 +3341,9 @@ public final class QOM { public interface MMax extends MAggregateFunction - { + + + { @NotNull MField $field(); boolean $distinct(); @NotNull MMax $field(MField field); @@ -2879,7 +3353,9 @@ public final class QOM { public interface MMedian extends MAggregateFunction - { + + + { @NotNull MField $field(); @NotNull MMedian $field(MField field); } @@ -2887,7 +3363,9 @@ public final class QOM { public interface MMin extends MAggregateFunction - { + + + { @NotNull MField $field(); boolean $distinct(); @NotNull MMin $field(MField field); @@ -2897,7 +3375,9 @@ public final class QOM { public interface MProduct extends MAggregateFunction - { + + + { @NotNull MField $field(); boolean $distinct(); @NotNull MProduct $field(MField field); @@ -2907,7 +3387,9 @@ public final class QOM { public interface MRegrAvgx extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrAvgx $y(MField y); @@ -2917,7 +3399,9 @@ public final class QOM { public interface MRegrAvgy extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrAvgy $y(MField y); @@ -2927,7 +3411,9 @@ public final class QOM { public interface MRegrCount extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrCount $y(MField y); @@ -2937,7 +3423,9 @@ public final class QOM { public interface MRegrIntercept extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrIntercept $y(MField y); @@ -2947,7 +3435,9 @@ public final class QOM { public interface MRegrR2 extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrR2 $y(MField y); @@ -2957,7 +3447,9 @@ public final class QOM { public interface MRegrSlope extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrSlope $y(MField y); @@ -2967,7 +3459,9 @@ public final class QOM { public interface MRegrSxx extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrSxx $y(MField y); @@ -2977,7 +3471,9 @@ public final class QOM { public interface MRegrSxy extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrSxy $y(MField y); @@ -2987,7 +3483,9 @@ public final class QOM { public interface MRegrSyy extends MAggregateFunction - { + + + { @NotNull MField $y(); @NotNull MField $x(); @NotNull MRegrSyy $y(MField y); @@ -2997,7 +3495,9 @@ public final class QOM { public interface MStddevPop extends MAggregateFunction - { + + + { @NotNull MField $field(); @NotNull MStddevPop $field(MField field); } @@ -3005,7 +3505,9 @@ public final class QOM { public interface MStddevSamp extends MAggregateFunction - { + + + { @NotNull MField $field(); @NotNull MStddevSamp $field(MField field); } @@ -3013,7 +3515,9 @@ public final class QOM { public interface MSum extends MAggregateFunction - { + + + { @NotNull MField $field(); boolean $distinct(); @NotNull MSum $field(MField field); @@ -3023,7 +3527,9 @@ public final class QOM { public interface MVarPop extends MAggregateFunction - { + + + { @NotNull MField $field(); @NotNull MVarPop $field(MField field); } @@ -3031,7 +3537,9 @@ public final class QOM { public interface MVarSamp extends MAggregateFunction - { + + + { @NotNull MField $field(); @NotNull MVarSamp $field(MField field); }