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 |
|---|
ExpressionKeys(int[] groupingFields,
org.apache.flink.api.common.typeinfo.TypeInformation<T> type)
two constructors for field-based (tuple-type) keys
|
ExpressionKeys(int[] groupingFields,
org.apache.flink.api.common.typeinfo.TypeInformation<T> type,
boolean allowEmpty) |
ExpressionKeys(String[] expressionsIn,
org.apache.flink.api.common.typeinfo.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(org.apache.flink.api.common.functions.Partitioner<E> partitioner,
org.apache.flink.api.common.typeinfo.TypeInformation<E> typeInfo) |
public static final String SELECT_ALL_CHAR
public static final String SELECT_ALL_CHAR_SCALA
public ExpressionKeys(int[] groupingFields,
org.apache.flink.api.common.typeinfo.TypeInformation<T> type)
public ExpressionKeys(int[] groupingFields,
org.apache.flink.api.common.typeinfo.TypeInformation<T> type,
boolean allowEmpty)
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.