T - The type of the tuple.public final class TupleTypeInfo<T extends Tuple> extends TupleTypeInfoBase<T>
TypeInformation for the tuple types of the Java API.| Modifier and Type | Field and Description |
|---|---|
protected String[] |
fieldNames |
tupleType, types| Constructor and Description |
|---|
TupleTypeInfo(Class<T> tupleType,
org.apache.flink.api.common.typeinfo.TypeInformation<?>... types) |
TupleTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<?>... types) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCompareField(int fieldId,
org.apache.flink.api.common.typeutils.TypeComparator<?> comparator) |
TupleSerializer<T> |
createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig) |
boolean |
equals(Object obj) |
static <X extends Tuple> |
getBasicTupleTypeInfo(Class<?>... basicTypes) |
int |
getFieldIndex(String fieldName) |
String[] |
getFieldNames() |
protected org.apache.flink.api.common.typeutils.TypeComparator<T> |
getNewComparator(org.apache.flink.api.common.ExecutionConfig executionConfig) |
int |
hashCode() |
protected void |
initializeNewComparator(int localKeyCount) |
String |
toString() |
getArity, getFlatFields, getTotalFields, getTypeAt, getTypeAt, getTypeClass, hasDeterministicFieldOrder, isBasicType, isTupleTypecreateComparator, getFlatFields, hasField, isKeyType, isSortKeyTypeprotected final String[] fieldNames
public TupleTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<?>... types)
public String[] getFieldNames()
public int getFieldIndex(String fieldName)
public TupleSerializer<T> createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig)
protected void initializeNewComparator(int localKeyCount)
protected void addCompareField(int fieldId,
org.apache.flink.api.common.typeutils.TypeComparator<?> comparator)
protected org.apache.flink.api.common.typeutils.TypeComparator<T> getNewComparator(org.apache.flink.api.common.ExecutionConfig executionConfig)
public boolean equals(Object obj)
equals in class TupleTypeInfoBase<T extends Tuple>public int hashCode()
hashCode in class TupleTypeInfoBase<T extends Tuple>public String toString()
toString in class TupleTypeInfoBase<T extends Tuple>public static <X extends Tuple> TupleTypeInfo<X> getBasicTupleTypeInfo(Class<?>... basicTypes)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.