public class ResultSetTardis
extends java.lang.Object
Constructor and Description |
---|
ResultSetTardis(TARDIS plugin,
java.util.HashMap<java.lang.String,java.lang.Object> where,
java.lang.String limit,
boolean multiple,
int abandoned)
Creates a class instance that can be used to retrieve an SQL ResultSet from the tardis table.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Tardis> |
getData() |
Tardis |
getTardis() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the tardis table.
|
public ResultSetTardis(TARDIS plugin, java.util.HashMap<java.lang.String,java.lang.Object> where, java.lang.String limit, boolean multiple, int abandoned)
plugin
- an instance of the main class.where
- a HashMap<String, Object> of table fields and values to refine the search.limit
- an SQL LIMIT statementmultiple
- a boolean indicating whether multiple rows should be fetchedabandoned
- whether to select TARDISes that are abandoned (1) or not (0)public boolean resultSet()
public Tardis getTardis()
public java.util.List<Tardis> getData()