Class DatarouterAccountDao
java.lang.Object
io.datarouter.storage.dao.BaseDao
io.datarouter.auth.storage.account.DatarouterAccountDao
- All Implemented Interfaces:
BaseDatarouterAccountDao,io.datarouter.storage.dao.Dao
@Singleton public class DatarouterAccountDao extends io.datarouter.storage.dao.BaseDao implements BaseDatarouterAccountDao
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatarouterAccountDao.DatarouterAccountDaoParams -
Constructor Summary
Constructors Constructor Description DatarouterAccountDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, DatarouterAccountDao.DatarouterAccountDaoParams params) -
Method Summary
Modifier and Type Method Description voiddelete(DatarouterAccountKey key)booleanexists(DatarouterAccountKey key)Optional<DatarouterAccount>find(DatarouterAccountKey key)DatarouterAccountget(DatarouterAccountKey key)voidput(DatarouterAccount databean)voidputMulti(Collection<DatarouterAccount> databeans)io.datarouter.scanner.Scanner<DatarouterAccount>scan()io.datarouter.scanner.Scanner<DatarouterAccountKey>scanKeys()io.datarouter.scanner.Scanner<DatarouterAccount>scanMulti(Collection<DatarouterAccountKey> keys)
-
Constructor Details
-
DatarouterAccountDao
@Inject public DatarouterAccountDao(io.datarouter.storage.Datarouter datarouter, io.datarouter.storage.node.factory.NodeFactory nodeFactory, DatarouterAccountDao.DatarouterAccountDaoParams params)
-
-
Method Details
-
put
- Specified by:
putin interfaceBaseDatarouterAccountDao
-
putMulti
- Specified by:
putMultiin interfaceBaseDatarouterAccountDao
-
get
- Specified by:
getin interfaceBaseDatarouterAccountDao
-
scanMulti
public io.datarouter.scanner.Scanner<DatarouterAccount> scanMulti(Collection<DatarouterAccountKey> keys)- Specified by:
scanMultiin interfaceBaseDatarouterAccountDao
-
scan
- Specified by:
scanin interfaceBaseDatarouterAccountDao
-
scanKeys
- Specified by:
scanKeysin interfaceBaseDatarouterAccountDao
-
exists
- Specified by:
existsin interfaceBaseDatarouterAccountDao
-
delete
- Specified by:
deletein interfaceBaseDatarouterAccountDao
-
find
- Specified by:
findin interfaceBaseDatarouterAccountDao
-