public abstract class Keys<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Keys.ExpressionKeys<T>
Represents (nested) field access through string and integer-based keys for Composite Types (Tuple or Pojo)
|
static class |
Keys.IncompatibleKeysException |
static class |
Keys.SelectorFunctionKeys<T,K> |
Constructor and Description |
---|
Keys() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
areCompatible(Keys<?> other)
Check if two sets of keys are compatible to each other (matching types, key counts)
|
abstract int[] |
computeLogicalKeyPositions() |
abstract int |
getNumberOfKeyFields() |
boolean |
isEmpty() |
abstract <E> void |
validateCustomPartitioner(Partitioner<E> partitioner,
TypeInformation<E> typeInfo) |
public abstract int getNumberOfKeyFields()
public boolean isEmpty()
public abstract boolean areCompatible(Keys<?> other) throws Keys.IncompatibleKeysException
Keys.IncompatibleKeysException
public abstract int[] computeLogicalKeyPositions()
public abstract <E> void validateCustomPartitioner(Partitioner<E> partitioner, TypeInformation<E> typeInfo)
Copyright © 2015 The Apache Software Foundation. All rights reserved.