@Internal 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
|
static class |
Keys.IncompatibleKeysException |
static class |
Keys.SelectorFunctionKeys<T,K> |
Constructor and Description |
---|
Keys() |
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)
|
abstract int[] |
computeLogicalKeyPositions() |
abstract TypeInformation<?>[] |
getKeyFieldTypes() |
abstract int |
getNumberOfKeyFields() |
abstract TypeInformation<?>[] |
getOriginalKeyFieldTypes() |
boolean |
isEmpty() |
abstract <E> void |
validateCustomPartitioner(Partitioner<E> partitioner,
TypeInformation<E> typeInfo) |
public abstract int getNumberOfKeyFields()
public abstract int[] computeLogicalKeyPositions()
public abstract TypeInformation<?>[] getKeyFieldTypes()
public abstract TypeInformation<?>[] getOriginalKeyFieldTypes()
public abstract <E> void validateCustomPartitioner(Partitioner<E> partitioner, TypeInformation<E> typeInfo)
public boolean isEmpty()
public boolean areCompatible(Keys<?> other) throws Keys.IncompatibleKeysException
Keys.IncompatibleKeysException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.