Skip to content

Commit

Permalink
Add ShardingSphereDefaultStatisticsBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 16, 2025
1 parent 96a2d97 commit 008b0dd
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ public final class ShardingSphereDefaultStatisticsBuilder {

private static final String SHARDING_TABLE_STATISTICS = "sharding_table_statistics";

/**
* Build default statistics data.
*
* @param database database
* @return built statistics data
*/
public ShardingSphereDatabaseData build(final ShardingSphereDatabase database) {
ShardingSphereDatabaseData result = new ShardingSphereDatabaseData();
if (database.containsSchema(SHARDINGSPHERE)) {
Expand Down

0 comments on commit 008b0dd

Please sign in to comment.