public abstract class TupleTypeInfoBase<T> extends CompositeType<T>
CompositeType.FlatFieldDescriptor| Modifier and Type | Field and Description |
|---|---|
protected Class<T> |
tupleType |
protected TypeInformation<?>[] |
types |
typeClass| Constructor and Description |
|---|
TupleTypeInfoBase(Class<T> tupleType,
TypeInformation<?>... types) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllFields(int startKeyId,
List<CompositeType.FlatFieldDescriptor> keyFields)
Recursively add all fields in this tuple type.
|
boolean |
equals(Object obj) |
int |
getArity() |
void |
getKey(String fieldExpression,
int offset,
List<CompositeType.FlatFieldDescriptor> result) |
int |
getTotalFields() |
<X> TypeInformation<X> |
getTypeAt(int pos) |
Class<T> |
getTypeClass() |
int |
hashCode() |
boolean |
isBasicType() |
boolean |
isKeyType() |
boolean |
isTupleType() |
String |
toString() |
addCompareField, createComparator, getNewComparator, initializeNewComparatorcreateSerializerprotected final TypeInformation<?>[] types
public TupleTypeInfoBase(Class<T> tupleType, TypeInformation<?>... types)
public boolean isBasicType()
isBasicType in class TypeInformation<T>public boolean isTupleType()
isTupleType in class TypeInformation<T>public int getArity()
getArity in class TypeInformation<T>public int getTotalFields()
getTotalFields in class TypeInformation<T>public Class<T> getTypeClass()
getTypeClass in class TypeInformation<T>public void addAllFields(int startKeyId,
List<CompositeType.FlatFieldDescriptor> keyFields)
keyId - keyFields - public void getKey(String fieldExpression, int offset, List<CompositeType.FlatFieldDescriptor> result)
getKey in class CompositeType<T>public <X> TypeInformation<X> getTypeAt(int pos)
getTypeAt in class CompositeType<T>public boolean isKeyType()
isKeyType in class TypeInformation<T>Copyright © 2015 The Apache Software Foundation. All rights reserved.