Class SemanticModelConfigEndpoints

java.lang.Object
org.apache.polaris.service.catalog.semanticmodel.SemanticModelConfigEndpoints
All Implemented Interfaces:
org.apache.polaris.service.catalog.spi.CatalogConfigEndpointContributor

@ApplicationScoped @Priority(500) public class SemanticModelConfigEndpoints extends Object implements org.apache.polaris.service.catalog.spi.CatalogConfigEndpointContributor
  • Constructor Details

    • SemanticModelConfigEndpoints

      @Inject public SemanticModelConfigEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig)
  • Method Details

    • endpoints

      public Set<org.apache.iceberg.rest.Endpoint> endpoints()
      Specified by:
      endpoints in interface org.apache.polaris.service.catalog.spi.CatalogConfigEndpointContributor
    • getSupportedSemanticModelEndpoints

      public static Set<org.apache.iceberg.rest.Endpoint> getSupportedSemanticModelEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig)
      Get the semantic model endpoints. Returns SEMANTIC_MODEL_ENDPOINTS if ENABLE_SEMANTIC_MODELS is set to true, otherwise, returns an empty set.