public class ResultSetChunks
extends java.lang.Object
Constructor and Description |
---|
ResultSetChunks(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 chunks table.
|
Modifier and Type | Method and Description |
---|---|
int |
getChunk_id() |
java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> |
getData() |
int |
getTardis_id() |
java.lang.String |
getWorld() |
int |
getX() |
int |
getZ() |
boolean |
resultSet()
Retrieves an SQL ResultSet from the chunks table.
|
public ResultSetChunks(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 int getChunk_id()
public int getTardis_id()
public java.lang.String getWorld()
public int getX()
public int getZ()
public java.util.ArrayList<java.util.HashMap<java.lang.String,java.lang.String>> getData()