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[] keyPositions,
TypeInformation<T> type)
Create int-based (non-nested) field position keys on a tuple type.
|
ExpressionKeys(int[] keyPositions,
TypeInformation<T> type,
boolean allowEmpty)
Create int-based (non-nested) field position keys on a tuple type.
|
ExpressionKeys(int keyPosition,
TypeInformation<T> type)
Create int-based (non-nested) field position keys on a tuple type.
|
ExpressionKeys(String[] keyExpressions,
TypeInformation<T> type)
Create String-based (nested) field expression keys on a composite type.
|
ExpressionKeys(String keyExpression,
TypeInformation<T> type)
Create String-based (nested) field expression keys on a composite type.
|
ExpressionKeys(TypeInformation<T> type)
ExpressionKeys that is defined by the full data type.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
computeLogicalKeyPositions() |
TypeInformation<?>[] |
getKeyFieldTypes() |
int |
getNumberOfKeyFields() |
TypeInformation<?>[] |
getOriginalKeyFieldTypes() |
static boolean |
isSortKey(int fieldPos,
TypeInformation<?> type) |
static boolean |
isSortKey(String fieldExpr,
TypeInformation<?> type) |
String |
toString() |
<E> void |
validateCustomPartitioner(Partitioner<E> partitioner,
TypeInformation<E> typeInfo) |
areCompatible, isEmptypublic static final String SELECT_ALL_CHAR
public static final String SELECT_ALL_CHAR_SCALA
public ExpressionKeys(TypeInformation<T> type)
public ExpressionKeys(int keyPosition,
TypeInformation<T> type)
public ExpressionKeys(int[] keyPositions,
TypeInformation<T> type)
public ExpressionKeys(int[] keyPositions,
TypeInformation<T> type,
boolean allowEmpty)
public ExpressionKeys(String keyExpression, TypeInformation<T> type)
public ExpressionKeys(String[] keyExpressions, TypeInformation<T> type)
public int getNumberOfKeyFields()
getNumberOfKeyFields in class Keys<T>public int[] computeLogicalKeyPositions()
computeLogicalKeyPositions in class Keys<T>public TypeInformation<?>[] getKeyFieldTypes()
getKeyFieldTypes in class Keys<T>public TypeInformation<?>[] getOriginalKeyFieldTypes()
getOriginalKeyFieldTypes in class Keys<T>public <E> void validateCustomPartitioner(Partitioner<E> partitioner, TypeInformation<E> typeInfo)
validateCustomPartitioner in class Keys<T>public static boolean isSortKey(int fieldPos,
TypeInformation<?> type)
public static boolean isSortKey(String fieldExpr, TypeInformation<?> type)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.