public interface PgqlColumnDescriptor
Modifier and Type | Interface and Description |
---|---|
static class |
PgqlColumnDescriptor.Type
Types of logical return columns
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColName()
Returns the name of this column.
|
PgqlColumnDescriptor.Type |
getColType()
Returns the column type.
|
int |
getSqlOffset()
Returns the SQL column starting position of this logical PGQL column in the column list of the SQL translation.
|
java.lang.String getColName()
PgqlColumnDescriptor.Type getColType()
PgqlColumnDescriptor.Type.VERTEX for a vertex
PgqlColumnDescriptor.Type.EDGE for an edge
PgqlColumnDescriptor.Type.VALUE for a property value
int getSqlOffset()
PgqlColumnDescriptor.Type.VERTEX and PgqlColumnDescriptor.Type.EDGE PGQL columns have two corresponding SQL columns (column_name$IT, column_name$ID).
PgqlColumnDescriptor.Type.VALUE PGQL columns have four corresponding SQL columns (column_name$T, column_name$V, column_name$VN, column_name$VT).
The offset starts from 1. That is, the first PGQL column has an offset of 1.