Package org.apache.beam.sdk.io.mongodb
Class MongoDbReadSchemaTransformProvider
java.lang.Object
org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<MongoDbReadSchemaTransformConfiguration>
org.apache.beam.sdk.io.mongodb.MongoDbReadSchemaTransformProvider
- All Implemented Interfaces:
SchemaTransformProvider
@AutoService(SchemaTransformProvider.class)
public class MongoDbReadSchemaTransformProvider
extends TypedSchemaTransformProvider<MongoDbReadSchemaTransformConfiguration>
An implementation of
TypedSchemaTransformProvider for reading from MongoDB.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SchemaTransformfrom(MongoDbReadSchemaTransformConfiguration configuration) Produce a SchemaTransform from ConfigT.Returns an id that uniquely represents this transform.Returns the input collection names of this transform.Returns the output collection names of this transform.Methods inherited from class org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider
configurationClass, configurationSchema, dependencies, fromMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.schemas.transforms.SchemaTransformProvider
description
-
Field Details
-
OUTPUT_TAG
-
ERROR_TAG
-
-
Constructor Details
-
MongoDbReadSchemaTransformProvider
public MongoDbReadSchemaTransformProvider()
-
-
Method Details
-
from
Description copied from class:TypedSchemaTransformProviderProduce a SchemaTransform from ConfigT. Can throw aInvalidConfigurationExceptionor aInvalidSchemaException.- Specified by:
fromin classTypedSchemaTransformProvider<MongoDbReadSchemaTransformConfiguration>
-
identifier
Description copied from interface:SchemaTransformProviderReturns an id that uniquely represents this transform. -
inputCollectionNames
Description copied from interface:SchemaTransformProviderReturns the input collection names of this transform. -
outputCollectionNames
Description copied from interface:SchemaTransformProviderReturns the output collection names of this transform.
-