Package oracle.pgx.api
Interface PgxResult
- All Superinterfaces:
oracle.pgql.lang.ResultAccess,oracle.pgql.lang.spatial.STResultAccess
- All Known Implementing Classes:
ResultImpl
public interface PgxResult
extends oracle.pgql.lang.ResultAccess, oracle.pgql.lang.spatial.STResultAccess
A result of a pattern matching query. The columns can be obtained by one of the get methods. The parameter of the
get methods could be the column name or number. The first column has number 1.
-
Method Summary
Modifier and TypeMethodDescriptiongetEdge(int elementIdx) Gets the value of the designated element by element index as aPgxEdgeGets the value of the designated element by element name as aPgxEdge<ID extends Comparable<ID>>
PgxVertex<ID>getVertex(int elementIdx) Gets the value of the designated element by element index as aPgxVertex<ID extends Comparable<ID>>
PgxVertex<ID>Gets the value of the designated element by element name as aPgxVertexMethods inherited from interface oracle.pgql.lang.ResultAccess
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, getVertexLabelsMethods inherited from interface oracle.pgql.lang.spatial.STResultAccess
getPoint2D, getPoint2D
-
Method Details
-
getVertex
<ID extends Comparable<ID>> PgxVertex<ID> getVertex(int elementIdx) throws oracle.pgql.lang.PgqlException Gets the value of the designated element by element index as aPgxVertex- Parameters:
elementIdx- element index- Returns:
PgxVertex- Throws:
oracle.pgql.lang.PgqlException
-
getVertex
<ID extends Comparable<ID>> PgxVertex<ID> getVertex(String elementName) throws oracle.pgql.lang.PgqlException Gets the value of the designated element by element name as aPgxVertex- Parameters:
elementName- element name- Returns:
PgxVertex- Throws:
oracle.pgql.lang.PgqlException
-
getEdge
Gets the value of the designated element by element index as aPgxEdge- Parameters:
elementIdx- element index- Returns:
PgxEdge- Throws:
oracle.pgql.lang.PgqlException
-
getEdge
Gets the value of the designated element by element name as aPgxEdge- Parameters:
elementName- element name- Returns:
PgxEdge- Throws:
oracle.pgql.lang.PgqlException
-