Class CoderTypeInformation<T>
java.lang.Object
org.apache.flink.api.common.typeinfo.TypeInformation<T>
org.apache.beam.runners.flink.translation.types.CoderTypeInformation<T>
- All Implemented Interfaces:
Serializable
,org.apache.flink.api.common.typeinfo.AtomicType<T>
public class CoderTypeInformation<T>
extends org.apache.flink.api.common.typeinfo.TypeInformation<T>
implements org.apache.flink.api.common.typeinfo.AtomicType<T>
Flink
TypeInformation
for Beam Coder
s.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoderTypeInformation
(Coder<T> coder, org.apache.beam.runners.core.construction.SerializablePipelineOptions pipelineOptions) CoderTypeInformation
(Coder<T> coder, PipelineOptions pipelineOptions) -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.apache.flink.api.common.typeutils.TypeComparator
<T> createComparator
(boolean sortOrderAscending, org.apache.flink.api.common.ExecutionConfig executionConfig) org.apache.flink.api.common.typeutils.TypeSerializer
<T> createSerializer
(org.apache.flink.api.common.ExecutionConfig config) boolean
int
getArity()
getCoder()
int
int
hashCode()
boolean
boolean
boolean
toString()
withPipelineOptions
(PipelineOptions pipelineOptions) Creates a newCoderTypeInformation
withPipelineOptions
, that can be used forFileSystems
registration.Methods inherited from class org.apache.flink.api.common.typeinfo.TypeInformation
getGenericParameters, isSortKeyType, of, of
-
Constructor Details
-
CoderTypeInformation
-
CoderTypeInformation
-
-
Method Details
-
getCoder
-
isBasicType
public boolean isBasicType()- Specified by:
isBasicType
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
isTupleType
public boolean isTupleType()- Specified by:
isTupleType
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
getArity
public int getArity()- Specified by:
getArity
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
getTypeClass
- Specified by:
getTypeClass
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
isKeyType
public boolean isKeyType()- Specified by:
isKeyType
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
createSerializer
public org.apache.flink.api.common.typeutils.TypeSerializer<T> createSerializer(org.apache.flink.api.common.ExecutionConfig config) - Specified by:
createSerializer
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
getTotalFields
public int getTotalFields()- Specified by:
getTotalFields
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
withPipelineOptions
Creates a newCoderTypeInformation
withPipelineOptions
, that can be used forFileSystems
registration.- Parameters:
pipelineOptions
- Options of current pipeline.- Returns:
- New type information.
- See Also:
-
equals
- Specified by:
equals
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
hashCode
public int hashCode()- Specified by:
hashCode
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
canEqual
- Specified by:
canEqual
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
toString
- Specified by:
toString
in classorg.apache.flink.api.common.typeinfo.TypeInformation<T>
-
createComparator
public org.apache.flink.api.common.typeutils.TypeComparator<T> createComparator(boolean sortOrderAscending, org.apache.flink.api.common.ExecutionConfig executionConfig) - Specified by:
createComparator
in interfaceorg.apache.flink.api.common.typeinfo.AtomicType<T>
-