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 Summary
ConstructorsConstructorDescriptionSemanticModelConfigEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig) -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.iceberg.rest.Endpoint> static Set<org.apache.iceberg.rest.Endpoint> getSupportedSemanticModelEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig) Get the semantic model endpoints.
-
Constructor Details
-
SemanticModelConfigEndpoints
@Inject public SemanticModelConfigEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig)
-
-
Method Details
-
endpoints
- Specified by:
endpointsin interfaceorg.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.
-