-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
576 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
astra-db-client/src/main/java/com/dtsx/astra/sdk/AstraDBClients.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.dtsx.astra.sdk; | ||
|
||
public class AstraDBClients { | ||
|
||
public static AstraDBAdmin create(String token) { | ||
return new AstraDBAdmin(token); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
astra-db-client/src/main/java/com/dtsx/astra/sdk/cassio/ClusteredRecord.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package com.dtsx.astra.sdk.cassio; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.UUID; | ||
|
||
/** | ||
* Default Constructor. | ||
*/ | ||
@Data | ||
@AllArgsConstructor | ||
public class ClusteredRecord { | ||
|
||
/** Partition id. */ | ||
String partitionId; | ||
|
||
/** Row identifier. */ | ||
UUID rowId; | ||
|
||
/** Text body. */ | ||
String body; | ||
|
||
/** | ||
* Record for a clustered table. | ||
*/ | ||
public ClusteredRecord() {} | ||
|
||
} |
Oops, something went wrong.