Class QueryResult
java.lang.Object
blazing.sql.QueryResult
-
Constructor Summary
ConstructorsConstructorDescriptionQueryResult(Connection conn, String stmt) Used to create a SQL statement from a connection and String. -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute()Executes the SQL statement<T> List<T> Performs Generic Object Relational Mapping of SQL columns to actual instances of a class.setByte(int index, byte value) Sets the byte value at column specified by index.setBytes(int index, byte[] value) Sets the byte array value at column specified by index.setDouble(int index, double value) Sets the double value at column specified by index.setFloat(int index, float value) Sets the float value at column specified by index.setInt(int index, int value) Sets the int value at column specified by index.setLong(int index, long value) Sets the long value at column specified by index.setShort(int index, short value) Sets the short value at column specified by index.Sets the double value at column specified by index.Executes the SQL statement into a result set
-
Constructor Details
-
QueryResult
Used to create a SQL statement from a connection and String.- Parameters:
conn-stmt-
-
-
Method Details
-
setInt
Sets the int value at column specified by index.- Parameters:
index-value-- Returns:
-
setFloat
Sets the float value at column specified by index.- Parameters:
index-value-- Returns:
-
setDouble
Sets the double value at column specified by index.- Parameters:
index-value-- Returns:
-
setString
Sets the double value at column specified by index.- Parameters:
index-value-- Returns:
-
setShort
Sets the short value at column specified by index.- Parameters:
index-value-- Returns:
-
setLong
Sets the long value at column specified by index.- Parameters:
index-value-- Returns:
-
setByte
Sets the byte value at column specified by index.- Parameters:
index-value-- Returns:
-
setBytes
Sets the byte array value at column specified by index.- Parameters:
index-value-- Returns:
-
toResultSet
-
execute
public boolean execute()Executes the SQL statement- Returns:
-
mapExec
-