public abstract class HopsworksConnectionBase extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected String |
apiKeyFilePath |
protected String |
apiKeyValue |
protected String |
certPath |
protected FeatureStoreApi |
featureStoreApi |
protected String |
host |
protected boolean |
hostnameVerification |
protected String |
keyStorePath |
protected int |
port |
protected String |
project |
protected ProjectApi |
projectApi |
protected Project |
projectObj |
protected software.amazon.awssdk.regions.Region |
region |
protected SecretStore |
secretStore |
protected String |
trustStorePath |
Constructor and Description |
---|
HopsworksConnectionBase() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the connection and clean up the certificates.
|
abstract Object |
getFeatureStore() |
abstract Object |
getFeatureStore(String name) |
Project |
getProject() |
String |
getProjectName(String project) |
String |
rewriteFeatureStoreName(String name) |
protected String host
protected int port
protected String project
protected software.amazon.awssdk.regions.Region region
protected SecretStore secretStore
protected boolean hostnameVerification
protected String keyStorePath
protected String trustStorePath
protected String certPath
protected String apiKeyFilePath
protected String apiKeyValue
protected FeatureStoreApi featureStoreApi
protected ProjectApi projectApi
protected Project projectObj
public abstract Object getFeatureStore() throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getFeatureStore(String name) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public Project getProject() throws IOException, FeatureStoreException
IOException
FeatureStoreException
Copyright © 2023. All rights reserved.