Package org.apache.flink.table.secret
Class GenericInMemorySecretStoreFactory
- java.lang.Object
-
- org.apache.flink.table.secret.GenericInMemorySecretStoreFactory
-
- All Implemented Interfaces:
org.apache.flink.table.factories.Factory,org.apache.flink.table.secret.SecretStoreFactory
@Internal public class GenericInMemorySecretStoreFactory extends Object implements org.apache.flink.table.secret.SecretStoreFactory
Factory for creatingGenericInMemorySecretStoreinstances.This factory creates in-memory secret stores that are suitable for testing and development purposes. Secrets are stored in plaintext JSON format in memory and are not persisted.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIER
-
Constructor Summary
Constructors Constructor Description GenericInMemorySecretStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.apache.flink.table.secret.SecretStorecreateSecretStore()StringfactoryIdentifier()voidopen(org.apache.flink.table.secret.SecretStoreFactory.Context context)Set<org.apache.flink.configuration.ConfigOption<?>>optionalOptions()Set<org.apache.flink.configuration.ConfigOption<?>>requiredOptions()
-
-
-
Field Detail
-
IDENTIFIER
public static final String IDENTIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
factoryIdentifier
public String factoryIdentifier()
- Specified by:
factoryIdentifierin interfaceorg.apache.flink.table.factories.Factory
-
requiredOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> requiredOptions()
- Specified by:
requiredOptionsin interfaceorg.apache.flink.table.factories.Factory
-
optionalOptions
public Set<org.apache.flink.configuration.ConfigOption<?>> optionalOptions()
- Specified by:
optionalOptionsin interfaceorg.apache.flink.table.factories.Factory
-
createSecretStore
public org.apache.flink.table.secret.SecretStore createSecretStore()
- Specified by:
createSecretStorein interfaceorg.apache.flink.table.secret.SecretStoreFactory
-
open
public void open(org.apache.flink.table.secret.SecretStoreFactory.Context context)
- Specified by:
openin interfaceorg.apache.flink.table.secret.SecretStoreFactory
-
close
public void close() throws org.apache.flink.table.catalog.exceptions.CatalogException- Specified by:
closein interfaceorg.apache.flink.table.secret.SecretStoreFactory- Throws:
org.apache.flink.table.catalog.exceptions.CatalogException
-
-