public class PgViewResultSet
extends oracle.pg.rdbms.pgql.PgqlResultSetImpl
Constructor and Description |
---|
PgViewResultSet(java.sql.ResultSet rs, java.sql.Statement stmt, int fetchSize, oracle.pg.rdbms.pgql.QueryContext ctx, PgqlExecution ope, long id)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getBoolean(int elementIdx)
Gets the value of the designated element by element index as a
Boolean |
java.lang.Boolean |
getBoolean(java.lang.String elementName)
Gets the value of the designated element by element name as a
Boolean |
java.time.LocalDate |
getDate(int columnIdx)
Retrieves the value of the designated column in the current row as a
LocalDate |
java.time.LocalDate |
getDate(java.lang.String columnName)
Retrieves the value of the designated column in the current row as a
LocalDate |
java.lang.Double |
getDouble(int elementIdx)
Gets the value of the designated element by element index as a
Double |
java.lang.Double |
getDouble(java.lang.String elementName)
Gets the value of the designated element by element name as a
Double |
java.lang.Float |
getFloat(int elementIdx)
Gets the value of the designated element by element index as a
Float |
java.lang.Float |
getFloat(java.lang.String elementName)
Gets the value of the designated element by element name as a
Float |
java.lang.Integer |
getInteger(int elementIdx)
Gets the value of the designated element by element index as an
Integer |
java.lang.Integer |
getInteger(java.lang.String elementName)
Gets the value of the designated element by element name as an
Integer |
java.lang.Long |
getLong(int elementIdx)
Gets the value of the designated element by element index as a
Long |
java.lang.Long |
getLong(java.lang.String elementName)
Gets the value of the designated element by element name as a
Long |
oracle.pgql.lang.ResultSetMetaData |
getMetaData()
Retrieves the number and properties of this
ResultSet object's columns. |
java.lang.Object |
getObject(int elementIdx)
Gets the value of the designated element by element name as an
Object |
java.lang.Object |
getObject(java.lang.String elementName)
Gets the value of the designated element by element name as an
Object |
java.lang.String |
getString(int elementIdx)
Gets the value of the designated element by element index as a
String |
java.lang.String |
getString(java.lang.String elementName)
Gets the value of the designated element by element name as a
String |
java.time.LocalTime |
getTime(int columnIdx)
Retrieves the value of the designated column in the current row as a
LocalTime |
java.time.LocalTime |
getTime(java.lang.String columnName)
Retrieves the value of the designated column in the current row as a
LocalTime |
java.time.LocalDateTime |
getTimestamp(int columnIdx)
Retrieves the value of the designated column in the current row as a
LocalDateTime |
java.time.LocalDateTime |
getTimestamp(java.lang.String columnName)
Retrieves the value of the designated column in the current row as a
LocalDateTime |
java.time.OffsetDateTime |
getTimestampWithTimezone(int elementIdx)
Gets the value of the designated element by element index as an
OffsetDateTime |
java.time.OffsetDateTime |
getTimestampWithTimezone(java.lang.String elementName)
Gets the value of the designated element by element name as an
OffsetDateTime |
java.time.OffsetTime |
getTimeWithTimezone(int columnIdx)
Retrieves the value of the designated column in the current row as an
OffsetTime |
java.time.OffsetTime |
getTimeWithTimezone(java.lang.String columnName)
Retrieves the value of the designated column in the current row as an
OffsetTime |
int |
getValueType(int elementIdx)
Returns the type of value for the given element.
|
int |
getValueType(java.lang.String elementName)
Returns the type of value for the given element.
|
absolute, afterLast, beforeFirst, close, first, getLegacyDate, getLegacyDate, getList, getList, getVertexLabels, getVertexLabels, iterator, last, next, previous, print, print, relative
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
print, print
public PgViewResultSet(java.sql.ResultSet rs, java.sql.Statement stmt, int fetchSize, oracle.pg.rdbms.pgql.QueryContext ctx, PgqlExecution ope, long id) throws java.sql.SQLException
rs
- JDBC ResultSet object for the SQL translation of this PGQL querystmt
- JDBC Statement used to create this result setfetchSize
- the fetch size to use for the result setctx
- the context for this query (flags, etc.)ope
- the PgqlExecution object that generated this result setid
- the id for this result setjava.sql.SQLException
- if a database access error occurspublic java.lang.Boolean getBoolean(int elementIdx) throws oracle.pgql.lang.PgqlException
Boolean
elementIdx
- element indexBoolean
oracle.pgql.lang.PgqlException
public java.lang.Boolean getBoolean(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
Boolean
elementName
- element nameBoolean
oracle.pgql.lang.PgqlException
public java.time.LocalDate getDate(int columnIdx) throws oracle.pgql.lang.PgqlException
LocalDate
getDate
in interface oracle.pgql.lang.ResultAccess
getDate
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnIdx
- column indexLocalDate
oracle.pgql.lang.PgqlException
public java.time.LocalDate getDate(java.lang.String columnName) throws oracle.pgql.lang.PgqlException
LocalDate
getDate
in interface oracle.pgql.lang.ResultAccess
getDate
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnName
- column nameLocalDate
oracle.pgql.lang.PgqlException
public java.lang.Double getDouble(int elementIdx) throws oracle.pgql.lang.PgqlException
Double
elementIdx
- element indexDouble
oracle.pgql.lang.PgqlException
public java.lang.Double getDouble(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
Double
elementName
- element nameDouble
oracle.pgql.lang.PgqlException
public java.lang.Float getFloat(int elementIdx) throws oracle.pgql.lang.PgqlException
Float
elementIdx
- element indexFloat
oracle.pgql.lang.PgqlException
public java.lang.Float getFloat(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
Float
elementName
- element nameFloat
oracle.pgql.lang.PgqlException
public java.lang.Integer getInteger(int elementIdx) throws oracle.pgql.lang.PgqlException
Integer
elementIdx
- element indexInteger
oracle.pgql.lang.PgqlException
public java.lang.Integer getInteger(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
Integer
elementName
- element nameInteger
oracle.pgql.lang.PgqlException
public java.lang.Long getLong(int elementIdx) throws oracle.pgql.lang.PgqlException
Long
elementIdx
- element indexLong
oracle.pgql.lang.PgqlException
public java.lang.Long getLong(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
Long
elementName
- element nameLong
oracle.pgql.lang.PgqlException
public oracle.pgql.lang.ResultSetMetaData getMetaData()
ResultSet
object's columns.ResultSet
object's columnspublic java.lang.Object getObject(int elementIdx) throws oracle.pgql.lang.PgqlException
Object
elementIdx
- element indexObject
oracle.pgql.lang.PgqlException
public java.lang.Object getObject(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
Object
elementName
- element nameObject
oracle.pgql.lang.PgqlException
public java.lang.String getString(int elementIdx) throws oracle.pgql.lang.PgqlException
String
elementIdx
- element indexString
oracle.pgql.lang.PgqlException
public java.lang.String getString(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
String
elementName
- element nameString
oracle.pgql.lang.PgqlException
public java.time.LocalTime getTime(int columnIdx) throws oracle.pgql.lang.PgqlException
LocalTime
getTime
in interface oracle.pgql.lang.ResultAccess
getTime
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnIdx
- column indexLocalTime
oracle.pgql.lang.PgqlException
public java.time.LocalTime getTime(java.lang.String columnName) throws oracle.pgql.lang.PgqlException
LocalTime
getTime
in interface oracle.pgql.lang.ResultAccess
getTime
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnName
- column nameLocalTime
oracle.pgql.lang.PgqlException
public java.time.LocalDateTime getTimestamp(int columnIdx) throws oracle.pgql.lang.PgqlException
LocalDateTime
getTimestamp
in interface oracle.pgql.lang.ResultAccess
getTimestamp
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnIdx
- column indexLocalDateTime
oracle.pgql.lang.PgqlException
public java.time.LocalDateTime getTimestamp(java.lang.String columnName) throws oracle.pgql.lang.PgqlException
LocalDateTime
getTimestamp
in interface oracle.pgql.lang.ResultAccess
getTimestamp
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnName
- column nameLocalDateTime
oracle.pgql.lang.PgqlException
public java.time.OffsetDateTime getTimestampWithTimezone(int elementIdx) throws oracle.pgql.lang.PgqlException
OffsetDateTime
getTimestampWithTimezone
in interface oracle.pgql.lang.ResultAccess
getTimestampWithTimezone
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
elementIdx
- element indexOffsetDateTime
oracle.pgql.lang.PgqlException
public java.time.OffsetDateTime getTimestampWithTimezone(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
OffsetDateTime
elementName
- element nameOffsetDateTime
oracle.pgql.lang.PgqlException
public java.time.OffsetTime getTimeWithTimezone(int columnIdx) throws oracle.pgql.lang.PgqlException
OffsetTime
getTimeWithTimezone
in interface oracle.pgql.lang.ResultAccess
getTimeWithTimezone
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnIdx
- column indexOffsetTime
oracle.pgql.lang.PgqlException
public java.time.OffsetTime getTimeWithTimezone(java.lang.String columnName) throws oracle.pgql.lang.PgqlException
OffsetTime
getTimeWithTimezone
in interface oracle.pgql.lang.ResultAccess
getTimeWithTimezone
in class oracle.pg.rdbms.pgql.PgqlResultSetImpl
columnName
- column nameOffsetTime
oracle.pgql.lang.PgqlException
public int getValueType(int elementIdx) throws oracle.pgql.lang.PgqlException
PgqlResultSet
elementIdx
- element indexoracle.pgql.lang.PgqlException
- when an error occurs while retrieving the value typepublic int getValueType(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
PgqlResultSet
elementName
- element nameoracle.pgql.lang.PgqlException
- when an error occurs while retrieving the value type