Class DatarouterAccountCredentialDao
java.lang.Object
io.datarouter.storage.dao.BaseDao
io.datarouter.auth.storage.account.DatarouterAccountCredentialDao
- All Implemented Interfaces:
BaseDatarouterAccountCredentialDao,io.datarouter.storage.dao.Dao
@Singleton public class DatarouterAccountCredentialDao extends io.datarouter.storage.dao.BaseDao implements BaseDatarouterAccountCredentialDao
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatarouterAccountCredentialDao.DatarouterAccountCredentialDaoParams -
Constructor Summary
Constructors Constructor Description DatarouterAccountCredentialDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, io.datarouter.storage.node.factory.IndexingNodeFactory indexingNodeFactory, DatarouterAccountCredentialDao.DatarouterAccountCredentialDaoParams params, DatarouterAuthExecutors.DatarouterAccountCredentialCacheExecutor executor) -
Method Summary
-
Constructor Details
-
DatarouterAccountCredentialDao
@Inject public DatarouterAccountCredentialDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, io.datarouter.storage.node.factory.IndexingNodeFactory indexingNodeFactory, DatarouterAccountCredentialDao.DatarouterAccountCredentialDaoParams params, DatarouterAuthExecutors.DatarouterAccountCredentialCacheExecutor executor)
-
-
Method Details
-
put
- Specified by:
putin interfaceBaseDatarouterAccountCredentialDao
-
putMulti
- Specified by:
putMultiin interfaceBaseDatarouterAccountCredentialDao
-
get
- Specified by:
getin interfaceBaseDatarouterAccountCredentialDao
-
scan
- Specified by:
scanin interfaceBaseDatarouterAccountCredentialDao
-
scanMulti
public io.datarouter.scanner.Scanner<DatarouterAccountCredential> scanMulti(java.util.Collection<DatarouterAccountCredentialKey> keys)- Specified by:
scanMultiin interfaceBaseDatarouterAccountCredentialDao
-
scanKeys
- Specified by:
scanKeysin interfaceBaseDatarouterAccountCredentialDao
-
scanByAccountName
public io.datarouter.scanner.Scanner<DatarouterAccountCredential> scanByAccountName(java.util.Collection<java.lang.String> accountNames)- Specified by:
scanByAccountNamein interfaceBaseDatarouterAccountCredentialDao
-
exists
- Specified by:
existsin interfaceBaseDatarouterAccountCredentialDao
-
delete
- Specified by:
deletein interfaceBaseDatarouterAccountCredentialDao
-
deleteByAccountName
public void deleteByAccountName(java.lang.String accountName)- Specified by:
deleteByAccountNamein interfaceBaseDatarouterAccountCredentialDao
-
find
- Specified by:
findin interfaceBaseDatarouterAccountCredentialDao
-
getFromAccountCredentialByAccountNameCache
public java.util.Optional<DatarouterAccountCredential> getFromAccountCredentialByAccountNameCache(java.lang.String accountName)- Specified by:
getFromAccountCredentialByAccountNameCachein interfaceBaseDatarouterAccountCredentialDao
-
getFromAccountCredentialByApiKeyCache
public java.util.Optional<DatarouterAccountCredential> getFromAccountCredentialByApiKeyCache(java.lang.String apiKey)- Specified by:
getFromAccountCredentialByApiKeyCachein interfaceBaseDatarouterAccountCredentialDao
-