private boolean isDdlDatas(List<EventData> eventDatas) {
        boolean result = false;
        for (EventData eventData : eventDatas) {
            result |= eventData.getEventType().isDdl();
            if (result && !eventData.getEventType().isDdl()) {
                throw new LoadException("ddl/dml can't be in one batch, it's may be a bug , pls submit issues.",
                    DbLoadDumper.dumpEventDatas(eventDatas));
            }
        }

        return result;
    }
private boolean isDdlDatas ( List < EventData > eventDatas ) { boolean result = false ; for ( EventData eventData : eventDatas ) { result |= eventData . getEventType ( ) . isDdl ( ) ; if ( result && ! eventData . getEventType ( ) . isDdl ( ) ) { throw new LoadException ( "ddl/dml can't be in one batch, it's may be a bug , pls submit issues." , DbLoadDumper . dumpEventDatas ( eventDatas ) ) ; } } return result ; }
分析整个数据，将datas划分为多个批次. ddl sql前的DML并发执行，然后串行执行ddl后，再并发执行DML

@return