Skip to content

Commit 4d8e4f7

Browse files
committed
doc
1 parent 5e65f34 commit 4d8e4f7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

tools/src/main/java/com/datastax/astra/tool/CsvLoaderAnoop.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ public class CsvLoaderAnoop {
1717

1818
public static void main(String[] args) throws Exception {
1919
DataAPIClient client =
20-
new DataAPIClient("AstraCS:rhZhqUkdzcYSlRNUfZjiZApq:c36d4c0575d4e471a93618a1586bf7b6be970fc3a5442f711fd79a932f98fb09");
20+
new DataAPIClient("replace_me");
2121
Database db =
22-
client.getDatabase("https://07cae943-ea78-4d65-ac2a-a9e819e2d5d3-us-east1.apps.astra.datastax.com");
22+
client.getDatabase("replace_me");
2323
Collection<Document> collection =
24-
db.createCollection("best_buy2");
24+
db.createCollection("best_buy");
2525
collection.deleteAll();
2626
CsvLoader.load(
2727
"/Users/cedricklunven/Downloads/anoop.csv",

tools/src/main/java/com/datastax/astra/tool/CsvLoaderListing.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.datastax.astra.client.Collection;
44
import com.datastax.astra.client.DataAPIClient;
55
import com.datastax.astra.client.Database;
6-
import com.datastax.astra.client.model.DataAPIKeywords;
76
import com.datastax.astra.client.model.Document;
87
import com.datastax.astra.tool.csv.CsvLoader;
98
import com.datastax.astra.tool.csv.CsvRowMapper;

0 commit comments

Comments
 (0)