public static final class BeamFnApi.ProcessBundleSplitResponse extends com.google.protobuf.GeneratedMessageV3 implements BeamFnApi.ProcessBundleSplitResponseOrBuilder
(Optional) A set of split responses for a currently active work item.
If primitive transform B is a descendant of primitive transform A and both
A and B report a split. Then B's restriction is reported as an element
restriction pair and thus the fully reported restriction is:
R = A_done
⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ B_todo)
⋃ A_todo
If there is a decendant of B named C, then C would similarly report a
set of element pair restrictions.
This restriction is processed and completed by the currently active process
bundle request:
A_done ⋃ (A_boundary ⋂ B_done)
and these restrictions will be processed by future process bundle requests:
A_boundary ⋂ B_todo (passed to SDF B directly)
A_todo (passed to SDF A directly)
Protobuf type org.apache.beam.fn.v1.ProcessBundleSplitResponse| Modifier and Type | Class and Description |
|---|---|
static class |
BeamFnApi.ProcessBundleSplitResponse.Builder
(Optional) A set of split responses for a currently active work item.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
SPLITS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static BeamFnApi.ProcessBundleSplitResponse |
getDefaultInstance() |
BeamFnApi.ProcessBundleSplitResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<BeamFnApi.ProcessBundleSplitResponse> |
getParserForType() |
int |
getSerializedSize() |
BeamFnApi.PrimitiveTransformSplit |
getSplits(int index)
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split.
|
int |
getSplitsCount()
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split.
|
List<BeamFnApi.PrimitiveTransformSplit> |
getSplitsList()
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split.
|
BeamFnApi.PrimitiveTransformSplitOrBuilder |
getSplitsOrBuilder(int index)
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split.
|
List<? extends BeamFnApi.PrimitiveTransformSplitOrBuilder> |
getSplitsOrBuilderList()
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BeamFnApi.ProcessBundleSplitResponse.Builder |
newBuilder() |
static BeamFnApi.ProcessBundleSplitResponse.Builder |
newBuilder(BeamFnApi.ProcessBundleSplitResponse prototype) |
BeamFnApi.ProcessBundleSplitResponse.Builder |
newBuilderForType() |
protected BeamFnApi.ProcessBundleSplitResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.ProcessBundleSplitResponse |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.ProcessBundleSplitResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(byte[] data) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(InputStream input) |
static BeamFnApi.ProcessBundleSplitResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.ProcessBundleSplitResponse> |
parser() |
BeamFnApi.ProcessBundleSplitResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SPLITS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<BeamFnApi.PrimitiveTransformSplit> getSplitsList()
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split. Then B and C's restrictions are relative to A's.
R = A_done
⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ C_todo)
⋃ A_todo
If there is no descendant of B or C also reporting a split, than
B_boundary = ∅ and C_boundary = ∅
This restriction is processed and completed by the currently active process
bundle request:
A_done ⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ C_done)
and these restrictions will be processed by future process bundle requests:
A_boundary ⋂ B_todo (passed to SDF B directly)
A_boundary ⋂ C_todo (passed to SDF C directly)
A_todo (passed to SDF A directly)
Note that descendants splits should only be reported if it is inexpensive
to compute the boundary restriction intersected with descendants splits.
Also note, that the boundary restriction may represent a set of elements
produced by a parent primitive transform which can not be split at each
element or that there are intermediate unsplittable primitive transforms
between an ancestor splittable function and a descendant splittable
function which may have more than one output per element. Finally note
that the descendant splits should only be reported if the split
information is relatively compact.
repeated .org.apache.beam.fn.v1.PrimitiveTransformSplit splits = 1;getSplitsList in interface BeamFnApi.ProcessBundleSplitResponseOrBuilderpublic List<? extends BeamFnApi.PrimitiveTransformSplitOrBuilder> getSplitsOrBuilderList()
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split. Then B and C's restrictions are relative to A's.
R = A_done
⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ C_todo)
⋃ A_todo
If there is no descendant of B or C also reporting a split, than
B_boundary = ∅ and C_boundary = ∅
This restriction is processed and completed by the currently active process
bundle request:
A_done ⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ C_done)
and these restrictions will be processed by future process bundle requests:
A_boundary ⋂ B_todo (passed to SDF B directly)
A_boundary ⋂ C_todo (passed to SDF C directly)
A_todo (passed to SDF A directly)
Note that descendants splits should only be reported if it is inexpensive
to compute the boundary restriction intersected with descendants splits.
Also note, that the boundary restriction may represent a set of elements
produced by a parent primitive transform which can not be split at each
element or that there are intermediate unsplittable primitive transforms
between an ancestor splittable function and a descendant splittable
function which may have more than one output per element. Finally note
that the descendant splits should only be reported if the split
information is relatively compact.
repeated .org.apache.beam.fn.v1.PrimitiveTransformSplit splits = 1;getSplitsOrBuilderList in interface BeamFnApi.ProcessBundleSplitResponseOrBuilderpublic int getSplitsCount()
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split. Then B and C's restrictions are relative to A's.
R = A_done
⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ C_todo)
⋃ A_todo
If there is no descendant of B or C also reporting a split, than
B_boundary = ∅ and C_boundary = ∅
This restriction is processed and completed by the currently active process
bundle request:
A_done ⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ C_done)
and these restrictions will be processed by future process bundle requests:
A_boundary ⋂ B_todo (passed to SDF B directly)
A_boundary ⋂ C_todo (passed to SDF C directly)
A_todo (passed to SDF A directly)
Note that descendants splits should only be reported if it is inexpensive
to compute the boundary restriction intersected with descendants splits.
Also note, that the boundary restriction may represent a set of elements
produced by a parent primitive transform which can not be split at each
element or that there are intermediate unsplittable primitive transforms
between an ancestor splittable function and a descendant splittable
function which may have more than one output per element. Finally note
that the descendant splits should only be reported if the split
information is relatively compact.
repeated .org.apache.beam.fn.v1.PrimitiveTransformSplit splits = 1;getSplitsCount in interface BeamFnApi.ProcessBundleSplitResponseOrBuilderpublic BeamFnApi.PrimitiveTransformSplit getSplits(int index)
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split. Then B and C's restrictions are relative to A's.
R = A_done
⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ C_todo)
⋃ A_todo
If there is no descendant of B or C also reporting a split, than
B_boundary = ∅ and C_boundary = ∅
This restriction is processed and completed by the currently active process
bundle request:
A_done ⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ C_done)
and these restrictions will be processed by future process bundle requests:
A_boundary ⋂ B_todo (passed to SDF B directly)
A_boundary ⋂ C_todo (passed to SDF C directly)
A_todo (passed to SDF A directly)
Note that descendants splits should only be reported if it is inexpensive
to compute the boundary restriction intersected with descendants splits.
Also note, that the boundary restriction may represent a set of elements
produced by a parent primitive transform which can not be split at each
element or that there are intermediate unsplittable primitive transforms
between an ancestor splittable function and a descendant splittable
function which may have more than one output per element. Finally note
that the descendant splits should only be reported if the split
information is relatively compact.
repeated .org.apache.beam.fn.v1.PrimitiveTransformSplit splits = 1;getSplits in interface BeamFnApi.ProcessBundleSplitResponseOrBuilderpublic BeamFnApi.PrimitiveTransformSplitOrBuilder getSplitsOrBuilder(int index)
If primitive transform B and C are siblings and descendants of A and A, B,
and C report a split. Then B and C's restrictions are relative to A's.
R = A_done
⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ B_todo)
⋃ (A_boundary ⋂ C_todo)
⋃ A_todo
If there is no descendant of B or C also reporting a split, than
B_boundary = ∅ and C_boundary = ∅
This restriction is processed and completed by the currently active process
bundle request:
A_done ⋃ (A_boundary ⋂ B_done)
⋃ (A_boundary ⋂ C_done)
and these restrictions will be processed by future process bundle requests:
A_boundary ⋂ B_todo (passed to SDF B directly)
A_boundary ⋂ C_todo (passed to SDF C directly)
A_todo (passed to SDF A directly)
Note that descendants splits should only be reported if it is inexpensive
to compute the boundary restriction intersected with descendants splits.
Also note, that the boundary restriction may represent a set of elements
produced by a parent primitive transform which can not be split at each
element or that there are intermediate unsplittable primitive transforms
between an ancestor splittable function and a descendant splittable
function which may have more than one output per element. Finally note
that the descendant splits should only be reported if the split
information is relatively compact.
repeated .org.apache.beam.fn.v1.PrimitiveTransformSplit splits = 1;getSplitsOrBuilder in interface BeamFnApi.ProcessBundleSplitResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.ProcessBundleSplitResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.ProcessBundleSplitResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.ProcessBundleSplitResponse.Builder newBuilder()
public static BeamFnApi.ProcessBundleSplitResponse.Builder newBuilder(BeamFnApi.ProcessBundleSplitResponse prototype)
public BeamFnApi.ProcessBundleSplitResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.ProcessBundleSplitResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.ProcessBundleSplitResponse getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.ProcessBundleSplitResponse> parser()
public com.google.protobuf.Parser<BeamFnApi.ProcessBundleSplitResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.ProcessBundleSplitResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.