public class OraclePgqlResultImpl extends java.lang.Object implements OraclePgqlResult
Modifier and Type | Method and Description |
---|---|
OraclePgqlColumnDescriptor.Type |
getColumnType(int elementIdx)
Gets the column type for the result element at given position.
|
OracleEdge |
getEdge(int elementIdx)
Gets the Edge object for the result element at given position.
|
java.util.List<OraclePgqlResultElement> |
getResultElements()
Returns the List of result elements for this result row
|
java.lang.Object |
getValue(int elementIdx)
Gets the value for the result element at given position.
|
int |
getValueType(int elementIdx)
Gets the value type for the result element at given position.
|
OracleVertex |
getVertex(int elementIdx)
Gets the Vertex object for the result element at given position.
|
java.lang.String |
toString()
toString method for debug printing.
|
public OraclePgqlColumnDescriptor.Type getColumnType(int elementIdx)
Possible values are:
OraclePgqlColumnDescriptor.Type.VERTEX
OraclePgqlColumnDescriptor.Type.EDGE
OraclePgqlColumnDescriptor.Type.VALUE
getColumnType
in interface OraclePgqlResult
elementIdx
- the result element positionpublic OracleEdge getEdge(int elementIdx) throws OraclePropertyGraphException
getEdge
in interface OraclePgqlResult
elementIdx
- the result element positionOraclePropertyGraphException
public java.util.List<OraclePgqlResultElement> getResultElements()
getResultElements
in interface OraclePgqlResult
public java.lang.Object getValue(int elementIdx) throws OraclePropertyGraphException
getValue
in interface OraclePgqlResult
elementIdx
- the result element positionOraclePropertyGraphException
public int getValueType(int elementIdx)
Value types correspond to values in the T column of the property graph relational schema.
getValueType
in interface OraclePgqlResult
elementIdx
- the result element positionpublic OracleVertex getVertex(int elementIdx) throws OraclePropertyGraphException
getVertex
in interface OraclePgqlResult
elementIdx
- the result element positionOraclePropertyGraphException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017, 2018 Oracle and/or its affiliates. All Rights Reserved.