Class SelectUserAuthTokenNodes
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.sql.SelectUserAuthTokenNodes
- All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementCreator,org.springframework.jdbc.core.SqlProvider
public class SelectUserAuthTokenNodes
extends Object
implements org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider
Select for
[token,nodeId] tuples.
The result columns in the SQL are:
- token_id (VARCHAR)
- node_id (BIGINT)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SelectUserAuthTokenNodes
Constructor.- Parameters:
tokenId- the token ID- Throws:
IllegalArgumentException- iftokenIdis null
-
-
Method Details
-
getSql
- Specified by:
getSqlin interfaceorg.springframework.jdbc.core.SqlProvider
-
createPreparedStatement
- Specified by:
createPreparedStatementin interfaceorg.springframework.jdbc.core.PreparedStatementCreator- Throws:
SQLException
-