Package org.apache.polaris.service
Record Class TestServices
java.lang.Object
java.lang.Record
org.apache.polaris.service.TestServices
public record TestServices(Clock clock, Supplier<org.apache.polaris.service.admin.api.PolarisCatalogsApi> catalogsApiSupplier, Supplier<org.apache.polaris.service.catalog.api.IcebergRestCatalogApi> restApiSupplier, Supplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi> genericTableApiSupplier, Supplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi> restConfigurationApiSupplier, Supplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter> catalogAdapterSupplier, org.apache.polaris.core.config.RealmConfigurationSource configurationSource, 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.PolarisEventDispatcher polarisEventDispatcher, org.apache.polaris.service.events.PolarisEventMetadataFactory eventMetadataFactory, org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider, org.apache.polaris.service.idempotency.IdempotencyRequestContext idempotencyRequestContext)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTestServices(Clock clock, Supplier<org.apache.polaris.service.admin.api.PolarisCatalogsApi> catalogsApiSupplier, Supplier<org.apache.polaris.service.catalog.api.IcebergRestCatalogApi> restApiSupplier, Supplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi> genericTableApiSupplier, Supplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi> restConfigurationApiSupplier, Supplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter> catalogAdapterSupplier, org.apache.polaris.core.config.RealmConfigurationSource configurationSource, 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.PolarisEventDispatcher polarisEventDispatcher, org.apache.polaris.service.events.PolarisEventMetadataFactory eventMetadataFactory, org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider, org.apache.polaris.service.idempotency.IdempotencyRequestContext idempotencyRequestContext) Creates an instance of aTestServicesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TestServices.Builderbuilder()org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapterSupplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter> Returns the value of thecatalogAdapterSupplierrecord component.org.apache.polaris.service.admin.api.PolarisCatalogsApiSupplier<org.apache.polaris.service.admin.api.PolarisCatalogsApi> Returns the value of thecatalogsApiSupplierrecord component.clock()Returns the value of theclockrecord component.org.apache.polaris.core.config.RealmConfigurationSourceReturns the value of theconfigurationSourcerecord component.final booleanIndicates whether some other object is "equal to" this one.org.apache.polaris.service.events.PolarisEventMetadataFactoryReturns the value of theeventMetadataFactoryrecord component.org.apache.polaris.service.catalog.io.FileIOFactoryReturns the value of thefileIOFactoryrecord component.org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApiSupplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi> Returns the value of thegenericTableApiSupplierrecord component.final inthashCode()Returns a hash code value for this object.org.apache.polaris.service.idempotency.IdempotencyRequestContextReturns the value of theidempotencyRequestContextrecord component.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.PolarisEventDispatcherReturns the value of thepolarisEventDispatcherrecord 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()Supplier<org.apache.polaris.service.catalog.api.IcebergRestCatalogApi> Returns the value of therestApiSupplierrecord component.org.apache.polaris.service.catalog.api.IcebergRestConfigurationApiSupplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi> Returns the value of therestConfigurationApiSupplierrecord 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, Supplier<org.apache.polaris.service.admin.api.PolarisCatalogsApi> catalogsApiSupplier, Supplier<org.apache.polaris.service.catalog.api.IcebergRestCatalogApi> restApiSupplier, Supplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi> genericTableApiSupplier, Supplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi> restConfigurationApiSupplier, Supplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter> catalogAdapterSupplier, org.apache.polaris.core.config.RealmConfigurationSource configurationSource, 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.PolarisEventDispatcher polarisEventDispatcher, org.apache.polaris.service.events.PolarisEventMetadataFactory eventMetadataFactory, org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider, org.apache.polaris.service.idempotency.IdempotencyRequestContext idempotencyRequestContext) Creates an instance of aTestServicesrecord class.- Parameters:
clock- the value for theclockrecord componentcatalogsApiSupplier- the value for thecatalogsApiSupplierrecord componentrestApiSupplier- the value for therestApiSupplierrecord componentgenericTableApiSupplier- the value for thegenericTableApiSupplierrecord componentrestConfigurationApiSupplier- the value for therestConfigurationApiSupplierrecord componentcatalogAdapterSupplier- the value for thecatalogAdapterSupplierrecord componentconfigurationSource- the value for theconfigurationSourcerecord 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 componentpolarisEventDispatcher- the value for thepolarisEventDispatcherrecord componenteventMetadataFactory- the value for theeventMetadataFactoryrecord componentstorageAccessConfigProvider- the value for thestorageAccessConfigProviderrecord componentidempotencyRequestContext- the value for theidempotencyRequestContextrecord component
-
-
Method Details
-
catalogsApi
public org.apache.polaris.service.admin.api.PolarisCatalogsApi catalogsApi() -
restApi
public org.apache.polaris.service.catalog.api.IcebergRestCatalogApi restApi() -
genericTableApi
public org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi genericTableApi() -
restConfigurationApi
public org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi restConfigurationApi() -
catalogAdapter
public org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter catalogAdapter() -
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
-
catalogsApiSupplier
Returns the value of thecatalogsApiSupplierrecord component.- Returns:
- the value of the
catalogsApiSupplierrecord component
-
restApiSupplier
Returns the value of therestApiSupplierrecord component.- Returns:
- the value of the
restApiSupplierrecord component
-
genericTableApiSupplier
public Supplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi> genericTableApiSupplier()Returns the value of thegenericTableApiSupplierrecord component.- Returns:
- the value of the
genericTableApiSupplierrecord component
-
restConfigurationApiSupplier
public Supplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi> restConfigurationApiSupplier()Returns the value of therestConfigurationApiSupplierrecord component.- Returns:
- the value of the
restConfigurationApiSupplierrecord component
-
catalogAdapterSupplier
public Supplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter> catalogAdapterSupplier()Returns the value of thecatalogAdapterSupplierrecord component.- Returns:
- the value of the
catalogAdapterSupplierrecord component
-
configurationSource
public org.apache.polaris.core.config.RealmConfigurationSource configurationSource()Returns the value of theconfigurationSourcerecord component.- Returns:
- the value of the
configurationSourcerecord 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
-
polarisEventDispatcher
public org.apache.polaris.service.events.PolarisEventDispatcher polarisEventDispatcher()Returns the value of thepolarisEventDispatcherrecord component.- Returns:
- the value of the
polarisEventDispatcherrecord component
-
eventMetadataFactory
public org.apache.polaris.service.events.PolarisEventMetadataFactory eventMetadataFactory()Returns the value of theeventMetadataFactoryrecord component.- Returns:
- the value of the
eventMetadataFactoryrecord component
-
storageAccessConfigProvider
public org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider()Returns the value of thestorageAccessConfigProviderrecord component.- Returns:
- the value of the
storageAccessConfigProviderrecord component
-
idempotencyRequestContext
public org.apache.polaris.service.idempotency.IdempotencyRequestContext idempotencyRequestContext()Returns the value of theidempotencyRequestContextrecord component.- Returns:
- the value of the
idempotencyRequestContextrecord component
-