Class SelectionResult
java.lang.Object
io.github.mrtesz.teszcore.db.selection.SelectionResult
- All Implemented Interfaces:
Copyable<SelectionResult>
Class for simple handling of a single table row.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()copy()Copy the executing classentrySet()getBoolean(@NotNull String columnName) getBoolean(@NotNull String columnName, Boolean def) getTimestamp(@NotNull String columnName) getTimestamp(@NotNull String columnName, Timestamp def) booleanisEmpty()
-
Constructor Details
-
SelectionResult
public SelectionResult()
-
-
Method Details
-
get
-
get
-
getString
- Throws:
DatabaseException
-
getString
-
getInt
- Throws:
DatabaseException
-
getInt
-
getLong
- Throws:
DatabaseException
-
getLong
-
getDouble
- Throws:
DatabaseException
-
getDouble
-
getFloat
- Throws:
DatabaseException
-
getFloat
-
getBoolean
- Throws:
DatabaseException
-
getBoolean
-
getDate
- Throws:
DatabaseException
-
getDate
-
getTimestamp
- Throws:
DatabaseException
-
getTimestamp
-
isEmpty
public boolean isEmpty() -
entrySet
-
asMap
-
copy
Description copied from interface:CopyableCopy the executing class- Specified by:
copyin interfaceCopyable<SelectionResult>- Returns:
- a copy of the class executed in
-