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

Method execute

jOOQ/src/main/java/org/jooq/impl/LoaderImpl.java:664–680  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

662 // -------------------------------------------------------------------------
663
664 @Override
665 public final LoaderImpl<R> execute() throws IOException {
666 checkFlags();
667
668 if (content == CONTENT_CSV)
669 executeCSV();
670 else if (content == CONTENT_XML)
671 throw new UnsupportedOperationException();
672 else if (content == CONTENT_JSON)
673 executeJSON();
674 else if (content == CONTENT_ARRAYS)
675 executeRows();
676 else
677 throw new IllegalStateException();
678
679 return this;
680 }
681
682 private final void checkFlags() {
683 if (bulk != BULK_NONE && onDuplicate != ON_DUPLICATE_KEY_ERROR)

Callers

nothing calls this directly

Calls 4

checkFlagsMethod · 0.95
executeCSVMethod · 0.95
executeJSONMethod · 0.95
executeRowsMethod · 0.95

Tested by

no test coverage detected