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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PgxEdge
getEdge(int elementIdx)
Gets the value of the designated element by element index as aPgxEdge
PgxEdge
getEdge(java.lang.String elementName)
Gets the value of the designated element by element name as aPgxEdge
<ID extends java.lang.Comparable<ID>>
PgxVertex<ID>getVertex(int elementIdx)
Gets the value of the designated element by element index as aPgxVertex
<ID extends java.lang.Comparable<ID>>
PgxVertex<ID>getVertex(java.lang.String elementName)
Gets the value of the designated element by element name as aPgxVertex
-
Methods 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, getVertexLabels
-
-
-
-
Method Detail
-
getVertex
<ID extends java.lang.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 java.lang.Comparable<ID>> PgxVertex<ID> getVertex(java.lang.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
PgxEdge getEdge(int elementIdx) throws oracle.pgql.lang.PgqlException
Gets the value of the designated element by element index as aPgxEdge
- Parameters:
elementIdx
- element index- Returns:
PgxEdge
- Throws:
oracle.pgql.lang.PgqlException
-
-