Keys.ExpressionKeys<T>, Keys.IncompatibleKeysException, Keys.SelectorFunctionKeys<T,K>| Constructor and Description |
|---|
SelectorFunctionKeys(KeySelector<T,K> keyExtractor,
org.apache.flink.api.common.typeinfo.TypeInformation<T> inputType,
org.apache.flink.api.common.typeinfo.TypeInformation<K> keyType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCompatible(Keys<?> other)
Check if two sets of keys are compatible to each other (matching types, key counts)
|
int[] |
computeLogicalKeyPositions() |
KeySelector<T,K> |
getKeyExtractor() |
org.apache.flink.api.common.typeinfo.TypeInformation<K> |
getKeyType() |
int |
getNumberOfKeyFields() |
String |
toString() |
<E> void |
validateCustomPartitioner(org.apache.flink.api.common.functions.Partitioner<E> partitioner,
org.apache.flink.api.common.typeinfo.TypeInformation<E> typeInfo) |
public SelectorFunctionKeys(KeySelector<T,K> keyExtractor, org.apache.flink.api.common.typeinfo.TypeInformation<T> inputType, org.apache.flink.api.common.typeinfo.TypeInformation<K> keyType)
public org.apache.flink.api.common.typeinfo.TypeInformation<K> getKeyType()
public KeySelector<T,K> getKeyExtractor()
public int getNumberOfKeyFields()
getNumberOfKeyFields in class Keys<T>public boolean areCompatible(Keys<?> other) throws Keys.IncompatibleKeysException
KeysareCompatible in class Keys<T>Keys.IncompatibleKeysExceptionpublic int[] computeLogicalKeyPositions()
computeLogicalKeyPositions in class Keys<T>public <E> void validateCustomPartitioner(org.apache.flink.api.common.functions.Partitioner<E> partitioner,
org.apache.flink.api.common.typeinfo.TypeInformation<E> typeInfo)
validateCustomPartitioner in class Keys<T>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.