System.out.println("Loading completed");
}
private static void otherTypeOfDataSetLoad(String host, String port, String file) {
LoadingOption loadingOption = new LoadingOption();
loadingOption.setOnlySchema(commandLine.hasOption("o"));
if (commandLine.hasOption("r")) {
loadingOption.setReplicationFactor(Integer.parseInt(commandLine.getOptionValue("r")));
}
if (commandLine.hasOption("s")) {
loadingOption.setStrategy(StrategyModel.fromValue(commandLine.getOptionValue("s")));
}
DataLoader dataLoader = new DataLoader("clusterToLoad", host + ":" + port);
dataLoader.load(new FileDataSet(file), loadingOption);
}