Class Keys.SelectorFunctionKeys<T,K>
- java.lang.Object
-
- org.apache.flink.api.common.operators.Keys<T>
-
- org.apache.flink.api.common.operators.Keys.SelectorFunctionKeys<T,K>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.api.common.operators.Keys
Keys.ExpressionKeys<T>, Keys.IncompatibleKeysException, Keys.SelectorFunctionKeys<T,K>
-
-
Constructor Summary
Constructors Constructor Description SelectorFunctionKeys(KeySelector<T,K> keyExtractor, TypeInformation<T> inputType, TypeInformation<K> keyType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]computeLogicalKeyPositions()TypeInformation<T>getInputType()KeySelector<T,K>getKeyExtractor()TypeInformation<?>[]getKeyFieldTypes()TypeInformation<K>getKeyType()intgetNumberOfKeyFields()TypeInformation<?>[]getOriginalKeyFieldTypes()StringtoString()<E> voidvalidateCustomPartitioner(Partitioner<E> partitioner, TypeInformation<E> typeInfo)-
Methods inherited from class org.apache.flink.api.common.operators.Keys
areCompatible, isEmpty
-
-
-
-
Constructor Detail
-
SelectorFunctionKeys
public SelectorFunctionKeys(KeySelector<T,K> keyExtractor, TypeInformation<T> inputType, TypeInformation<K> keyType)
-
-
Method Detail
-
getKeyType
public TypeInformation<K> getKeyType()
-
getInputType
public TypeInformation<T> getInputType()
-
getKeyExtractor
public KeySelector<T,K> getKeyExtractor()
-
getNumberOfKeyFields
public int getNumberOfKeyFields()
- Specified by:
getNumberOfKeyFieldsin classKeys<T>
-
computeLogicalKeyPositions
public int[] computeLogicalKeyPositions()
- Specified by:
computeLogicalKeyPositionsin classKeys<T>
-
getKeyFieldTypes
public TypeInformation<?>[] getKeyFieldTypes()
- Specified by:
getKeyFieldTypesin classKeys<T>
-
getOriginalKeyFieldTypes
public TypeInformation<?>[] getOriginalKeyFieldTypes()
- Specified by:
getOriginalKeyFieldTypesin classKeys<T>
-
validateCustomPartitioner
public <E> void validateCustomPartitioner(Partitioner<E> partitioner, TypeInformation<E> typeInfo)
- Specified by:
validateCustomPartitionerin classKeys<T>
-
-