Record Class TestServices

java.lang.Object
java.lang.Record
org.apache.polaris.service.TestServices

public record TestServices(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.service.config.RealmEntityManagerFactory entityManagerFactory, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext, org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory, org.apache.polaris.service.task.TaskExecutor taskExecutor, org.apache.polaris.service.events.PolarisEventListener polarisEventListener) extends Record
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static interface 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestServices(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.service.config.RealmEntityManagerFactory entityManagerFactory, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext, org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory, org.apache.polaris.service.task.TaskExecutor taskExecutor, org.apache.polaris.service.events.PolarisEventListener polarisEventListener)
    Creates an instance of a TestServices record class.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter
    Returns the value of the catalogAdapter record component.
    org.apache.polaris.service.admin.api.PolarisCatalogsApi
    Returns the value of the catalogsApi record component.
    org.apache.polaris.core.config.PolarisConfigurationStore
    Returns the value of the configurationStore record component.
    org.apache.polaris.service.config.RealmEntityManagerFactory
    Returns the value of the entityManagerFactory record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    org.apache.polaris.service.catalog.io.FileIOFactory
    Returns the value of the fileIOFactory record component.
    final int
    Returns a hash code value for this object.
    org.apache.polaris.core.persistence.MetaStoreManagerFactory
    Returns the value of the metaStoreManagerFactory record component.
    org.apache.polaris.core.PolarisDiagnostics
    Returns the value of the polarisDiagnostics record component.
    org.apache.polaris.service.events.PolarisEventListener
    Returns the value of the polarisEventListener record component.
    org.apache.polaris.core.context.RealmContext
    Returns the value of the realmContext record component.
    org.apache.polaris.service.catalog.api.IcebergRestCatalogApi
    Returns the value of the restApi record component.
    org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi
    Returns the value of the restConfigurationApi record component.
    jakarta.ws.rs.core.SecurityContext
    Returns the value of the securityContext 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(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.service.config.RealmEntityManagerFactory entityManagerFactory, org.apache.polaris.core.persistence.MetaStoreManagerFactory metaStoreManagerFactory, org.apache.polaris.core.context.RealmContext realmContext, jakarta.ws.rs.core.SecurityContext securityContext, org.apache.polaris.service.catalog.io.FileIOFactory fileIOFactory, org.apache.polaris.service.task.TaskExecutor taskExecutor, org.apache.polaris.service.events.PolarisEventListener polarisEventListener)
      Creates an instance of a TestServices record class.
      Parameters:
      catalogsApi - the value for the catalogsApi record component
      restApi - the value for the restApi record component
      restConfigurationApi - the value for the restConfigurationApi record component
      catalogAdapter - the value for the catalogAdapter record component
      configurationStore - the value for the configurationStore record component
      polarisDiagnostics - the value for the polarisDiagnostics record component
      entityManagerFactory - the value for the entityManagerFactory record component
      metaStoreManagerFactory - the value for the metaStoreManagerFactory record component
      realmContext - the value for the realmContext record component
      securityContext - the value for the securityContext record component
      fileIOFactory - the value for the fileIOFactory record component
      taskExecutor - the value for the taskExecutor record component
      polarisEventListener - the value for the polarisEventListener record component
  • Method Details

    • builder

      public static TestServices.Builder builder()
    • 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.
    • catalogsApi

      public org.apache.polaris.service.admin.api.PolarisCatalogsApi catalogsApi()
      Returns the value of the catalogsApi record component.
      Returns:
      the value of the catalogsApi record component
    • restApi

      public org.apache.polaris.service.catalog.api.IcebergRestCatalogApi restApi()
      Returns the value of the restApi record component.
      Returns:
      the value of the restApi record component
    • restConfigurationApi

      public org.apache.polaris.service.catalog.api.IcebergRestConfigurationApi restConfigurationApi()
      Returns the value of the restConfigurationApi record component.
      Returns:
      the value of the restConfigurationApi record component
    • catalogAdapter

      public org.apache.polaris.service.catalog.iceberg.IcebergCatalogAdapter catalogAdapter()
      Returns the value of the catalogAdapter record component.
      Returns:
      the value of the catalogAdapter record component
    • configurationStore

      public org.apache.polaris.core.config.PolarisConfigurationStore configurationStore()
      Returns the value of the configurationStore record component.
      Returns:
      the value of the configurationStore 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
    • entityManagerFactory

      public org.apache.polaris.service.config.RealmEntityManagerFactory entityManagerFactory()
      Returns the value of the entityManagerFactory record component.
      Returns:
      the value of the entityManagerFactory 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
    • securityContext

      public jakarta.ws.rs.core.SecurityContext securityContext()
      Returns the value of the securityContext record component.
      Returns:
      the value of the securityContext 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
    • polarisEventListener

      public org.apache.polaris.service.events.PolarisEventListener polarisEventListener()
      Returns the value of the polarisEventListener record component.
      Returns:
      the value of the polarisEventListener record component