Skip to content
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

Support table concept in core module #155

Merged
merged 47 commits into from
Sep 26, 2019
Merged

Support table concept in core module #155

merged 47 commits into from
Sep 26, 2019

Conversation

senyer
Copy link
Collaborator

@senyer senyer commented Sep 2, 2019

  1. Design table concept structure
  2. implements createTable()
  3. implements append() //TODO:need to improve
  4. implements getTableByName()
  5. implements query() //TODO:need to improve
  6. implements drop()
  7. implements verifyLegitimacy()
  8. implements clearTable()
  9. implements clear()

senyer and others added 29 commits August 18, 2019 16:29
Reduce duplicate code
# Conflicts:
#	server/src/main/java/org/dst/server/service/DstListServiceImpl.java
#	server/src/main/proto/list_pb.proto
#	test/src/test/java/test/org/dst/core/KVStoreTest.java
#	test/src/test/java/test/org/dst/core/operator/KVSListTest.java
# Conflicts:
#	test/src/test/java/test/org/dst/core/KVStoreTest.java
Copy link
Collaborator

@jovany-wang jovany-wang left a comment

Choose a reason for hiding this comment

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

  1. Add comments for you public class to explain about more details of the classes, like some exception classes.

@jovany-wang jovany-wang self-assigned this Sep 8, 2019
@jovany-wang jovany-wang changed the title Support Core table Support table concept in core module Sep 8, 2019
core/src/main/java/org/dst/core/table/Value.java Outdated Show resolved Hide resolved

private boolean index = false;

public Field() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why we need this ctor?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If not explicitly declared ,we can't use this structure function

core/src/main/java/org/dst/core/table/Field.java Outdated Show resolved Hide resolved
Copy link
Collaborator

@jovany-wang jovany-wang left a comment

Choose a reason for hiding this comment

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

I left some comments about the doc comments. Please also address other comments.

core/src/main/java/org/dst/core/operatorset/DstTable.java Outdated Show resolved Hide resolved
core/src/main/java/org/dst/core/operatorset/DstTable.java Outdated Show resolved Hide resolved
core/src/main/java/org/dst/core/operatorset/DstTable.java Outdated Show resolved Hide resolved
core/src/main/java/org/dst/core/operatorset/DstTable.java Outdated Show resolved Hide resolved
core/src/main/java/org/dst/core/operatorset/DstTable.java Outdated Show resolved Hide resolved
senyer and others added 3 commits September 21, 2019 08:22
# Conflicts:
#	common/src/main/java/org/dst/common/protobuf/common_pb.proto
#	core/src/main/java/org/dst/core/operatorImpl/DstTableImpl.java
Copy link
Collaborator

@jovany-wang jovany-wang left a comment

Choose a reason for hiding this comment

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

Looks very good to me now. Nice job!

@jovany-wang jovany-wang merged commit 62f8767 into distkv-project:master Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants