-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put back Cassandra implementation #156
Conversation
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
a2eaf22
to
a0c9616
Compare
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
afs-cassandra/src/main/java/com/powsybl/afs/cassandra/CassandraAppFileSystemConfig.java
Outdated
Show resolved
Hide resolved
afs-cassandra/src/main/java/com/powsybl/afs/cassandra/CassandraAfsException.java
Show resolved
Hide resolved
afs-cassandra/src/main/java/com/powsybl/afs/cassandra/CassandraAppFileSystemProvider.java
Show resolved
Hide resolved
afs-cassandra/src/main/java/com/powsybl/afs/cassandra/CassandraAppStorage.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
private void executeStatements(List<SimpleStatement> statements) { | ||
for (SimpleStatement statement : statements) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know but should it be better if it was a batch ?
afs-cassandra/src/main/java/com/powsybl/afs/cassandra/CassandraAppStorage.java
Outdated
Show resolved
Hide resolved
private CassandraUtil() { | ||
} | ||
|
||
public static void print(CassandraContext context, PrintStream out) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well these method add print, I dont know if it is usefull but a Logger would be better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not even sure these methods are used, I'll have to check later
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
|
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
Feature
What is the current behavior?
No Cassandra implementation
What is the new behavior (if this is a feature change)?
Cassandra implementation is back and available with Java 17
Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Other information: