Package com.ptsmods.mysqlw.query
Class SelectResults.SelectResultRow
- Enclosing class:
SelectResults
A row in
SelectResults
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) entrySet()
<T> T
Returns a type registered usingDatabase.registerTypeConverter(Class, Function, Function)
.boolean
getBoolean
(String column) byte
byte[]
getByteArray
(String column) double
float
int
long
short
getTimestamp
(String column) toString()
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Method Details
-
getColumns
- Returns:
- A list of all columns in this row.
-
toString
- Overrides:
toString
in classAbstractMap<String,
Object>
-
containsKey
- Specified by:
containsKey
in interfaceMap<String,
Object> - Overrides:
containsKey
in classAbstractMap<String,
Object>
-
get
-
getString
-
getUUID
-
getNumber
-
getBoolean
-
getByte
-
getShort
-
getInt
-
getLong
-
getFloat
-
getDouble
-
getTimestamp
-
getDate
-
getTime
-
getByteArray
-
getBlob
-
get
Returns a type registered usingDatabase.registerTypeConverter(Class, Function, Function)
.- Type Parameters:
T
- The generic type of the object.- Parameters:
column
- The column to get the object from.type
- The class of the object.- Returns:
- The object in this column.
-
entrySet
-