tools cassandra-all bumped to v5
This commit is contained in:
parent
7e49730be6
commit
8b00da12c4
7
pom.xml
7
pom.xml
@ -57,7 +57,7 @@
|
||||
<rat.version>0.10</rat.version> <!-- unused -->
|
||||
<cassandra.version>4.17.0</cassandra.version>
|
||||
<metrics.version>4.2.25</metrics.version>
|
||||
<cassandra-all.version>3.11.17</cassandra-all.version> <!-- tools -->
|
||||
<cassandra-all.version>5.0.4</cassandra-all.version> <!-- tools -->
|
||||
<guava.version>33.1.0-jre</guava.version>
|
||||
<caffeine.version>3.1.8</caffeine.version>
|
||||
<commons-lang3.version>3.14.0</commons-lang3.version>
|
||||
@ -1827,11 +1827,6 @@
|
||||
<artifactId>cassandra-all</artifactId>
|
||||
<version>${cassandra-all.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.cassandra</groupId>
|
||||
<artifactId>cassandra-thrift</artifactId>
|
||||
<version>${cassandra-all.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
|
||||
@ -59,7 +59,7 @@ public class WriterBuilder {
|
||||
|
||||
public static CQLSSTableWriter getTsWriter(File dir) {
|
||||
return CQLSSTableWriter.builder()
|
||||
.inDirectory(dir)
|
||||
.inDirectory(dir.getAbsolutePath())
|
||||
.forTable(tsSchema)
|
||||
.using("INSERT INTO thingsboard.ts_kv_cf (entity_type, entity_id, key, partition, ts, bool_v, str_v, long_v, dbl_v, json_v) " +
|
||||
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")
|
||||
@ -68,7 +68,7 @@ public class WriterBuilder {
|
||||
|
||||
public static CQLSSTableWriter getLatestWriter(File dir) {
|
||||
return CQLSSTableWriter.builder()
|
||||
.inDirectory(dir)
|
||||
.inDirectory(dir.getAbsolutePath())
|
||||
.forTable(latestSchema)
|
||||
.using("INSERT INTO thingsboard.ts_kv_latest_cf (entity_type, entity_id, key, ts, bool_v, str_v, long_v, dbl_v, json_v) " +
|
||||
"VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)")
|
||||
@ -77,7 +77,7 @@ public class WriterBuilder {
|
||||
|
||||
public static CQLSSTableWriter getPartitionWriter(File dir) {
|
||||
return CQLSSTableWriter.builder()
|
||||
.inDirectory(dir)
|
||||
.inDirectory(dir.getAbsolutePath())
|
||||
.forTable(partitionSchema)
|
||||
.using("INSERT INTO thingsboard.ts_kv_partitions_cf (entity_type, entity_id, key, partition) " +
|
||||
"VALUES (?, ?, ?, ?)")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user