public class ResultSetBlocks
extends java.lang.Object
Constructor and Description |
---|
ResultSetBlocks(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 blocks table.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ReplacedBlock> |
getData() |
ReplacedBlock |
getReplacedBlock() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the blocks table.
|
public ResultSetBlocks(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 ReplacedBlock getReplacedBlock()
public java.util.List<ReplacedBlock> getData()