public class PgqlColumnDescriptorImpl extends java.lang.Object implements PgqlColumnDescriptor
PgqlColumnDescriptor.Type
Constructor and Description |
---|
PgqlColumnDescriptorImpl(java.lang.String colName, PgqlColumnDescriptor.Type colType, int offset)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
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.
|
int |
hashCode() |
java.lang.String |
toString() |
public PgqlColumnDescriptorImpl(java.lang.String colName, PgqlColumnDescriptor.Type colType, int offset)
colName
- the name of this return columncolType
- the type of this return columnoffset
- the starting position of this logical PGQL column in the corresponding list of SQL result columns (first position is 1).public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getColName()
getColName
in interface PgqlColumnDescriptor
public PgqlColumnDescriptor.Type getColType()
getColType
in interface PgqlColumnDescriptor
public int getSqlOffset()
getSqlOffset
in interface PgqlColumnDescriptor
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object