Package org.apache.polaris.service
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 ClassesModifier and TypeClassDescriptionstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionTestServices(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 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.org.apache.polaris.core.config.PolarisConfigurationStoreReturns the value of theconfigurationStorerecord component.org.apache.polaris.service.config.RealmEntityManagerFactoryReturns the value of theentityManagerFactoryrecord 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.MetaStoreManagerFactoryReturns the value of themetaStoreManagerFactoryrecord component.org.apache.polaris.core.PolarisDiagnosticsReturns the value of thepolarisDiagnosticsrecord component.org.apache.polaris.service.events.PolarisEventListenerReturns the value of thepolarisEventListenerrecord component.org.apache.polaris.core.context.RealmContextReturns the value of therealmContextrecord 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.task.TaskExecutorReturns the value of thetaskExecutorrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aTestServicesrecord class.- Parameters:
catalogsApi- 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 componententityManagerFactory- the value for theentityManagerFactoryrecord componentmetaStoreManagerFactory- the value for themetaStoreManagerFactoryrecord componentrealmContext- the value for therealmContextrecord componentsecurityContext- the value for thesecurityContextrecord componentfileIOFactory- the value for thefileIOFactoryrecord componenttaskExecutor- the value for thetaskExecutorrecord componentpolarisEventListener- the value for thepolarisEventListenerrecord component
-
-
Method Details
-
builder
-
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). -
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
-
entityManagerFactory
public org.apache.polaris.service.config.RealmEntityManagerFactory entityManagerFactory()Returns the value of theentityManagerFactoryrecord component.- Returns:
- the value of the
entityManagerFactoryrecord 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
-
securityContext
public jakarta.ws.rs.core.SecurityContext securityContext()Returns the value of thesecurityContextrecord component.- Returns:
- the value of the
securityContextrecord 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.PolarisEventListener polarisEventListener()Returns the value of thepolarisEventListenerrecord component.- Returns:
- the value of the
polarisEventListenerrecord component
-