diff --git a/core/src/main/java/org/polypheny/db/adapter/DataSource.java b/core/src/main/java/org/polypheny/db/adapter/DataSource.java index 5b3196fc25..9933b8c192 100644 --- a/core/src/main/java/org/polypheny/db/adapter/DataSource.java +++ b/core/src/main/java/org/polypheny/db/adapter/DataSource.java @@ -18,8 +18,6 @@ import com.google.gson.JsonObject; import com.google.gson.JsonSerializer; -import java.util.HashSet; -import java.util.List; import java.util.Map; import java.util.Set; import lombok.Getter; @@ -38,7 +36,7 @@ public abstract class DataSource extends Adapter im protected DataSource( final long adapterId, final String uniqueName, final Map settings, final DeployMode mode, boolean dataReadOnly, S catalog, Set supportedModels ) { super( adapterId, uniqueName, settings, mode, catalog ); this.dataReadOnly = dataReadOnly; - this.supportedDataModels = Set.copyOf(supportedModels); + this.supportedDataModels = Set.copyOf( supportedModels ); informationPage.setLabel( "Sources" ); } diff --git a/core/src/main/java/org/polypheny/db/catalog/impl/allocation/PolyAllocRelCatalog.java b/core/src/main/java/org/polypheny/db/catalog/impl/allocation/PolyAllocRelCatalog.java index a5d94b524b..08314b476c 100644 --- a/core/src/main/java/org/polypheny/db/catalog/impl/allocation/PolyAllocRelCatalog.java +++ b/core/src/main/java/org/polypheny/db/catalog/impl/allocation/PolyAllocRelCatalog.java @@ -206,7 +206,6 @@ public void addPartitionProperty( long tableId, PartitionProperty partitionPrope } - @Override public void updatePartition( long partitionId, Long partitionGroupId ) { @@ -229,6 +228,7 @@ public void deleteAllocation( long allocId ) { change(); } + @Override public AllocationPlacement addPlacement( long logicalEntityId, long namespaceId, long adapterId ) { long id = idBuilder.getNewPlacementId(); diff --git a/core/src/main/java/org/polypheny/db/catalog/impl/logical/RelationalCatalog.java b/core/src/main/java/org/polypheny/db/catalog/impl/logical/RelationalCatalog.java index 83143fa04a..348bb46e4f 100644 --- a/core/src/main/java/org/polypheny/db/catalog/impl/logical/RelationalCatalog.java +++ b/core/src/main/java/org/polypheny/db/catalog/impl/logical/RelationalCatalog.java @@ -84,6 +84,7 @@ public class RelationalCatalog implements PolySerializable, LogicalRelationalCat public Map nodes; + @Serialize public Map indexes;