Package | Description |
---|---|
com.hazelcast.jet.mongodb |
Contains sources and sinks for MongoDB.
|
Modifier and Type | Method and Description |
---|---|
MongoSourceBuilder.Stream<org.bson.Document> |
MongoSourceBuilder.Stream.collection(String collectionName)
Specifies from which collection connector will read documents.
|
<T_NEW> MongoSourceBuilder.Stream<T_NEW> |
MongoSourceBuilder.Stream.collection(String collectionName,
Class<T_NEW> mongoType)
Specifies from which collection connector will read documents.
|
MongoSourceBuilder.Stream<T> |
MongoSourceBuilder.Stream.database(String database)
Specifies which database will be queried.
|
MongoSourceBuilder.Stream<T> |
MongoSourceBuilder.Stream.filter(org.bson.conversions.Bson filter)
Adds filter aggregate to this builder, which allows to filter documents in MongoDB, without
the need to download all documents.
|
<T_NEW> MongoSourceBuilder.Stream<T_NEW> |
MongoSourceBuilder.Stream.mapFn(FunctionEx<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>,T_NEW> mapFn) |
MongoSourceBuilder.Stream<T> |
MongoSourceBuilder.Stream.project(org.bson.conversions.Bson projection)
Adds a projection aggregate.
|
MongoSourceBuilder.Stream<T> |
MongoSourceBuilder.Stream.startAtOperationTime(org.bson.BsonTimestamp startAtOperationTime)
Specifies time from which MongoDB's events will be read.
|
static MongoSourceBuilder.Stream<org.bson.Document> |
MongoSourceBuilder.stream(String name,
DataLinkRef dataLinkRef)
Returns a builder object that offers a step-by-step fluent API to build
a custom MongoDB
StreamSource for the Pipeline API. |
static MongoSourceBuilder.Stream<org.bson.Document> |
MongoSourceBuilder.stream(String name,
SupplierEx<? extends com.mongodb.client.MongoClient> clientSupplier)
Returns a builder object that offers a step-by-step fluent API to build
a custom MongoDB
StreamSource for the Pipeline API. |
static MongoSourceBuilder.Stream<org.bson.Document> |
MongoSources.stream(String name,
SupplierEx<? extends com.mongodb.client.MongoClient> clientSupplier)
Creates as builder for new stream mongo source.
|
Copyright © 2023 Hazelcast, Inc.. All rights reserved.