Uses of Interface
uk.ac.manchester.spinnaker.alloc.db.DatabaseAPI.RowMapper
Package | Description |
---|---|
uk.ac.manchester.spinnaker.alloc.db |
Database support for Spalloc server.
|
-
Uses of DatabaseAPI.RowMapper in uk.ac.manchester.spinnaker.alloc.db
Methods in uk.ac.manchester.spinnaker.alloc.db that return DatabaseAPI.RowMapper Modifier and Type Method Description static DatabaseAPI.RowMapper<Boolean>
Row. bool(String columnLabel)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<byte[]>
Row. bytes(String columnLabel)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<ChipLocation>
Row. chip(String x, String y)
Create a function for extracting a chip from a result set row.static DatabaseAPI.RowMapper<CoreLocation>
Row. core(String x, String y, String p)
Create a function for extracting a core from a result set row.static DatabaseAPI.RowMapper<Duration>
Row. duration(String columnLabel)
Get a function to get the contents of the named column.static <T extends Enum<T>>
DatabaseAPI.RowMapper<T>Row. enumerate(String columnLabel, Class<T> type)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<Instant>
Row. instant(String columnLabel)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<Long>
Row. int64(String columnLabel)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<Integer>
Row. integer(String columnLabel)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<Object>
Row. object(String columnLabel)
Get a function to get the contents of the named column.static <T> DatabaseAPI.RowMapper<T>
Row. serial(String columnLabel, Class<T> cls)
Get a function to get the contents of the named column.static DatabaseAPI.RowMapper<String>
Row. string(String columnLabel)
Get a function to get the contents of the named column.Methods in uk.ac.manchester.spinnaker.alloc.db with parameters of type DatabaseAPI.RowMapper Modifier and Type Method Description <T> List<T>
DatabaseAPI.Query. call(DatabaseAPI.RowMapper<T> mapper, Object... arguments)
Run the query on the given arguments to read a list of objects.<T> Optional<T>
DatabaseAPI.Query. call1(DatabaseAPI.RowMapper<T> mapper, Object... arguments)
Run the query on the given arguments to read a single object.