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
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 a TestServices record class.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter
     
    Supplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter>
    Returns the value of the catalogAdapterSupplier record component.
    org.apache.polaris.service.admin.api.PolarisCatalogsApi
     
    Supplier<org.apache.polaris.service.admin.api.PolarisCatalogsApi>
    Returns the value of the catalogsApiSupplier record component.
    Returns the value of the clock record component.
    org.apache.polaris.core.config.RealmConfigurationSource
    Returns the value of the configurationSource record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    org.apache.polaris.service.events.PolarisEventMetadataFactory
    Returns the value of the eventMetadataFactory record component.
    org.apache.polaris.service.catalog.io.FileIOFactory
    Returns the value of the fileIOFactory record component.
    org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi
     
    Supplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi>
    Returns the value of the genericTableApiSupplier record component.
    final int
    Returns a hash code value for this object.
    org.apache.polaris.service.idempotency.IdempotencyRequestContext
    Returns the value of the idempotencyRequestContext record component.
    org.apache.polaris.core.persistence.PolarisMetaStoreManager
    Returns the value of the metaStoreManager record component.
    org.apache.polaris.core.persistence.MetaStoreManagerFactory
    Returns the value of the metaStoreManagerFactory record component.
    org.apache.polaris.core.PolarisCallContext
     
    org.apache.polaris.core.PolarisDiagnostics
    Returns the value of the polarisDiagnostics record component.
    org.apache.polaris.service.events.PolarisEventDispatcher
    Returns the value of the polarisEventDispatcher record component.
    org.apache.polaris.core.auth.PolarisPrincipal
    Returns the value of the principal record component.
    org.apache.polaris.core.config.RealmConfig
    Returns the value of the realmConfig record component.
    org.apache.polaris.core.context.RealmContext
    Returns the value of the realmContext record component.
    org.apache.polaris.core.persistence.resolver.ResolutionManifestFactory
    Returns the value of the resolutionManifestFactory record component.
    org.apache.polaris.core.persistence.resolver.ResolverFactory
    Returns the value of the resolverFactory record component.
    org.apache.polaris.service.catalog.api.IcebergRestCatalogApi
     
    Supplier<org.apache.polaris.service.catalog.api.IcebergRestCatalogApi>
    Returns the value of the restApiSupplier record component.
    org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi
     
    Supplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi>
    Returns the value of the restConfigurationApiSupplier record component.
    jakarta.ws.rs.core.SecurityContext
    Returns the value of the securityContext record component.
    org.apache.polaris.service.catalog.io.StorageAccessConfigProvider
    Returns the value of the storageAccessConfigProvider record component.
    org.apache.polaris.core.storage.cache.StorageCredentialCache
    Returns the value of the storageCredentialCache record component.
    org.apache.polaris.service.task.TaskExecutor
    Returns the value of the taskExecutor record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a TestServices record class.
      Parameters:
      clock - the value for the clock record component
      catalogsApiSupplier - the value for the catalogsApiSupplier record component
      restApiSupplier - the value for the restApiSupplier record component
      genericTableApiSupplier - the value for the genericTableApiSupplier record component
      restConfigurationApiSupplier - the value for the restConfigurationApiSupplier record component
      catalogAdapterSupplier - the value for the catalogAdapterSupplier record component
      configurationSource - the value for the configurationSource record component
      polarisDiagnostics - the value for the polarisDiagnostics record component
      storageCredentialCache - the value for the storageCredentialCache record component
      resolverFactory - the value for the resolverFactory record component
      resolutionManifestFactory - the value for the resolutionManifestFactory record component
      metaStoreManagerFactory - the value for the metaStoreManagerFactory record component
      realmContext - the value for the realmContext record component
      realmConfig - the value for the realmConfig record component
      principal - the value for the principal record component
      securityContext - the value for the securityContext record component
      metaStoreManager - the value for the metaStoreManager record component
      fileIOFactory - the value for the fileIOFactory record component
      taskExecutor - the value for the taskExecutor record component
      polarisEventDispatcher - the value for the polarisEventDispatcher record component
      eventMetadataFactory - the value for the eventMetadataFactory record component
      storageAccessConfigProvider - the value for the storageAccessConfigProvider record component
      idempotencyRequestContext - the value for the idempotencyRequestContext record 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

      public static TestServices.Builder builder()
    • newCallContext

      public org.apache.polaris.core.PolarisCallContext newCallContext()
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • clock

      public Clock clock()
      Returns the value of the clock record component.
      Returns:
      the value of the clock record component
    • catalogsApiSupplier

      public Supplier<org.apache.polaris.service.admin.api.PolarisCatalogsApi> catalogsApiSupplier()
      Returns the value of the catalogsApiSupplier record component.
      Returns:
      the value of the catalogsApiSupplier record component
    • restApiSupplier

      public Supplier<org.apache.polaris.service.catalog.api.IcebergRestCatalogApi> restApiSupplier()
      Returns the value of the restApiSupplier record component.
      Returns:
      the value of the restApiSupplier record component
    • genericTableApiSupplier

      public Supplier<org.apache.polaris.service.catalog.api.PolarisCatalogGenericTableApi> genericTableApiSupplier()
      Returns the value of the genericTableApiSupplier record component.
      Returns:
      the value of the genericTableApiSupplier record component
    • restConfigurationApiSupplier

      public Supplier<org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi> restConfigurationApiSupplier()
      Returns the value of the restConfigurationApiSupplier record component.
      Returns:
      the value of the restConfigurationApiSupplier record component
    • catalogAdapterSupplier

      public Supplier<org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter> catalogAdapterSupplier()
      Returns the value of the catalogAdapterSupplier record component.
      Returns:
      the value of the catalogAdapterSupplier record component
    • configurationSource

      public org.apache.polaris.core.config.RealmConfigurationSource configurationSource()
      Returns the value of the configurationSource record component.
      Returns:
      the value of the configurationSource record component
    • polarisDiagnostics

      public org.apache.polaris.core.PolarisDiagnostics polarisDiagnostics()
      Returns the value of the polarisDiagnostics record component.
      Returns:
      the value of the polarisDiagnostics record component
    • storageCredentialCache

      public org.apache.polaris.core.storage.cache.StorageCredentialCache storageCredentialCache()
      Returns the value of the storageCredentialCache record component.
      Returns:
      the value of the storageCredentialCache record component
    • resolverFactory

      public org.apache.polaris.core.persistence.resolver.ResolverFactory resolverFactory()
      Returns the value of the resolverFactory record component.
      Returns:
      the value of the resolverFactory record component
    • resolutionManifestFactory

      public org.apache.polaris.core.persistence.resolver.ResolutionManifestFactory resolutionManifestFactory()
      Returns the value of the resolutionManifestFactory record component.
      Returns:
      the value of the resolutionManifestFactory record component
    • metaStoreManagerFactory

      public org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory()
      Returns the value of the metaStoreManagerFactory record component.
      Returns:
      the value of the metaStoreManagerFactory record component
    • realmContext

      public org.apache.polaris.core.context.RealmContext realmContext()
      Returns the value of the realmContext record component.
      Returns:
      the value of the realmContext record component
    • realmConfig

      public org.apache.polaris.core.config.RealmConfig realmConfig()
      Returns the value of the realmConfig record component.
      Returns:
      the value of the realmConfig record component
    • principal

      public org.apache.polaris.core.auth.PolarisPrincipal principal()
      Returns the value of the principal record component.
      Returns:
      the value of the principal record component
    • securityContext

      public jakarta.ws.rs.core.SecurityContext securityContext()
      Returns the value of the securityContext record component.
      Returns:
      the value of the securityContext record component
    • metaStoreManager

      public org.apache.polaris.core.persistence.PolarisMetaStoreManager metaStoreManager()
      Returns the value of the metaStoreManager record component.
      Returns:
      the value of the metaStoreManager record component
    • fileIOFactory

      public org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory()
      Returns the value of the fileIOFactory record component.
      Returns:
      the value of the fileIOFactory record component
    • taskExecutor

      public org.apache.polaris.service.task.TaskExecutor taskExecutor()
      Returns the value of the taskExecutor record component.
      Returns:
      the value of the taskExecutor record component
    • polarisEventDispatcher

      public org.apache.polaris.service.events.PolarisEventDispatcher polarisEventDispatcher()
      Returns the value of the polarisEventDispatcher record component.
      Returns:
      the value of the polarisEventDispatcher record component
    • eventMetadataFactory

      public org.apache.polaris.service.events.PolarisEventMetadataFactory eventMetadataFactory()
      Returns the value of the eventMetadataFactory record component.
      Returns:
      the value of the eventMetadataFactory record component
    • storageAccessConfigProvider

      public org.apache.polaris.service.catalog.io.StorageAccessConfigProvider storageAccessConfigProvider()
      Returns the value of the storageAccessConfigProvider record component.
      Returns:
      the value of the storageAccessConfigProvider record component
    • idempotencyRequestContext

      public org.apache.polaris.service.idempotency.IdempotencyRequestContext idempotencyRequestContext()
      Returns the value of the idempotencyRequestContext record component.
      Returns:
      the value of the idempotencyRequestContext record component