Package | Description |
---|---|
org.apache.flink.api.java.typeutils | |
org.apache.flink.api.java.typeutils.runtime | |
org.apache.flink.types |
Modifier and Type | Method and Description |
---|---|
TypeSerializer<Either<L,R>> |
EitherTypeInfo.createSerializer(ExecutionConfig config) |
Class<Either<L,R>> |
EitherTypeInfo.getTypeClass() |
Modifier and Type | Method and Description |
---|---|
Either<L,R> |
EitherSerializer.copy(Either<L,R> from) |
Either<L,R> |
EitherSerializer.copy(Either<L,R> from,
Either<L,R> reuse) |
Either<L,R> |
EitherSerializer.createInstance() |
Either<L,R> |
EitherSerializer.deserialize(DataInputView source) |
Either<L,R> |
EitherSerializer.deserialize(Either<L,R> reuse,
DataInputView source) |
Modifier and Type | Method and Description |
---|---|
TypeSerializer<Either<L,R>> |
EitherSerializer.duplicate() |
Modifier and Type | Method and Description |
---|---|
Either<L,R> |
EitherSerializer.copy(Either<L,R> from) |
Either<L,R> |
EitherSerializer.copy(Either<L,R> from,
Either<L,R> reuse) |
Either<L,R> |
EitherSerializer.copy(Either<L,R> from,
Either<L,R> reuse) |
Either<L,R> |
EitherSerializer.deserialize(Either<L,R> reuse,
DataInputView source) |
void |
EitherSerializer.serialize(Either<L,R> record,
DataOutputView target) |
Modifier and Type | Class and Description |
---|---|
static class |
Either.Left<L,R>
A left value of
Either |
static class |
Either.Right<L,R>
A right value of
Either |
Modifier and Type | Method and Description |
---|---|
static <L,R> Either<L,R> |
Either.Left(L value)
Create a Left value of Either
|
static <L,R> Either<L,R> |
Either.Right(R value)
Create a Right value of Either
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.