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 a PgxEdge
      PgxEdge getEdge​(java.lang.String elementName)
      Gets the value of the designated element by element name as a PgxEdge
      <ID extends java.lang.Comparable<ID>>
      PgxVertex<ID>
      getVertex​(int elementIdx)
      Gets the value of the designated element by element index as a PgxVertex
      <ID extends java.lang.Comparable<ID>>
      PgxVertex<ID>
      getVertex​(java.lang.String elementName)
      Gets the value of the designated element by element name as a PgxVertex
      • 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
      • Methods inherited from interface oracle.pgql.lang.spatial.STResultAccess

        getPoint2D, getPoint2D
    • 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 a PgxVertex
        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 a PgxVertex
        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 a PgxEdge
        Parameters:
        elementIdx - element index
        Returns:
        PgxEdge
        Throws:
        oracle.pgql.lang.PgqlException
      • getEdge

        PgxEdge getEdge​(java.lang.String elementName)
                 throws oracle.pgql.lang.PgqlException
        Gets the value of the designated element by element name as a PgxEdge
        Parameters:
        elementName - element name
        Returns:
        PgxEdge
        Throws:
        oracle.pgql.lang.PgqlException