public class KeySelectorUtil extends Object
Constructor and Description |
---|
KeySelectorUtil() |
Modifier and Type | Method and Description |
---|---|
static RowDataKeySelector |
getRowDataSelector(int[] keyFields,
RowDataTypeInfo rowType)
Create a RowDataKeySelector to extract keys from DataStream which type is RowDataTypeInfo.
|
public static RowDataKeySelector getRowDataSelector(int[] keyFields, RowDataTypeInfo rowType)
keyFields
- key fieldsrowType
- type of DataStream to extract keysCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.