Package org.apache.polaris.service
Record Class TestServices
java.lang.Object
java.lang.Record
org.apache.polaris.service.TestServices
public record TestServices(Clock clock, org.apache.polaris.service.admin.api.PolarisCatalogsApi catalogsApi, org.apache.polaris.service.catalog.api.IcebergRestCatalogApi restApi, org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi restConfigurationApi, org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter catalogAdapter, org.apache.polaris.core.config.PolarisConfigurationStore configurationStore, org.apache.polaris.core.PolarisDiagnostics polarisDiagnostics, org.apache.polaris.core.storage.cache.StorageCredentialCache storageCredentialCache, org.apache.polaris.core.persistence.resolver.ResolverFactory resolverFactory, org.apache.polaris.core.persistence.resolver.ResolutionManifestFactory resolutionManifestFactory, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.core.context.RealmContext realmContext, org.apache.polaris.core.config.RealmConfig realmConfig, org.apache.polaris.core.auth.PolarisPrincipal principal, jakarta.ws.rs.core.SecurityContext securityContext, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory, org.apache.polaris.service.task.TaskExecutor taskExecutor, org.apache.polaris.service.events.listeners.PolarisEventListener polarisEventListener, org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTestServices(Clock clock, org.apache.polaris.service.admin.api.PolarisCatalogsApi catalogsApi, org.apache.polaris.service.catalog.api.IcebergRestCatalogApi restApi, org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi restConfigurationApi, org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter catalogAdapter, org.apache.polaris.core.config.PolarisConfigurationStore configurationStore, org.apache.polaris.core.PolarisDiagnostics polarisDiagnostics, org.apache.polaris.core.storage.cache.StorageCredentialCache storageCredentialCache, org.apache.polaris.core.persistence.resolver.ResolverFactory resolverFactory, org.apache.polaris.core.persistence.resolver.ResolutionManifestFactory resolutionManifestFactory, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.core.context.RealmContext realmContext, org.apache.polaris.core.config.RealmConfig realmConfig, org.apache.polaris.core.auth.PolarisPrincipal principal, jakarta.ws.rs.core.SecurityContext securityContext, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory, org.apache.polaris.service.task.TaskExecutor taskExecutor, org.apache.polaris.service.events.listeners.PolarisEventListener polarisEventListener, org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider) Creates an instance of aTestServicesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TestServices.Builderbuilder()org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapterReturns the value of thecatalogAdapterrecord component.org.apache.polaris.service.admin.api.PolarisCatalogsApiReturns the value of thecatalogsApirecord component.clock()Returns the value of theclockrecord component.org.apache.polaris.core.config.PolarisConfigurationStoreReturns the value of theconfigurationStorerecord component.final booleanIndicates whether some other object is "equal to" this one.org.apache.polaris.service.catalog.io.FileIOFactoryReturns the value of thefileIOFactoryrecord component.final inthashCode()Returns a hash code value for this object.org.apache.polaris.core.persistence.PolarisMetaStoreManagerReturns the value of themetaStoreManagerrecord component.org.apache.polaris.core.persistence.MetaStoreManagerFactoryReturns the value of themetaStoreManagerFactoryrecord component.org.apache.polaris.core.PolarisCallContextorg.apache.polaris.core.PolarisDiagnosticsReturns the value of thepolarisDiagnosticsrecord component.org.apache.polaris.service.events.listeners.PolarisEventListenerReturns the value of thepolarisEventListenerrecord component.org.apache.polaris.core.auth.PolarisPrincipalReturns the value of theprincipalrecord component.org.apache.polaris.core.config.RealmConfigReturns the value of therealmConfigrecord component.org.apache.polaris.core.context.RealmContextReturns the value of therealmContextrecord component.org.apache.polaris.core.persistence.resolver.ResolutionManifestFactoryReturns the value of theresolutionManifestFactoryrecord component.org.apache.polaris.core.persistence.resolver.ResolverFactoryReturns the value of theresolverFactoryrecord component.org.apache.polaris.service.catalog.api.IcebergRestCatalogApirestApi()Returns the value of therestApirecord component.org.apache.polaris.service.catalog.api.IcebergRestConfigurationApiReturns the value of therestConfigurationApirecord component.jakarta.ws.rs.core.SecurityContextReturns the value of thesecurityContextrecord component.org.apache.polaris.service.catalog.io.StorageAccessConfigProviderReturns the value of thestorageAccessConfigProviderrecord component.org.apache.polaris.core.storage.cache.StorageCredentialCacheReturns the value of thestorageCredentialCacherecord component.org.apache.polaris.service.task.TaskExecutorReturns the value of thetaskExecutorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TestServices
public TestServices(Clock clock, org.apache.polaris.service.admin.api.PolarisCatalogsApi catalogsApi, org.apache.polaris.service.catalog.api.IcebergRestCatalogApi restApi, org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi restConfigurationApi, org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter catalogAdapter, org.apache.polaris.core.config.PolarisConfigurationStore configurationStore, org.apache.polaris.core.PolarisDiagnostics polarisDiagnostics, org.apache.polaris.core.storage.cache.StorageCredentialCache storageCredentialCache, org.apache.polaris.core.persistence.resolver.ResolverFactory resolverFactory, org.apache.polaris.core.persistence.resolver.ResolutionManifestFactory resolutionManifestFactory, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.core.context.RealmContext realmContext, org.apache.polaris.core.config.RealmConfig realmConfig, org.apache.polaris.core.auth.PolarisPrincipal principal, jakarta.ws.rs.core.SecurityContext securityContext, org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager, org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory, org.apache.polaris.service.task.TaskExecutor taskExecutor, org.apache.polaris.service.events.listeners.PolarisEventListener polarisEventListener, org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider) Creates an instance of aTestServicesrecord class.- Parameters:
clock- the value for theclockrecord componentcatalogsApi- the value for thecatalogsApirecord componentrestApi- the value for therestApirecord componentrestConfigurationApi- the value for therestConfigurationApirecord componentcatalogAdapter- the value for thecatalogAdapterrecord componentconfigurationStore- the value for theconfigurationStorerecord componentpolarisDiagnostics- the value for thepolarisDiagnosticsrecord componentstorageCredentialCache- the value for thestorageCredentialCacherecord componentresolverFactory- the value for theresolverFactoryrecord componentresolutionManifestFactory- the value for theresolutionManifestFactoryrecord componentmetaStoreManagerFactory- the value for themetaStoreManagerFactoryrecord componentrealmContext- the value for therealmContextrecord componentrealmConfig- the value for therealmConfigrecord componentprincipal- the value for theprincipalrecord componentsecurityContext- the value for thesecurityContextrecord componentmetaStoreManager- the value for themetaStoreManagerrecord componentfileIOFactory- the value for thefileIOFactoryrecord componenttaskExecutor- the value for thetaskExecutorrecord componentpolarisEventListener- the value for thepolarisEventListenerrecord componentstorageAccessConfigProvider- the value for thestorageAccessConfigProviderrecord component
-
-
Method Details
-
builder
-
newCallContext
public org.apache.polaris.core.PolarisCallContext newCallContext() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
clock
Returns the value of theclockrecord component.- Returns:
- the value of the
clockrecord component
-
catalogsApi
public org.apache.polaris.service.admin.api.PolarisCatalogsApi catalogsApi()Returns the value of thecatalogsApirecord component.- Returns:
- the value of the
catalogsApirecord component
-
restApi
public org.apache.polaris.service.catalog.api.IcebergRestCatalogApi restApi()Returns the value of therestApirecord component.- Returns:
- the value of the
restApirecord component
-
restConfigurationApi
public org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi restConfigurationApi()Returns the value of therestConfigurationApirecord component.- Returns:
- the value of the
restConfigurationApirecord component
-
catalogAdapter
public org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter catalogAdapter()Returns the value of thecatalogAdapterrecord component.- Returns:
- the value of the
catalogAdapterrecord component
-
configurationStore
public org.apache.polaris.core.config.PolarisConfigurationStore configurationStore()Returns the value of theconfigurationStorerecord component.- Returns:
- the value of the
configurationStorerecord component
-
polarisDiagnostics
public org.apache.polaris.core.PolarisDiagnostics polarisDiagnostics()Returns the value of thepolarisDiagnosticsrecord component.- Returns:
- the value of the
polarisDiagnosticsrecord component
-
storageCredentialCache
public org.apache.polaris.core.storage.cache.StorageCredentialCache storageCredentialCache()Returns the value of thestorageCredentialCacherecord component.- Returns:
- the value of the
storageCredentialCacherecord component
-
resolverFactory
public org.apache.polaris.core.persistence.resolver.ResolverFactory resolverFactory()Returns the value of theresolverFactoryrecord component.- Returns:
- the value of the
resolverFactoryrecord component
-
resolutionManifestFactory
public org.apache.polaris.core.persistence.resolver.ResolutionManifestFactory resolutionManifestFactory()Returns the value of theresolutionManifestFactoryrecord component.- Returns:
- the value of the
resolutionManifestFactoryrecord component
-
metaStoreManagerFactory
public org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory()Returns the value of themetaStoreManagerFactoryrecord component.- Returns:
- the value of the
metaStoreManagerFactoryrecord component
-
realmContext
public org.apache.polaris.core.context.RealmContext realmContext()Returns the value of therealmContextrecord component.- Returns:
- the value of the
realmContextrecord component
-
realmConfig
public org.apache.polaris.core.config.RealmConfig realmConfig()Returns the value of therealmConfigrecord component.- Returns:
- the value of the
realmConfigrecord component
-
principal
public org.apache.polaris.core.auth.PolarisPrincipal principal()Returns the value of theprincipalrecord component.- Returns:
- the value of the
principalrecord component
-
securityContext
public jakarta.ws.rs.core.SecurityContext securityContext()Returns the value of thesecurityContextrecord component.- Returns:
- the value of the
securityContextrecord component
-
metaStoreManager
public org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager()Returns the value of themetaStoreManagerrecord component.- Returns:
- the value of the
metaStoreManagerrecord component
-
fileIOFactory
public org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory()Returns the value of thefileIOFactoryrecord component.- Returns:
- the value of the
fileIOFactoryrecord component
-
taskExecutor
public org.apache.polaris.service.task.TaskExecutor taskExecutor()Returns the value of thetaskExecutorrecord component.- Returns:
- the value of the
taskExecutorrecord component
-
polarisEventListener
public org.apache.polaris.service.events.listeners.PolarisEventListener polarisEventListener()Returns the value of thepolarisEventListenerrecord component.- Returns:
- the value of the
polarisEventListenerrecord component
-
storageAccessConfigProvider
public org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider()Returns the value of thestorageAccessConfigProviderrecord component.- Returns:
- the value of the
storageAccessConfigProviderrecord component
-