public class ResultSetLamps
extends java.lang.Object
Constructor and Description |
---|
ResultSetLamps(TARDIS plugin,
java.util.HashMap<java.lang.String,java.lang.Object> where,
boolean multiple)
Creates a class instance that can be used to retrieve an SQL ResultSet from the lamps table.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<org.bukkit.block.Block> |
getData() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the lamps table.
|
public ResultSetLamps(TARDIS plugin, java.util.HashMap<java.lang.String,java.lang.Object> where, boolean multiple)
plugin
- an instance of the main class.where
- a HashMap<String, Object> of table fields and values to refine the search.multiple
- a boolean indicating whether multiple rows should be fetchedpublic boolean resultSet()
public java.util.List<org.bukkit.block.Block> getData()