Package io.trino.sql.analyzer
Class FieldId
- java.lang.Object
-
- io.trino.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 booleanequals(Object o)static FieldIdfrom(ResolvedField field)intgetFieldIndex()Returnsfield indexof the field in the containing relation.RelationIdgetRelationId()inthashCode()StringtoString()
-
-
-
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 indexof the field in the containing relation.
-
-