Package io.prestosql.sql.analyzer
Class FieldId
- java.lang.Object
-
- io.prestosql.sql.analyzer.FieldId
-
public final class FieldId extends Object
-
-
Constructor Summary
Constructors Constructor Description FieldId(RelationId relationId, int fieldIndex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static FieldId
from(ResolvedField field)
int
getFieldIndex()
Returnsfield index
of the field in the containing relation.RelationId
getRelationId()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
FieldId
public FieldId(RelationId relationId, int fieldIndex)
-
-
Method Detail
-
from
public static FieldId from(ResolvedField field)
-
getRelationId
public RelationId getRelationId()
-
getFieldIndex
public int getFieldIndex()
Returnsfield index
of the field in the containing relation.
-
-