public interface ReactiveGridFsOperations| 修飾子と型 | メソッドと説明 |
|---|---|
reactor.core.publisher.Mono<VoidSE> | delete(Query query) 指定された Query に一致するすべてのファイルを削除します。 |
reactor.core.publisher.Flux<com.mongodb.client.gridfs.model.GridFSFile> | find(Query query) 指定されたクエリに一致するすべてのファイルを出力する Flux を返します。 |
reactor.core.publisher.Mono<com.mongodb.client.gridfs.model.GridFSFile> | findFirst(Query query) 指定されたクエリに一致する最初の GridFSFile を発行する Mono を返します。一致するファイルがない場合には Mono.empty() を返します。 |
reactor.core.publisher.Mono<com.mongodb.client.gridfs.model.GridFSFile> | findOne(Query query) 指定されたクエリに一致する単一の GridFSFile を発行する Mono を返します。一致するファイルがない場合には Mono.empty() を返します。 |
reactor.core.publisher.Mono<ReactiveGridFsResource> | getResource(com.mongodb.client.gridfs.model.GridFSFile file) |
reactor.core.publisher.Mono<ReactiveGridFsResource> | getResource(StringSE filename) 指定されたファイル名の ReactiveGridFsResource を発行する Mono を返します。 |
reactor.core.publisher.Flux<ReactiveGridFsResource> | getResources(StringSE filenamePattern) 指定されたファイル名パターンに一致するすべての ReactiveGridFsResource を発行する Flux を返します。 |
<T> reactor.core.publisher.Mono<T> | store(GridFsObject<T,org.reactivestreams.Publisher<DataBuffer>> upload) |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, org.bson.Document metadata) 指定されたメタデータを適用して、指定されたコンテンツをファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, ObjectSE metadata) 指定されたメタデータを適用して、指定されたコンテンツをファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename) 指定されたコンテンツを指定された名前のファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename, org.bson.Document metadata) 指定されたメタデータを使用して、指定されたコンテンツを指定された名前のファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename, ObjectSE metadata) 指定されたメタデータを使用して、指定されたコンテンツを指定された名前のファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename, StringSE contentType) 指定されたコンテンツを、指定された名前とコンテンツ型でファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename, StringSE contentType, org.bson.Document metadata) 指定されたメタデータを使用して、指定されたコンテンツを指定された名前とコンテンツ型でファイルに保存します。 |
reactor.core.publisher.Mono<org.bson.types.ObjectId> | store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename, StringSE contentType, ObjectSE metadata) 指定されたメタデータを使用して、指定されたコンテンツを指定された名前とコンテンツ型でファイルに保存します。 |
default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, StringSE filename)
content - null であってはなりません。filename - null または空であってはなりません。GridFSFile の ObjectId を発信する Mono。default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable ObjectSE metadata)
content - null であってはなりません。metadata - null でもかまいません。GridFSFile の ObjectId を発信する Mono。default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable org.bson.Document metadata)
content - null であってはなりません。metadata - null でもかまいません。GridFSFile の ObjectId を発信する Mono。default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable StringSE filename, @Nullable StringSE contentType)
content - null であってはなりません。filename - null または空であってはなりません。contentType - null でもかまいません。GridFSFile の ObjectId を発信する Mono。default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable StringSE filename, @Nullable ObjectSE metadata)
content - null であってはなりません。filename - null または空にすることができます。metadata - null でもかまいません。GridFSFile の ObjectId を発信する Mono。reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable StringSE filename, @Nullable StringSE contentType, @Nullable ObjectSE metadata)
content - null であってはなりません。filename - null または空であってはなりません。contentType - null でもかまいません。metadata - null でもかまいません GridFSFile の ObjectId を発信する Mono。default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable StringSE filename, @Nullable org.bson.Document metadata)
content - null であってはなりません。filename - null または空であってはなりません。metadata - null でもかまいません。GridFSFile の ObjectId を発信する Mono。default reactor.core.publisher.Mono<org.bson.types.ObjectId> store(org.reactivestreams.Publisher<DataBuffer> content, @Nullable StringSE filename, @Nullable StringSE contentType, @Nullable org.bson.Document metadata)
content - null であってはなりません。filename - null または空であってはなりません。contentType - null にすることができます。空でない場合は、メタデータ内のコンテンツ型を上書きできます。metadata - null でもかまいません。GridFSFile の ObjectId を発信する Mono。<T> reactor.core.publisher.Mono<T> store(GridFsObject<T,org.reactivestreams.Publisher<DataBuffer>> upload)
GridFsObject (おそらく GridFsUpload)を、指定された name を持つファイルに保存します。GridFsObject.getFileId() が設定されている場合は、その ID でファイルが保存されます。設定されていない場合は、サーバーが自動的に新しい ID を作成します。T - 基礎となる GridFSFile の ID 型 upload - 保存される GridFsObject (おそらく GridFsUpload)。Mono は、保存されたファイルの ID を発行します。これは、自動作成された値または GridFsObject.getFileId() のいずれかです。reactor.core.publisher.Flux<com.mongodb.client.gridfs.model.GridFSFile> find(Query query)
Flux を返します。Query で定義されている Sort 条件は考慮されません。query - null であってはなりません。Flux.empty()。reactor.core.publisher.Mono<com.mongodb.client.gridfs.model.GridFSFile> findOne(Query query)
GridFSFile を発行する Mono を返します。一致するファイルがない場合には Mono.empty() を返します。Mono はエラーを出力します。最初に見つかったファイルを取得したい場合は、findFirst(Query) を使用してください。query - null であってはなりません。Mono.empty() です。reactor.core.publisher.Mono<com.mongodb.client.gridfs.model.GridFSFile> findFirst(Query query)
GridFSFile を発行する Mono を返します。一致するファイルがない場合には Mono.empty() を返します。query - null であってはなりません。Mono.empty() です。reactor.core.publisher.Mono<VoidSE> delete(Query query)
Query に一致するすべてのファイルを削除します。query - null であってはなりません。Mono シグナル操作の完了。reactor.core.publisher.Mono<ReactiveGridFsResource> getResource(StringSE filename)
ReactiveGridFsResource を発行する Mono を返します。filename - null であってはなりません。Mono.empty()。reactor.core.publisher.Mono<ReactiveGridFsResource> getResource(com.mongodb.client.gridfs.model.GridFSFile file)
file - null であってはなりません。Mono.empty()。reactor.core.publisher.Flux<ReactiveGridFsResource> getResources(StringSE filenamePattern)
ReactiveGridFsResource を発行する Flux を返します。filenamePattern - null であってはなりません。Flux.empty()。Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.