SchemaOperationType operationType = SchemaOperationType.getInstance(operation); switch (operationType)
SchemaOperationType operationType = SchemaOperationType.getInstance(operation); switch (operationType)
/** * Handle operations. * * @param tableInfos * the table infos */ private void handleOperations(List<TableInfo> tableInfos) { SchemaOperationType operationType = SchemaOperationType.getInstance(operation); switch (operationType) { case createdrop: create_drop(tableInfos); break; case create: create(tableInfos); break; case update: update(tableInfos); break; case validate: validate(tableInfos); break; } } }