Skip to content

[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

Merged
merged 8 commits into from
Nov 21, 2024

Conversation

tanghaodong25
Copy link
Contributor

@tanghaodong25 tanghaodong25 commented Nov 14, 2024

  1. refactor store api.
  2. add store development document README.
  3. delete seldom used features.

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2024

CLA assistant check
All committers have signed the CLA.

@tanghaodong25 tanghaodong25 changed the title [State]: state api refactor. [state]: state api refactor. Nov 14, 2024
@tanghaodong25 tanghaodong25 force-pushed the state-api-refactor branch 3 times, most recently from bb993e3 to 5010725 Compare November 19, 2024 12:18
Copy link
Contributor

@cfsfine cfsfine left a 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());
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue has been 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),
Copy link
Collaborator

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue has been 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MemoryDynamicGraphStore -> DynamicGraphMemoryStore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue has been resolved.

Copy link
Collaborator

@Loognqiang Loognqiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@dy247846795 dy247846795 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Loognqiang Loognqiang merged commit 1519283 into TuGraph-family:master Nov 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants