Package org.apache.iceberg.rest
Class HTTPClientFactory
- java.lang.Object
-
- org.apache.iceberg.rest.HTTPClientFactory
-
- All Implemented Interfaces:
java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,RESTClient>
public class HTTPClientFactory extends java.lang.Object implements java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,RESTClient>
Takes in the full configuration for theRESTSessionCatalog, which should already have called the server's initial configuration route. Using the merged configuration, an instance ofRESTClientis obtained that can be used with the RESTCatalog.
-
-
Constructor Summary
Constructors Constructor Description HTTPClientFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RESTClientapply(java.util.Map<java.lang.String,java.lang.String> properties)
-
-
-
Method Detail
-
apply
public RESTClient apply(java.util.Map<java.lang.String,java.lang.String> properties)
- Specified by:
applyin interfacejava.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,RESTClient>
-
-