()
| 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) |
nothing calls this directly
no test coverage detected