-
Notifications
You must be signed in to change notification settings - Fork 86
[state]: state api refactor. #374
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
[state]: state api refactor. #374
Conversation
tanghaodong25
commented
Nov 14, 2024
•
edited
Loading
edited
- refactor store api.
- add store development document README.
- delete seldom used features.
025579c
to
13a1041
Compare
bb993e3
to
5010725
Compare
5010725
to
87bc410
Compare
175fd19
to
0279051
Compare
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.
LGTM.
this.fetchFun = fetchFun; | ||
this.iterator = keys.iterator(); | ||
if (pushdown.getFilters() != null) { | ||
StatePushDown simpleKeyPushDown = StatePushDown.of() | ||
.withEdgeLimit(pushdown.getEdgeLimit()) | ||
.withOrderFields(pushdown.getOrderFields()); | ||
.withEdgeLimit(pushdown.getEdgeLimit()).withOrderFields(pushdown.getOrderFields()); |
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.
The change has resulted in an unreasonable format
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.
issue has been resolved.
.../geaflow-store-cstore/src/main/java/com/antgroup/geaflow/store/cstore/StaticGraphCStore.java
Outdated
Show resolved
Hide resolved
String sql = String.format(insertFormat, | ||
this.tableName, this.pk, Joiner.on(',').join(columns), | ||
String sql = String.format(insertFormat, this.tableName, this.pk, | ||
Joiner.on(',').join(columns), |
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.
,
should be defined constant value
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.
issue has been resolved.
...e/geaflow-store-jdbc/src/test/java/com/antgroup/geaflow/store/jdbc/JdbcStoreBuilderTest.java
Outdated
Show resolved
Hide resolved
...store-memory/src/main/java/com/antgroup/geaflow/store/memory/BaseStaticGraphMemoryStore.java
Outdated
Show resolved
Hide resolved
@@ -47,13 +47,13 @@ | |||
import java.util.function.BiFunction; | |||
import java.util.stream.Collectors; | |||
|
|||
public class GraphMemoryMultiVersionedStore<K, VV, EV> extends BaseGraphStore implements | |||
IGraphMultiVersionedStore<K, VV, EV> { | |||
public class MemoryDynamicGraphStore<K, VV, EV> extends BaseGraphStore implements |
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.
MemoryDynamicGraphStore -> DynamicGraphMemoryStore
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.
issue has been resolved.
...e-rocksdb/src/main/java/com/antgroup/geaflow/store/rocksdb/DynamicRocksdbGraphStoreBase.java
Outdated
Show resolved
Hide resolved
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.
LGTM
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.
LGTM