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(BiFunctionEx<com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document>,Long,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(DataConnectionRef dataConnectionRef)
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,
DataConnectionRef dataConnectionRef)
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(SupplierEx<? extends com.mongodb.client.MongoClient> clientSupplier)
Creates as builder for new stream mongo source.
|
static MongoSourceBuilder.Stream<org.bson.Document> |
MongoSourceBuilder.stream(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. |
MongoSourceBuilder.Stream<T> |
MongoSourceBuilder.Stream.throwOnNonExisting(boolean throwOnNonExisting)
If
true , the lack of database or collection will cause an error. |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.