public interface PgqlResultSet
extends oracle.pgql.lang.ResultSet<oracle.pgql.lang.ResultAccess>
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the underlying JDBC ResultSet and Statement.
|
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.
|
PgqlResultSet |
print()
Prints all results to
System.out . |
default PgqlResultSet |
print(long numResults)
Prints
numResults results to System.out . |
default PgqlResultSet |
print(long numResults, int from)
Prints
numResults results from from th result to System.out . |
PgqlResultSet |
print(java.io.PrintStream printStream, long numResults, int from)
Same as
print(long, int) except that this method prints content to printStream . |
absolute, afterLast, beforeFirst, first, getMetaData, last, next, previous, relative
getBoolean, getBoolean, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLegacyDate, getLegacyDate, getList, getList, getLong, getLong, getObject, getObject, getString, getString, getTime, getTime, getTimestamp, getTimestamp, getTimestampWithTimezone, getTimestampWithTimezone, getTimeWithTimezone, getTimeWithTimezone, getVertexLabels, getVertexLabels
void close() throws oracle.pgql.lang.PgqlException
close
in interface java.lang.AutoCloseable
close
in interface oracle.pgql.lang.ResultSet<oracle.pgql.lang.ResultAccess>
oracle.pgql.lang.PgqlException
int getValueType(int elementIdx) throws oracle.pgql.lang.PgqlException
elementIdx
- element indexoracle.pgql.lang.PgqlException
- when an error occurs while retrieving the value typeint getValueType(java.lang.String elementName) throws oracle.pgql.lang.PgqlException
elementName
- element nameoracle.pgql.lang.PgqlException
- when an error occurs while retrieving the value typePgqlResultSet print()
System.out
.PgqlResultSet
default PgqlResultSet print(long numResults)
numResults
results to System.out
. If numResults
is larger than the number of available results, only the number of available results are printed.numResults
- number of resultsPgqlResultSet
default PgqlResultSet print(long numResults, int from)
numResults
results from from
th result to System.out
.numResults
- number of resultsfrom
- first result to be printed (start counting from 0)PgqlResultSet
PgqlResultSet print(java.io.PrintStream printStream, long numResults, int from)
print(long, int)
except that this method prints content to printStream
.printStream
- stream to which results are printednumResults
- number of resultsfrom
- first result to be printed (start counting from 0)PgqlResultSet