-
Notifications
You must be signed in to change notification settings - Fork 62
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
Improve naming in data frame abstraction #857
Conversation
6956aa2
to
dc0703c
Compare
baremaps-core/src/test/java/org/apache/baremaps/storage/flatgeobuf/FlatGeoBufDataFrameTest.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/test/java/org/apache/baremaps/storage/geopackage/GeoPackageDataStoreTest.java
Fixed
Show fixed
Hide fixed
baremaps-core/src/test/java/org/apache/baremaps/storage/geoparquet/GeoParquetDataStoreTest.java
Fixed
Show fixed
Hide fixed
@sebr72 @Drabble I'm trying to refactor the I think the new naming convention (see diagram) is a bit less confusing. What do you think? Regarding the module and package names, I hesitate between many alternatives Here are a comple of alternatives (module / package):
Any idea or suggestion? |
@bchapuis : Following our conversation, I would suggest we keep DataTable rather than Frame. |
- The DataFrame class becomes the DataTable class - The data.schema package becomes the data.storage package - The method and variable names in the unit tests have been improved
@@ -22,22 +22,22 @@ | |||
import org.apache.baremaps.testing.TestFiles; | |||
import org.junit.jupiter.api.Test; | |||
|
|||
class GeoPackageDataSchemaTest { | |||
class GeoPackageDataStoreTest { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces Note test
@@ -22,22 +22,22 @@ | |||
import org.apache.baremaps.testing.TestFiles; | |||
import org.junit.jupiter.api.Test; | |||
|
|||
class GeoParquetDataSchemaTest { | |||
class GeoParquetDataStoreTest { |
Check notice
Code scanning / CodeQL
Unused classes and interfaces Note test
@sebr72 I can't add you as a reviewer for now, but let me know if you think this refactoring corresponds to the changes we discussed yesterday. |
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.
Very good.
One comment to fix
import java.util.List; | ||
|
||
/** | ||
* A {@link DataSchema} is a collection of {@link DataTable}s. |
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.
DataSchema is DataStore in comment.
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.
Good catch!
Quality Gate passedIssues Measures |
This is an attempt at improving the data frame abstraction. The following diagramm describes the overall architecture.