Class VaultKeyValueAdapter
java.lang.Object
org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
org.springframework.vault.repository.core.VaultKeyValueAdapter
- All Implemented Interfaces:
DisposableBean
,KeyValueAdapter
Vault-specific
KeyValueAdapter
.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionVaultKeyValueAdapter
(VaultOperations vaultOperations) Create a newVaultKeyValueAdapter
givenVaultOperations
.VaultKeyValueAdapter
(VaultOperations vaultOperations, VaultConverter vaultConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
long
<T> T
void
deleteAllOf
(String keyspace) <T> T
deleteEntity
(T entity, String keyspace) void
destroy()
<T> T
Iterable<?>
Methods inherited from class org.springframework.data.keyvalue.core.AbstractKeyValueAdapter
count, find, find, getQueryEngine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.keyvalue.core.KeyValueAdapter
entries, exists, getAllOf
-
Constructor Details
-
VaultKeyValueAdapter
Create a newVaultKeyValueAdapter
givenVaultOperations
.- Parameters:
vaultOperations
- must not be null.
-
VaultKeyValueAdapter
- Parameters:
vaultOperations
- must not be null.vaultConverter
- must not be null.
-
-
Method Details
-
put
-
contains
-
get
-
get
- Specified by:
get
in interfaceKeyValueAdapter
- Overrides:
get
in classAbstractKeyValueAdapter
-
delete
-
delete
- Specified by:
delete
in interfaceKeyValueAdapter
- Overrides:
delete
in classAbstractKeyValueAdapter
-
deleteEntity
-
getAllOf
-
entries
-
deleteAllOf
-
clear
public void clear() -
count
-
destroy
- Throws:
Exception
-
getConverter
-
getVaultOperations
-