public class RelDataTypeFieldImpl extends Object implements RelDataTypeField, Serializable
RelDataTypeField.RelDataTypeField.ToFieldIndex, RelDataTypeField.ToFieldName| Modifier and Type | Field and Description |
|---|---|
private int |
index |
private String |
name |
private RelDataType |
type |
| Constructor and Description |
|---|
RelDataTypeFieldImpl(String name,
int index,
RelDataType type)
Creates a RelDataTypeFieldImpl.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getIndex()
Gets the ordinal of this field within its containing type.
|
String |
getKey() |
String |
getName()
Gets the name of this field, which is unique within its containing type.
|
RelDataType |
getType()
Gets the type of this field.
|
RelDataType |
getValue() |
int |
hashCode() |
boolean |
isDynamicStar()
Returns true if this is a dynamic star field.
|
RelDataType |
setValue(RelDataType value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValueprivate final RelDataType type
private final String name
private final int index
public RelDataTypeFieldImpl(String name, int index, RelDataType type)
public int hashCode()
public boolean equals(Object obj)
public String getName()
RelDataTypeFieldgetName in interface RelDataTypeFieldpublic int getIndex()
RelDataTypeFieldgetIndex in interface RelDataTypeFieldpublic RelDataType getType()
RelDataTypeFieldgetType in interface RelDataTypeFieldpublic final String getKey()
getKey in interface Map.Entry<String,RelDataType>public final RelDataType getValue()
getValue in interface Map.Entry<String,RelDataType>public RelDataType setValue(RelDataType value)
setValue in interface Map.Entry<String,RelDataType>public boolean isDynamicStar()
RelDataTypeFieldisDynamicStar in interface RelDataTypeFieldCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.