@Internal public class FieldAccessorFactory extends Object implements Serializable
FieldAccessor utilities.| Constructor and Description |
|---|
FieldAccessorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T,F> FieldAccessor<T,F> |
getAccessor(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo,
int pos,
org.apache.flink.api.common.ExecutionConfig config)
Creates a
FieldAccessor for the given field position, which can be used to get and
set the specified field on instances of this type. |
static <T,F> FieldAccessor<T,F> |
getAccessor(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo,
String field,
org.apache.flink.api.common.ExecutionConfig config)
Creates a
FieldAccessor for the field that is given by a field expression, which can
be used to get and set the specified field on instances of this type. |
@Internal public static <T,F> FieldAccessor<T,F> getAccessor(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo, int pos, org.apache.flink.api.common.ExecutionConfig config)
FieldAccessor for the given field position, which can be used to get and
set the specified field on instances of this type.F - The type of the field to accesspos - The field position (zero-based)config - Configuration object@Internal public static <T,F> FieldAccessor<T,F> getAccessor(org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo, String field, org.apache.flink.api.common.ExecutionConfig config)
FieldAccessor for the field that is given by a field expression, which can
be used to get and set the specified field on instances of this type.F - The type of the field to accessfield - The field expressionconfig - Configuration objectCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.