Keys.ExpressionKeys<T>, Keys.IncompatibleKeysException, Keys.SelectorFunctionKeys<T,K>
Modifier and Type | Field and Description |
---|---|
static String |
SELECT_ALL_CHAR |
static String |
SELECT_ALL_CHAR_SCALA |
Constructor and Description |
---|
Keys.ExpressionKeys(int[] groupingFields,
TypeInformation<T> type)
two constructors for field-based (tuple-type) keys
|
Keys.ExpressionKeys(int[] groupingFields,
TypeInformation<T> type,
boolean allowEmpty) |
Keys.ExpressionKeys(String[] expressionsIn,
TypeInformation<T> type)
Create ExpressionKeys from String-expressions
|
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() |
int |
getNumberOfKeyFields() |
static <R> List<R> |
removeNullElementsFromList(List<R> in) |
String |
toString() |
<E> void |
validateCustomPartitioner(Partitioner<E> partitioner,
TypeInformation<E> typeInfo) |
public static final String SELECT_ALL_CHAR
public static final String SELECT_ALL_CHAR_SCALA
public Keys.ExpressionKeys(int[] groupingFields, TypeInformation<T> type)
public Keys.ExpressionKeys(int[] groupingFields, TypeInformation<T> type, boolean allowEmpty)
public Keys.ExpressionKeys(String[] expressionsIn, TypeInformation<T> type)
public int getNumberOfKeyFields()
getNumberOfKeyFields
in class Keys<T>
public boolean areCompatible(Keys<?> other) throws Keys.IncompatibleKeysException
Keys
areCompatible
in class Keys<T>
Keys.IncompatibleKeysException
public int[] computeLogicalKeyPositions()
computeLogicalKeyPositions
in class Keys<T>
public <E> void validateCustomPartitioner(Partitioner<E> partitioner, TypeInformation<E> typeInfo)
validateCustomPartitioner
in class Keys<T>
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.