Class StatementResult
- java.lang.Object
-
- com.mrivanplays.sqlhelper.statement.result.StatementResult
-
public final class StatementResult extends Object
Represents a statement result, featuring one row of all the columns a table has.
-
-
Constructor Summary
Constructors Constructor Description StatementResult(Map<String,Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getBoolean(String column)
Returns the column's value specified as a booleanNumber
getNumber(String column)
Returns the column's value specified as a numberObject
getObject(String column)
Returns the column's value specified as a raw object.String
getString(String column)
Returns the column's value specified as a string.
-
-
-
Method Detail
-
getObject
public Object getObject(String column)
Returns the column's value specified as a raw object.- Parameters:
column
- the column you want to get the value of- Returns:
- value object
-
getString
public String getString(String column)
Returns the column's value specified as a string.- Parameters:
column
- the column you want to get the value of as a string- Returns:
- value string
-
getNumber
public Number getNumber(String column)
Returns the column's value specified as a number- Parameters:
column
- the column you want to get the value of as a number- Returns:
- value number
-
-