es.accenture.flink.Utils.DeleteKuduTable Maven / Gradle / Ivy
package es.accenture.flink.Utils;
import org.apache.kudu.client.KuduClient;
public class DeleteKuduTable {
public static void main(String[] args) {
String tableName = "TableJar"; // TODO insert table name
String host = "localhost";
KuduClient client = new KuduClient.KuduClientBuilder(host).build();
try {
client.deleteTable(tableName);
System.out.println("Table \"" + tableName + "\" deleted succesfully");
} catch (Exception e) {
e.printStackTrace();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy