public static final class RunnerApi.SideInput extends com.google.protobuf.GeneratedMessageV3 implements RunnerApi.SideInputOrBuilder
A specification for how to "side input" a PCollection.Protobuf type
org.apache.beam.runner_api.v1.SideInput| Modifier and Type | Class and Description |
|---|---|
static class |
RunnerApi.SideInput.Builder
A specification for how to "side input" a PCollection.
|
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 |
ACCESS_PATTERN_FIELD_NUMBER |
static int |
VIEW_FN_FIELD_NUMBER |
static int |
WINDOW_MAPPING_FN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
RunnerApi.FunctionSpec |
getAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
RunnerApi.FunctionSpecOrBuilder |
getAccessPatternOrBuilder()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
static RunnerApi.SideInput |
getDefaultInstance() |
RunnerApi.SideInput |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RunnerApi.SideInput> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
RunnerApi.SdkFunctionSpec |
getViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getViewFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
RunnerApi.SdkFunctionSpec |
getWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
RunnerApi.SdkFunctionSpecOrBuilder |
getWindowMappingFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
boolean |
hasAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present
the desired SDK-specific interface to a UDF.
|
int |
hashCode() |
boolean |
hasViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular
access_pattern to a user-facing view type.
|
boolean |
hasWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window
to a side input window.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RunnerApi.SideInput.Builder |
newBuilder() |
static RunnerApi.SideInput.Builder |
newBuilder(RunnerApi.SideInput prototype) |
RunnerApi.SideInput.Builder |
newBuilderForType() |
protected RunnerApi.SideInput.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RunnerApi.SideInput |
parseDelimitedFrom(InputStream input) |
static RunnerApi.SideInput |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.SideInput |
parseFrom(byte[] data) |
static RunnerApi.SideInput |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.SideInput |
parseFrom(com.google.protobuf.ByteString data) |
static RunnerApi.SideInput |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.SideInput |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RunnerApi.SideInput |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RunnerApi.SideInput |
parseFrom(InputStream input) |
static RunnerApi.SideInput |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RunnerApi.SideInput> |
parser() |
RunnerApi.SideInput.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 ACCESS_PATTERN_FIELD_NUMBER
public static final int VIEW_FN_FIELD_NUMBER
public static final int WINDOW_MAPPING_FN_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 boolean hasAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;hasAccessPattern in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.FunctionSpec getAccessPattern()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;getAccessPattern in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.FunctionSpecOrBuilder getAccessPatternOrBuilder()
(Required) URN of the access pattern required by the `view_fn` to present the desired SDK-specific interface to a UDF. This access pattern defines the SDK harness <-> Runner Harness RPC interface for accessing a side input. The only access pattern intended for Beam, because of its superior performance possibilities, is "urn:beam:sideinput:multimap" (or some such URN)
.org.apache.beam.runner_api.v1.FunctionSpec access_pattern = 1;getAccessPatternOrBuilder in interface RunnerApi.SideInputOrBuilderpublic boolean hasViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;hasViewFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SdkFunctionSpec getViewFn()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;getViewFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SdkFunctionSpecOrBuilder getViewFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that adapts a particular access_pattern to a user-facing view type. For example, View.asSingleton() may include a `view_fn` that adapts a specially-designed multimap to a single value per window.
.org.apache.beam.runner_api.v1.SdkFunctionSpec view_fn = 2;getViewFnOrBuilder in interface RunnerApi.SideInputOrBuilderpublic boolean hasWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;hasWindowMappingFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SdkFunctionSpec getWindowMappingFn()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;getWindowMappingFn in interface RunnerApi.SideInputOrBuilderpublic RunnerApi.SdkFunctionSpecOrBuilder getWindowMappingFnOrBuilder()
(Required) The SdkFunctionSpec of the UDF that maps a main input window to a side input window. For example, when the main input is in fixed windows of one hour, this can specify that the side input should be accessed according to the day in which that hour falls.
.org.apache.beam.runner_api.v1.SdkFunctionSpec window_mapping_fn = 3;getWindowMappingFnOrBuilder in interface RunnerApi.SideInputOrBuilderpublic 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 RunnerApi.SideInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.SideInput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.SideInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.SideInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RunnerApi.SideInput parseFrom(InputStream input) throws IOException
IOExceptionpublic static RunnerApi.SideInput parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunnerApi.SideInput parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RunnerApi.SideInput parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RunnerApi.SideInput parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RunnerApi.SideInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RunnerApi.SideInput.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RunnerApi.SideInput.Builder newBuilder()
public static RunnerApi.SideInput.Builder newBuilder(RunnerApi.SideInput prototype)
public RunnerApi.SideInput.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RunnerApi.SideInput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RunnerApi.SideInput getDefaultInstance()
public static com.google.protobuf.Parser<RunnerApi.SideInput> parser()
public com.google.protobuf.Parser<RunnerApi.SideInput> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RunnerApi.SideInput getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.