Keys.ExpressionKeys<T>, Keys.IncompatibleKeysException, Keys.SelectorFunctionKeys<T,K>| Constructor and Description |
|---|
Keys.SelectorFunctionKeys(KeySelector<T,K> keyExtractor,
TypeInformation<T> inputType,
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() |
TypeInformation<K> |
getKeyType() |
int |
getNumberOfKeyFields() |
String |
toString() |
<E> void |
validateCustomPartitioner(Partitioner<E> partitioner,
TypeInformation<E> typeInfo) |
public Keys.SelectorFunctionKeys(KeySelector<T,K> keyExtractor, TypeInformation<T> inputType, TypeInformation<K> keyType)
public 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(Partitioner<E> partitioner, TypeInformation<E> typeInfo)
validateCustomPartitioner in class Keys<T>Copyright © 2015 The Apache Software Foundation. All rights reserved.