public class PostgresResult extends JdbcResultResource
_metaData, _rs, BLOB, COLUMN_CASE_LOWER, COLUMN_CASE_NATURAL, COLUMN_CASE_UPPER, DATE, DATETIME, FETCH_ASSOC, FETCH_BOTH, FETCH_NUM, INTEGER, REAL, STRING, TIME, TIMESTAMP, UNKNOWN, YEAR
Constructor and Description |
---|
PostgresResult(Postgres conn,
java.sql.ResultSetMetaData metaData)
Constructor for PostgresResult
|
PostgresResult(Postgres conn,
java.sql.Statement stmt,
java.sql.ResultSet rs)
Constructor for PostgresResult
|
Modifier and Type | Method and Description |
---|---|
protected Value |
getColumnDate(Env env,
java.sql.ResultSet rs,
int column) |
protected Value |
getColumnTime(Env env,
java.sql.ResultSet rs,
int column) |
protected Value |
getColumnTimestamp(Env env,
java.sql.ResultSet rs,
int column) |
protected Postgres |
getConnection() |
protected java.sql.Statement |
getJavaStatement(Env env) |
boolean |
getPassedNullRow()
Returns whether a NULL row parameter has been
passed in or not.
|
void |
setPassedNullRow()
Sets that a NULL row parameter has been passed in.
|
close, fetchArray, fetchArray, fetchAssoc, fetchBoth, fetchBound, fetchField, fetchNum, fetchObject, fetchRow, getAffectedRows, getBlobValue, getClobValue, getColumnLabel, getColumnNumber, getColumnNumber, getColumnString, getColumnValue, getColumnValue, getFieldCatalog, getFieldCount, getFieldLength, getFieldName, getFieldNameAlias, getFieldNotNull, getFieldOffset, getFieldScale, getFieldSchema, getFieldTable, getFieldType, getFieldType, getJdbcType, getLengths, getMetaData, getNumFields, getNumRows, getResultField, getResultSet, getUnicodeColumnString, isInResultString, isValidFieldOffset, next, seek, setAffectedRows, setFieldOffset, setRowNumber, toString, validateResult
public PostgresResult(Postgres conn, java.sql.Statement stmt, java.sql.ResultSet rs)
stmt
- the corresponding statementrs
- the corresponding result setconn
- the corresponding connectionpublic PostgresResult(Postgres conn, java.sql.ResultSetMetaData metaData)
metaData
- the corresponding result set meta dataconn
- the corresponding connectionpublic void setPassedNullRow()
public boolean getPassedNullRow()
protected Value getColumnTime(Env env, java.sql.ResultSet rs, int column) throws java.sql.SQLException
getColumnTime
in class JdbcResultResource
java.sql.SQLException
protected Value getColumnDate(Env env, java.sql.ResultSet rs, int column) throws java.sql.SQLException
getColumnDate
in class JdbcResultResource
java.sql.SQLException
protected Value getColumnTimestamp(Env env, java.sql.ResultSet rs, int column) throws java.sql.SQLException
getColumnTimestamp
in class JdbcResultResource
java.sql.SQLException
protected Postgres getConnection()
protected java.sql.Statement getJavaStatement(Env env)