public class PgqlResultElement
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PgqlResultElement.Type
Type of a result element.
|
Constructor and Description |
---|
PgqlResultElement() |
PgqlResultElement(PgqlResultElement.Type elementType, PgqlResultElement.Type collectionElementType, java.lang.String varName, IdType vertexEdgeIdType)
Constructor
|
PgqlResultElement(PgqlResultElement.Type elementType, java.lang.String varName, IdType vertexEdgeIdType)
Constructor
|
Modifier and Type | Method and Description |
---|---|
PgqlResultElement.Type |
getCollectionElementType()
Gets the type of the elements stored in the collection if the result element is a collection
|
PgqlResultElement.Type |
getElementType()
Gets the type of this result element
|
java.lang.String |
getVarName()
Gets the variable name of the result element
|
IdType |
getVertexEdgeIdType()
Gets the type of vertex/edge result elements.
|
public PgqlResultElement()
public PgqlResultElement(PgqlResultElement.Type elementType, PgqlResultElement.Type collectionElementType, java.lang.String varName, IdType vertexEdgeIdType)
elementType
- type of a result elementcollectionElementType
- type of the elements stored in the result element collectionvarName
- variable name corresponding a result elementvertexEdgeIdType
- id type of a vertex or an edgepublic PgqlResultElement(PgqlResultElement.Type elementType, java.lang.String varName, IdType vertexEdgeIdType)
elementType
- type of a result elementvarName
- variable name corresponding a result elementvertexEdgeIdType
- id type of a vertex or an edgepublic PgqlResultElement.Type getCollectionElementType()
public PgqlResultElement.Type getElementType()
public java.lang.String getVarName()
public IdType getVertexEdgeIdType()
getElementType()
is not vertex/edge.