Class PolarisPassthroughResolutionView
java.lang.Object
org.apache.polaris.service.catalog.PolarisPassthroughResolutionView
- All Implemented Interfaces:
org.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
public class PolarisPassthroughResolutionView
extends Object
implements org.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
For test purposes or for elevated-privilege scenarios where entity resolution is allowed to
directly access a PolarisEntityManager/PolarisMetaStoreManager without being part of an
authorization-gated PolarisResolutionManifest, this class delegates entity resolution directly to
new single-use PolarisResolutionManifests for each desired resolved path without defining a fixed
set of resolved entities that need to be checked against authorizable operations.
-
Constructor Summary
ConstructorsConstructorDescriptionPolarisPassthroughResolutionView(org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.PolarisEntityManager entityManager, jakarta.ws.rs.core.SecurityContext securityContext, String catalogName) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.polaris.core.persistence.PolarisResolvedPathWrapperorg.apache.polaris.core.persistence.PolarisResolvedPathWrappergetPassthroughResolvedPath(Object key, org.apache.polaris.core.entity.PolarisEntityType entityType, org.apache.polaris.core.entity.PolarisEntitySubType subType) org.apache.polaris.core.persistence.PolarisResolvedPathWrappergetResolvedPath(Object key) org.apache.polaris.core.persistence.PolarisResolvedPathWrappergetResolvedPath(Object key, org.apache.polaris.core.entity.PolarisEntityType entityType, org.apache.polaris.core.entity.PolarisEntitySubType subType) org.apache.polaris.core.persistence.PolarisResolvedPathWrapper
-
Constructor Details
-
PolarisPassthroughResolutionView
public PolarisPassthroughResolutionView(org.apache.polaris.core.context.CallContext callContext, org.apache.polaris.core.persistence.PolarisEntityManager entityManager, jakarta.ws.rs.core.SecurityContext securityContext, String catalogName)
-
-
Method Details
-
getResolvedReferenceCatalogEntity
public org.apache.polaris.core.persistence.PolarisResolvedPathWrapper getResolvedReferenceCatalogEntity()- Specified by:
getResolvedReferenceCatalogEntityin interfaceorg.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
-
getResolvedPath
- Specified by:
getResolvedPathin interfaceorg.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
-
getResolvedPath
public org.apache.polaris.core.persistence.PolarisResolvedPathWrapper getResolvedPath(Object key, org.apache.polaris.core.entity.PolarisEntityType entityType, org.apache.polaris.core.entity.PolarisEntitySubType subType) - Specified by:
getResolvedPathin interfaceorg.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
-
getPassthroughResolvedPath
public org.apache.polaris.core.persistence.PolarisResolvedPathWrapper getPassthroughResolvedPath(Object key) - Specified by:
getPassthroughResolvedPathin interfaceorg.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
-
getPassthroughResolvedPath
public org.apache.polaris.core.persistence.PolarisResolvedPathWrapper getPassthroughResolvedPath(Object key, org.apache.polaris.core.entity.PolarisEntityType entityType, org.apache.polaris.core.entity.PolarisEntitySubType subType) - Specified by:
getPassthroughResolvedPathin interfaceorg.apache.polaris.core.persistence.resolver.PolarisResolutionManifestCatalogView
-