MCPcopy Create free account
hub / github.com/jOOQ/jOOQ / row0

Method row0

jOOQ/src/main/java/org/jooq/impl/Tools.java:1482–1514  ·  view source on GitHub ↗
(FieldsImpl<R> fields)

Source from the content-addressed store, hash-verified

1480 }
1481
1482 @SuppressWarnings({ "unchecked", "rawtypes" })
1483 static final <R extends Record> AbstractRow<R> row0(FieldsImpl<R> fields) {
1484 switch (fields.size()) {
1485
1486
1487 case 1: return new RowImpl1(fields);
1488 case 2: return new RowImpl2(fields);
1489 case 3: return new RowImpl3(fields);
1490 case 4: return new RowImpl4(fields);
1491 case 5: return new RowImpl5(fields);
1492 case 6: return new RowImpl6(fields);
1493 case 7: return new RowImpl7(fields);
1494 case 8: return new RowImpl8(fields);
1495 case 9: return new RowImpl9(fields);
1496 case 10: return new RowImpl10(fields);
1497 case 11: return new RowImpl11(fields);
1498 case 12: return new RowImpl12(fields);
1499 case 13: return new RowImpl13(fields);
1500 case 14: return new RowImpl14(fields);
1501 case 15: return new RowImpl15(fields);
1502 case 16: return new RowImpl16(fields);
1503 case 17: return new RowImpl17(fields);
1504 case 18: return new RowImpl18(fields);
1505 case 19: return new RowImpl19(fields);
1506 case 20: return new RowImpl20(fields);
1507 case 21: return new RowImpl21(fields);
1508 case 22: return new RowImpl22(fields);
1509
1510
1511
1512 default: return (AbstractRow<R>) new RowImplN(fields);
1513 }
1514 }
1515
1516 static final AbstractRow<?> row0(Collection<? extends Field<?>> fields) {
1517 return row0(fields.toArray(EMPTY_FIELD));

Callers 15

mapperMethod · 0.95
selectReturningMethod · 0.95
fetchFromStringDataMethod · 0.95
newRecordMethod · 0.95
DefaultRecordUnmapperMethod · 0.95
keyMethod · 0.95
EmbeddableTableFieldMethod · 0.95
MutablePOJOMapperMethod · 0.95
ResultImplMethod · 0.95
pgNewRecordMethod · 0.95
onNextMethod · 0.95
fieldsRowMethod · 0.95

Calls 2

sizeMethod · 0.65
toArrayMethod · 0.45

Tested by

no test coverage detected