Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABORTED - Enum constant in enum class org.restheart.mongodb.db.sessions.Txn.TransactionStatus
- abortTransaction() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- AbstractAggregationOperation - Class in org.restheart.mongodb.handlers.aggregation
- AbstractAggregationOperation(BsonDocument) - Constructor for class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- AbstractAggregationOperation.TYPE - Enum Class in org.restheart.mongodb.handlers.aggregation
- add(SessionKey, ChangeStreamWebSocketSession) - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketSessionsRegistry
- AddRequestProperties - Class in org.restheart.mongodb.interceptors
- AddRequestProperties() - Constructor for class org.restheart.mongodb.interceptors.AddRequestProperties
- addResponseHeader(HttpString, Boolean) - Method in class org.restheart.mongodb.handlers.HeadersManager
- addResponseHeader(HttpString, String) - Method in class org.restheart.mongodb.handlers.HeadersManager
- advanceTransactionNumber() - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- AGGREGATION_CHECK_OPERATORS - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
The key for enabling check that aggregation variables contains operators.
- AGGREGATION_PIPELINE - Enum constant in enum class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation.TYPE
- AGGREGATION_TIME_LIMIT_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the aggregation-time-limit property
- AggregationPipeline - Class in org.restheart.mongodb.handlers.aggregation
-
represents a map reduce.
- AggregationPipeline(BsonDocument) - Constructor for class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
-
Constructor from aggregation definition in collection metadata
- AGGREGATIONS_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- AggregationTransformer - Class in org.restheart.mongodb.handlers.aggregation
-
transformer in charge of escaping the aggregation stages that can contain dollar prefixed keys (for operators)
- AggregationTransformer(boolean) - Constructor for class org.restheart.mongodb.handlers.aggregation.AggregationTransformer
- ALLOW_DISK_USER_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
-
the allowDiskUse property name
- AllowBulkRequests - Class in org.restheart.mongodb.security
- AllowBulkRequests() - Constructor for class org.restheart.mongodb.security.AllowBulkRequests
- AllowMgmtRequests - Class in org.restheart.mongodb.security
- AllowMgmtRequests() - Constructor for class org.restheart.mongodb.security.AllowMgmtRequests
- AllowWriteMode - Class in org.restheart.mongodb.security
- AllowWriteMode() - Constructor for class org.restheart.mongodb.security.AllowWriteMode
- APPLICATION_OCTET_STREAM - Static variable in class org.restheart.mongodb.handlers.files.GetFileBinaryHandler
- apply(String) - Method in class org.restheart.mongodb.handlers.schema.SchemaStoreClient
- AVARS_ATTACHMENT_KEY - Static variable in class org.restheart.mongodb.handlers.changestreams.GetChangeStreamHandler
B
- BAD_VALUE_KEY_ERROR - Static variable in class org.restheart.mongodb.db.DbUtils
- BaseAllowInitializer - Class in org.restheart.mongodb.security
- BaseAllowInitializer() - Constructor for class org.restheart.mongodb.security.BaseAllowInitializer
- bindAggregationVariables(BsonValue, BsonDocument) - Method in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- bindAggregationVariables(BsonValue, BsonDocument) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- boxedError(Logger, String...) - Static method in class org.restheart.mongodb.utils.LogUtils
- boxedInfo(Logger, String...) - Static method in class org.restheart.mongodb.utils.LogUtils
- boxedMessage(Logger, LogUtils.Level, Ansi.Color, Ansi.Color, String...) - Static method in class org.restheart.mongodb.utils.LogUtils
- boxedWarn(Logger, String...) - Static method in class org.restheart.mongodb.utils.LogUtils
- build() - Static method in class org.restheart.mongodb.handlers.injectors.ClientSessionInjector
- bulkDeleteDocuments(Optional<ClientSession>, Optional<RSOps>, String, String, BsonDocument, Optional<BsonDocument>) - Method in class org.restheart.mongodb.db.Documents
- BulkDeleteDocumentsHandler - Class in org.restheart.mongodb.handlers.bulk
- BulkDeleteDocumentsHandler() - Constructor for class org.restheart.mongodb.handlers.bulk.BulkDeleteDocumentsHandler
-
Creates a new instance of BulkDeleteDocumentsHandler
- BulkDeleteDocumentsHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.bulk.BulkDeleteDocumentsHandler
-
Creates a new instance of BulkDeleteDocumentsHandler
- bulkPatchDocuments(Optional<ClientSession>, Optional<RSOps>, String, String, BsonDocument, Optional<BsonDocument>, BsonDocument) - Method in class org.restheart.mongodb.db.Documents
- BulkPatchDocumentsHandler - Class in org.restheart.mongodb.handlers.bulk
- BulkPatchDocumentsHandler() - Constructor for class org.restheart.mongodb.handlers.bulk.BulkPatchDocumentsHandler
-
Creates a new instance of PatchDocumentHandler
- BulkPatchDocumentsHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.bulk.BulkPatchDocumentsHandler
- BulkPostCollectionHandler - Class in org.restheart.mongodb.handlers.bulk
- BulkPostCollectionHandler() - Constructor for class org.restheart.mongodb.handlers.bulk.BulkPostCollectionHandler
-
Creates a new instance of BulkPostCollectionHandler
- BulkPostCollectionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.bulk.BulkPostCollectionHandler
-
Creates a new instance of BulkPostCollectionHandler
- bulkPostDocuments(Optional<ClientSession>, Optional<RSOps>, String, String, BsonArray, Optional<BsonDocument>, Optional<BsonDocument>, ExchangeKeys.WRITE_MODE) - Method in class org.restheart.mongodb.db.Documents
- BulkResultRepresentationFactory - Class in org.restheart.mongodb.handlers.bulk
- BulkResultRepresentationFactory() - Constructor for class org.restheart.mongodb.handlers.bulk.BulkResultRepresentationFactory
- bulkWriteDocuments(Optional<ClientSession>, MongoCollection<BsonDocument>, BsonArray, Optional<BsonDocument>, Optional<BsonDocument>, ExchangeKeys.WRITE_MODE) - Static method in class org.restheart.mongodb.db.DbUtils
- BWO_NOT_ORDERED - Static variable in class org.restheart.mongodb.db.DbUtils
C
- CacheInvalidator - Class in org.restheart.mongodb.services
- CacheInvalidator() - Constructor for class org.restheart.mongodb.services.CacheInvalidator
- CAUSALLY_CONSISTENT_FLAG - Static variable in class org.restheart.mongodb.db.sessions.SessionOptions
- CAUSALLY_CONSISTENT_PROP - Static variable in class org.restheart.mongodb.db.sessions.SessionOptions
- ChangeStreamNotification - Class in org.restheart.mongodb.handlers.changestreams
- ChangeStreamNotification(SessionKey, String) - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamNotification
- ChangeStreamOperation - Class in org.restheart.mongodb.handlers.changestreams
- ChangeStreamOperation(BsonDocument) - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- ChangeStreamsActivator - Class in org.restheart.mongodb.handlers.changestreams
- ChangeStreamsActivator() - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamsActivator
- ChangeStreamsRegistry - Class in org.restheart.mongodb.handlers.changestreams
-
Registry to keep track of open change streasms wraps a map to easily allow to get corresponding SessionInfo that encapsulates db, coll, and opName
- ChangeStreamsRegistry() - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- ChangeStreamSubscriber - Class in org.restheart.mongodb.handlers.changestreams
- ChangeStreamSubscriber(SessionKey, List<BsonDocument>, String, String) - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- ChangeStreamSubscriber(SessionKey, List<BsonDocument>, String, String, boolean) - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- ChangeStreamWebsocketCallback - Class in org.restheart.mongodb.handlers.changestreams
- ChangeStreamWebsocketCallback() - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebsocketCallback
- ChangeStreamWebSocketSession - Class in org.restheart.mongodb.handlers.changestreams
- ChangeStreamWebSocketSession(WebSocketChannel, SessionKey) - Constructor for class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebSocketSession
- checkAggregationVariables(BsonValue) - Static method in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
-
checks if the aggregation variable start with $ this is not allowed since the client would be able to modify the aggregation stages
- checkAggregationVariables(BsonValue) - Static method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
-
checks if the aggregation variable start with $ this is not allowed since the client would be able to modify the aggregation stages
- checkCollection(MongoRequest) - Static method in class org.restheart.mongodb.interceptors.CollectionPropsInjector
- checkId(BsonValue) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
- checkReadEtag(HttpServerExchange, BsonObjectId) - Static method in class org.restheart.mongodb.utils.RequestHelper
- ClientSessionFactory - Class in org.restheart.mongodb.db.sessions
- ClientSessionFactory() - Constructor for class org.restheart.mongodb.db.sessions.ClientSessionFactory
- ClientSessionInjector - Class in org.restheart.mongodb.handlers.injectors
-
this handler injects the ClientSession in the request context
- clone(GetCollectionCacheKey) - Static method in record class org.restheart.mongodb.db.GetCollectionCacheKey
- close() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- close() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebSocketSession
- collection() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
collectionrecord component. - collection(Optional<RSOps>, String, String) - Method in class org.restheart.mongodb.db.Databases
- COLLECTION - Enum constant in enum class org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
-
gather basic, database, and collection-specific metrics
- CollectionPropsInjector - Class in org.restheart.mongodb.interceptors
-
Injects the collection properties into the Request It is also responsible of sending NOT_FOUND in case of requests involving not existing collections (that are not PUT)
- CollectionPropsInjector() - Constructor for class org.restheart.mongodb.interceptors.CollectionPropsInjector
- COMMITTED - Enum constant in enum class org.restheart.mongodb.db.sessions.Txn.TransactionStatus
- commitTransaction() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- ConfigurationHelper - Class in org.restheart.mongodb
- ConfigurationHelper() - Constructor for class org.restheart.mongodb.ConfigurationHelper
- CONNECTION_OPTIONS_KEY - Static variable in class org.restheart.mongodb.MongoServiceConfiguration
-
undertow connection options Seehttp://undertow.io/undertow-docs/undertow-docs-2.0.0/index.html#common-listener-options
- containsKey(SessionKey) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- CONTENT_TRANSFER_ENCODING_BINARY - Static variable in class org.restheart.mongodb.handlers.files.GetFileBinaryHandler
- ContentSizeChecker - Class in org.restheart.mongodb.interceptors
- ContentSizeChecker() - Constructor for class org.restheart.mongodb.interceptors.ContentSizeChecker
- createFile(Optional<RSOps>, String, String, BsonDocument, InputStream) - Method in class org.restheart.mongodb.db.GridFs
- createIndex(Optional<ClientSession>, Optional<RSOps>, String, String, BsonDocument, Optional<BsonDocument>) - Method in class org.restheart.mongodb.db.Databases
- createServerSession(UUID) - Method in class org.restheart.mongodb.db.sessions.ClientSessionFactory
- CsvLoader - Class in org.restheart.mongodb.services
-
service to upload a csv file in a MongoDb collection query parameters:
- db=<db_name> *required
- coll=<collection_name> *required
- id=<id_column_index> optional (default: no _id column, each row will get an new ObjectId)
- sep=<column_separator> optional (default: ,)
- props=<props> optional (default: no props) additional props to add to each row
- values=<values> optional (default: no values) values of additional props to add to each row
defined in conf file) of a tranformer to apply to imported data - update optional (default: no).use data to update matching documents"); - CsvLoader() - Constructor for class org.restheart.mongodb.services.CsvLoader
- CURSOR_BATCH_SIZE_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
The key for specifying the cursor batch size
- cursorId() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
cursorIdrecord component.
D
- DATABASE - Enum constant in enum class org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
-
gather basic metrics, and also specific per database (but not collection-specific)
- Databases - Class in org.restheart.mongodb.db
- DbPropsInjector - Class in org.restheart.mongodb.interceptors
-
Injects the db properties into the MongoRequest It is also responsible of sending NOT_FOUND in case of requests involving not existing dbs (that are not PUT)
- DbPropsInjector() - Constructor for class org.restheart.mongodb.interceptors.DbPropsInjector
- DbUtils - Class in org.restheart.mongodb.db
- DbUtils() - Constructor for class org.restheart.mongodb.db.DbUtils
- DEBUG - Enum constant in enum class org.restheart.mongodb.utils.LogUtils.Level
- DEFAULT_COLL_ETAG_CHECK_POLICY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default coll etag check policy
- DEFAULT_CURSOR_BATCH_SIZE - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default value for cursor batch size
- DEFAULT_DB_ETAG_CHECK_POLICY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default db etag check policy
- DEFAULT_DEFAULT_PAGESIZE - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default value for max-pagesize
- DEFAULT_DOC_ETAG_CHECK_POLICY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default doc etag check policy
- DEFAULT_MAX_DOC_ETAG_CHECK_POLICY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default doc etag check policy
- DEFAULT_MAX_PAGESIZE - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default value for max-pagesize
- DEFAULT_MONGO_MOUNT_WHAT - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the default value for the waht mongo-mount property.
- DEFAULT_MONGO_MOUNT_WHERE - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the default value for the where mongo-mount property.
- DEFAULT_MONGO_URI - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default mongo uri mongodb://127.0.0.1
- DEFAULT_PAGESIZE_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
The key for specifying the default pagesize
- DEFAULT_REPRESENTATION_FORMAT - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
default represetation format
- DeleteBucketHandler - Class in org.restheart.mongodb.handlers.files
- DeleteBucketHandler() - Constructor for class org.restheart.mongodb.handlers.files.DeleteBucketHandler
-
Creates a new instance of DeleteBucketHandler
- DeleteBucketHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.DeleteBucketHandler
-
Creates a new instance of DeleteBucketHandler
- deleteChunksCollection(Optional<RSOps>, String, String) - Method in class org.restheart.mongodb.db.GridFs
- deleteCollection(Optional<ClientSession>, Optional<RSOps>, String, String, BsonObjectId, boolean) - Method in class org.restheart.mongodb.db.Databases
- DeleteCollectionHandler - Class in org.restheart.mongodb.handlers.collection
- DeleteCollectionHandler() - Constructor for class org.restheart.mongodb.handlers.collection.DeleteCollectionHandler
-
Creates a new instance of DeleteCollectionHandler
- DeleteCollectionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.collection.DeleteCollectionHandler
-
Creates a new instance of DeleteCollectionHandler
- deleteDatabase(Optional<ClientSession>, Optional<RSOps>, String, BsonObjectId, boolean) - Method in class org.restheart.mongodb.db.Databases
- DeleteDBHandler - Class in org.restheart.mongodb.handlers.database
- DeleteDBHandler() - Constructor for class org.restheart.mongodb.handlers.database.DeleteDBHandler
-
Creates a new instance of DeleteDBHandler
- DeleteDBHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.database.DeleteDBHandler
-
Creates a new instance of DeleteDBHandler
- deleteDocument(Optional<ClientSession>, Optional<RSOps>, String, String, Optional<BsonValue>, Optional<BsonDocument>, Optional<BsonDocument>, String, boolean) - Method in class org.restheart.mongodb.db.Documents
- DeleteDocumentHandler - Class in org.restheart.mongodb.handlers.document
- DeleteDocumentHandler() - Constructor for class org.restheart.mongodb.handlers.document.DeleteDocumentHandler
-
Creates a new instance of DeleteDocumentHandler
- DeleteDocumentHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.document.DeleteDocumentHandler
-
Creates a new instance of DeleteDocumentHandler
- deleteFile(Optional<RSOps>, String, String, BsonValue, BsonDocument, String, boolean) - Method in class org.restheart.mongodb.db.GridFs
- DeleteFileHandler - Class in org.restheart.mongodb.handlers.files
- DeleteFileHandler() - Constructor for class org.restheart.mongodb.handlers.files.DeleteFileHandler
-
Creates a new instance of DeleteFileHandler
- DeleteFileHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.DeleteFileHandler
-
Creates a new instance of DeleteFileHandler
- deleteIndex(Optional<ClientSession>, Optional<RSOps>, String, String, String) - Method in class org.restheart.mongodb.db.Databases
- DeleteIndexHandler - Class in org.restheart.mongodb.handlers.indexes
- DeleteIndexHandler() - Constructor for class org.restheart.mongodb.handlers.indexes.DeleteIndexHandler
-
Creates a new instance of DeleteIndexHandler
- DeleteIndexHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.indexes.DeleteIndexHandler
-
Creates a new instance of DeleteIndexHandler
- DeleteSessionHandler - Class in org.restheart.mongodb.handlers.sessions
-
kills a session
- DeleteSessionHandler() - Constructor for class org.restheart.mongodb.handlers.sessions.DeleteSessionHandler
- DeleteTxnHandler - Class in org.restheart.mongodb.handlers.sessions
-
aborts transaction of the session
- DeleteTxnHandler() - Constructor for class org.restheart.mongodb.handlers.sessions.DeleteTxnHandler
- Documents - Class in org.restheart.mongodb.db
- doesDbExist(Optional<ClientSession>, Optional<RSOps>, String) - Method in class org.restheart.mongodb.db.Databases
-
Returns true if the collection exists
- doesNotExists(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.CollectionPropsInjector
- DUPLICATE_KEY_ERROR - Static variable in class org.restheart.mongodb.db.DbUtils
E
- equals(Object) - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.restheart.mongodb.db.sessions.SessionOptions
- equals(Object) - Method in class org.restheart.mongodb.handlers.changestreams.SessionInfo
- equals(Object) - Method in class org.restheart.mongodb.handlers.changestreams.SessionKey
- ERROR - Enum constant in enum class org.restheart.mongodb.utils.LogUtils.Level
- ErrorHandler - Class in org.restheart.mongodb.handlers
- ErrorHandler() - Constructor for class org.restheart.mongodb.handlers.ErrorHandler
-
Creates a new instance of ErrorHandler
- ErrorHandler(HttpHandler) - Constructor for class org.restheart.mongodb.handlers.ErrorHandler
-
Creates a new instance of ErrorHandler
- ETAG_CHECK_POLICY_COLL_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the etag-check-policy.coll property.
- ETAG_CHECK_POLICY_DB_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the etag-check-policy.db property.
- ETAG_CHECK_POLICY_DOC_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the etag-check-policy.doc property.
- ETAG_CHECK_POLICY_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the etag-check-policy property.
- ETagPolicyInjector - Class in org.restheart.mongodb.handlers.injectors
-
injects the ETag Policy
- ETagPolicyInjector() - Constructor for class org.restheart.mongodb.handlers.injectors.ETagPolicyInjector
-
Creates a new instance of ETagPolicyInjector
- ETagPolicyInjector(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.injectors.ETagPolicyInjector
-
Creates a new instance of ETagPolicyInjector
- exhausted() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
exhaustedrecord component. - extractBucketName(String) - Static method in class org.restheart.mongodb.db.GridFs
F
- FAU_NOT_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- FAU_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- FileMediaTypeDetector - Class in org.restheart.mongodb.interceptors
-
detects the file content type using Tika
- FileMediaTypeDetector() - Constructor for class org.restheart.mongodb.interceptors.FileMediaTypeDetector
- FileMetadataHandler - Class in org.restheart.mongodb.handlers.files
-
A customised and cut down version of the
PutDocumentHandlerorPatchDocumentHandler, this deals with both PUT and PATCHing of the metadata for a binary file. - FileMetadataHandler() - Constructor for class org.restheart.mongodb.handlers.files.FileMetadataHandler
-
Creates a new instance of PatchFileMetadataHandler
- FileMetadataHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.FileMetadataHandler
- filter() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
filterrecord component. - FILTER_PROPERTY - Static variable in class org.restheart.mongodb.services.CsvLoader
- FilterOperatorsBlacklist - Class in org.restheart.mongodb.security
-
Forbids all requests to Mongo API that use an blacklisted operator in the filter query paramter
- FilterOperatorsBlacklist() - Constructor for class org.restheart.mongodb.security.FilterOperatorsBlacklist
- find(GetCollectionCacheKey) - Method in class org.restheart.mongodb.db.GetCollectionCache
- findIterable(Optional<ClientSession>, Optional<RSOps>, String, String, BsonDocument, BsonDocument, BsonDocument, BsonDocument, int) - Method in class org.restheart.mongodb.db.Databases
- FOR_AFTER_NOT_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- FOR_AFTER_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- FOU_AFTER_NOT_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- FOU_AFTER_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- from() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
fromrecord component.
G
- gatheringAboveOrEqualToLevel(MongoServiceConfiguration.METRICS_GATHERING_LEVEL) - Method in class org.restheart.mongodb.MongoServiceConfiguration
-
decides whether metrics are gathered at the given log level or not
- generateMetricsBson(MetricRegistry, TimeUnit, TimeUnit) - Static method in class org.restheart.mongodb.handlers.metrics.MetricsJsonGenerator
- get() - Static method in class org.restheart.mongodb.db.Databases
- get() - Static method in class org.restheart.mongodb.db.Documents
- get() - Static method in class org.restheart.mongodb.db.GridFs
- get() - Method in class org.restheart.mongodb.db.sessions.SimpleServerSessionPool
- get() - Static method in class org.restheart.mongodb.MongoServiceConfiguration
- get(String) - Method in class org.restheart.mongodb.handlers.schema.SchemaStoreClient
- get(String, BsonValue) - Method in class org.restheart.mongodb.handlers.schema.JsonSchemaCacheSingleton
- get(GetCollectionCacheKey) - Method in class org.restheart.mongodb.db.GetCollectionCache
- get(SessionKey) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- get(SessionKey) - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketSessionsRegistry
- GET_COLLECTION_CACHE_DOCS_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the get-collection-cache-docs property.
- GET_COLLECTION_CACHE_SIZE_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the get-collection-cache-size property.
- GET_COLLECTION_CACHE_TTL_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the get-collection-cache-ttl property.
- getAggregationCheckOperators() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- GetAggregationHandler - Class in org.restheart.mongodb.handlers.aggregation
- GetAggregationHandler() - Constructor for class org.restheart.mongodb.handlers.aggregation.GetAggregationHandler
-
Default ctor
- GetAggregationHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.aggregation.GetAggregationHandler
-
Default ctor
- getAggregationTimeLimit() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getAllowDiskUse() - Method in class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
- getAvars() - Method in class org.restheart.mongodb.handlers.changestreams.SessionKey
- GetBucketHandler - Class in org.restheart.mongodb.handlers.files
- GetBucketHandler() - Constructor for class org.restheart.mongodb.handlers.files.GetBucketHandler
- GetChangeStreamHandler - Class in org.restheart.mongodb.handlers.changestreams
- GetChangeStreamHandler() - Constructor for class org.restheart.mongodb.handlers.changestreams.GetChangeStreamHandler
- getChangeStreamOperation() - Method in class org.restheart.mongodb.handlers.changestreams.SessionInfo
- getChannel() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebSocketSession
- getClientSession(HttpServerExchange) - Method in class org.restheart.mongodb.db.sessions.ClientSessionFactory
- getClientSession(HttpServerExchange) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionFactory
- getClientSession(UUID) - Method in class org.restheart.mongodb.db.sessions.ClientSessionFactory
- getClientSessionFactory() - Method in class org.restheart.mongodb.handlers.injectors.ClientSessionInjector
- getCluster() - Static method in class org.restheart.mongodb.db.sessions.SessionsUtils
- getCollection() - Method in class org.restheart.mongodb.handlers.changestreams.SessionInfo
- GetCollectionCache - Class in org.restheart.mongodb.db
- GetCollectionCacheKey - Record Class in org.restheart.mongodb.db
- GetCollectionCacheKey(Optional<ClientSession>, MongoCollection<BsonDocument>, BsonDocument, BsonDocument, BsonDocument, BsonDocument, int, int, long, boolean) - Constructor for record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Creates an instance of a
GetCollectionCacheKeyrecord class. - getCollectionData(Optional<ClientSession>, Optional<RSOps>, String, String, int, int, BsonDocument, BsonDocument, BsonDocument, BsonDocument, boolean) - Method in class org.restheart.mongodb.db.Databases
- GetCollectionHandler - Class in org.restheart.mongodb.handlers.collection
- GetCollectionHandler() - Constructor for class org.restheart.mongodb.handlers.collection.GetCollectionHandler
- GetCollectionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.collection.GetCollectionHandler
- getCollectionIndexes(Optional<ClientSession>, Optional<RSOps>, String, String) - Method in class org.restheart.mongodb.db.Databases
- getCollectionNames(Optional<ClientSession>, Optional<RSOps>, String) - Method in class org.restheart.mongodb.db.Databases
- getCollectionProperties(String, String) - Method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- getCollectionProperties(Optional<ClientSession>, Optional<RSOps>, String, String) - Method in class org.restheart.mongodb.db.Databases
- getCollectionSize(Optional<ClientSession>, Optional<RSOps>, String, String, BsonDocument) - Method in class org.restheart.mongodb.db.Databases
-
Returns the number of documents in the given collection (taking into account the filters in case).
- getCollEtagCheckPolicy() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getConfigurationFileMap() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getConnectionOptions() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getCursorBatchSize() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getDatabaseData(Optional<ClientSession>, Optional<RSOps>, String, List<String>, int, int, boolean) - Method in class org.restheart.mongodb.db.Databases
- getDatabaseNames(Optional<ClientSession>) - Method in class org.restheart.mongodb.db.Databases
- getDatabaseProperties(Optional<ClientSession>, Optional<RSOps>, String) - Method in class org.restheart.mongodb.db.Databases
- getDb() - Method in class org.restheart.mongodb.handlers.changestreams.SessionInfo
- getDbEtagCheckPolicy() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- GetDBHandler - Class in org.restheart.mongodb.handlers.database
- GetDBHandler() - Constructor for class org.restheart.mongodb.handlers.database.GetDBHandler
-
Creates a new instance of GetDBHandler
- GetDBHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.database.GetDBHandler
- getDBProperties(String) - Method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- getDBSize(List<String>) - Method in class org.restheart.mongodb.db.Databases
- getDefaultPagesize() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getDefaultRepresentationFormat() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getDocEtagCheckPolicy() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getDocumentEtag(Optional<ClientSession>, Optional<RSOps>, String, String, Object) - Method in class org.restheart.mongodb.db.Documents
- GetDocumentHandler - Class in org.restheart.mongodb.handlers.document
- GetDocumentHandler() - Constructor for class org.restheart.mongodb.handlers.document.GetDocumentHandler
-
Default ctor
- GetDocumentHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.document.GetDocumentHandler
-
Default ctor
- getDocumentIdFromURI(String, ExchangeKeys.DOC_ID_TYPE) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
-
Gets the id as object from its string representation in the document URI NOTE: for POST the special string id are checked by BodyInjectorHandler.checkSpecialStringId()
- GetFileBinaryHandler - Class in org.restheart.mongodb.handlers.files
- GetFileBinaryHandler() - Constructor for class org.restheart.mongodb.handlers.files.GetFileBinaryHandler
-
Creates a new instance of GetFileBinaryHandler
- GetFileBinaryHandler(MongoClient, PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.GetFileBinaryHandler
-
Creates a new instance of GetFileBinaryHandler
- GetFileHandler - Class in org.restheart.mongodb.handlers.files
- GetFileHandler() - Constructor for class org.restheart.mongodb.handlers.files.GetFileHandler
-
Default constructor
- GetFileHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.GetFileHandler
-
Default constructor
- getFromJson(BsonDocument) - Static method in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- getFromJson(BsonDocument) - Static method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- getFromJson(BsonDocument) - Static method in class org.restheart.mongodb.metadata.Relationship
- getGetCollectionCacheDocs() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getGetCollectionCacheSize() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getGetCollectionCacheTTL() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getHttpStatusFromErrorCode(int) - Static method in class org.restheart.mongodb.utils.ResponseHelper
- getId() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebSocketSession
- getIdentifier() - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- GetIndexesHandler - Class in org.restheart.mongodb.handlers.indexes
- GetIndexesHandler() - Constructor for class org.restheart.mongodb.handlers.indexes.GetIndexesHandler
-
Creates a new instance of GetIndexesHandler
- GetIndexesHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.indexes.GetIndexesHandler
-
Creates a new instance of GetIndexesHandler
- getInstance() - Static method in class org.restheart.mongodb.db.GetCollectionCache
- getInstance() - Static method in class org.restheart.mongodb.db.sessions.ClientSessionFactory
- getInstance() - Static method in class org.restheart.mongodb.db.sessions.TxnClientSessionFactory
- getInstance() - Static method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- getInstance() - Static method in class org.restheart.mongodb.handlers.changestreams.WebSocketSessionsRegistry
- getInstance() - Static method in class org.restheart.mongodb.handlers.injectors.ClientSessionInjector
- getInstance() - Static method in class org.restheart.mongodb.handlers.RequestDispatcherHandler
- getInstance() - Static method in class org.restheart.mongodb.handlers.schema.JsonSchemaCacheSingleton
- getInstance() - Static method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- getInstanceBaseURL() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getJsonMode() - Method in class org.restheart.mongodb.handlers.changestreams.SessionKey
- getLocalCacheTtl() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getMap() - Method in class org.restheart.mongodb.handlers.aggregation.MapReduce
- getMaxPagesize() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getMessageFromErrorCode(int) - Static method in class org.restheart.mongodb.utils.ResponseHelper
- getMessageFromMongoException(MongoException) - Static method in class org.restheart.mongodb.utils.ResponseHelper
- getMetricsGatheringLevel() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getMongoMounts() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getMongoUri() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getNotificationMessage() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamNotification
- getOperationExecutor() - Static method in class org.restheart.mongodb.db.sessions.SessionsUtils
- getPipedHttpHandler(ExchangeKeys.TYPE, ExchangeKeys.METHOD) - Method in class org.restheart.mongodb.handlers.RequestDispatcherHandler
-
Given a type and method, return the appropriate PipelinedHandler which can handle this request
- getPluginsArgs() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getQuery() - Method in class org.restheart.mongodb.handlers.aggregation.MapReduce
- getQueryTimeLimit() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getRaw(String, BsonValue) - Method in class org.restheart.mongodb.handlers.schema.JsonSchemaCacheSingleton
- getReduce() - Method in class org.restheart.mongodb.handlers.aggregation.MapReduce
- getReferenceField() - Method in class org.restheart.mongodb.metadata.Relationship
- getRel() - Method in class org.restheart.mongodb.metadata.Relationship
- getRelationshipLink(MongoRequest, String, String, BsonDocument) - Method in class org.restheart.mongodb.metadata.Relationship
- getRemappedRequestURL(HttpServerExchange) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
-
returns the request URL taking into account the instance-base-url configuration option.
- getRepresentation(String, MongoBulkWriteException) - Method in class org.restheart.mongodb.handlers.bulk.BulkResultRepresentationFactory
- getRepresentation(String, BulkOperationResult) - Method in class org.restheart.mongodb.handlers.bulk.BulkResultRepresentationFactory
- getRequestHeader(HttpString) - Method in class org.restheart.mongodb.handlers.HeadersManager
- getRequestsLimit() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getResolvedMap(BsonDocument) - Method in class org.restheart.mongodb.handlers.aggregation.MapReduce
- getResolvedQuery(BsonDocument) - Method in class org.restheart.mongodb.handlers.aggregation.MapReduce
- getResolvedReduce(BsonDocument) - Method in class org.restheart.mongodb.handlers.aggregation.MapReduce
- getResolvedStagesAsList(BsonDocument) - Method in class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
- getResolvedStagesAsList(BsonDocument) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- getRole() - Method in class org.restheart.mongodb.metadata.Relationship
- GetRootHandler - Class in org.restheart.mongodb.handlers.root
- GetRootHandler() - Constructor for class org.restheart.mongodb.handlers.root.GetRootHandler
- GetRootHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.root.GetRootHandler
- getSchemaCacheTtl() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- getSchemaDb() - Method in class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- getSchemaId() - Method in class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- getServerSessionPool() - Static method in class org.restheart.mongodb.db.sessions.SessionsUtils
- getSessionKey() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamNotification
- getSessionKey() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebSocketSession
- getSessionKeysOnCollection(String, String) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- getSessionKeysOnDb(String) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- getSessionKeysOnOperation(String, String, String) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- getSessionOptions(UUID) - Static method in class org.restheart.mongodb.db.sessions.Sid
- getStages() - Method in class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
- getStages() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- getStatus() - Method in class org.restheart.mongodb.db.sessions.Txn
- getTargetCollection() - Method in class org.restheart.mongodb.metadata.Relationship
- getTargetDb() - Method in class org.restheart.mongodb.metadata.Relationship
- getTransactionNumber() - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- getTransactionOptions() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- getTxnClientSession(UUID, Optional<RSOps>) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionFactory
-
Warn: requires a round trip to the server
- getTxnClientSession(UUID, Optional<RSOps>, Txn) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionFactory
- GetTxnHandler - Class in org.restheart.mongodb.handlers.sessions
-
commits the transaction of the session
- GetTxnHandler() - Constructor for class org.restheart.mongodb.handlers.sessions.GetTxnHandler
- getTxnId() - Method in class org.restheart.mongodb.db.sessions.Txn
- getTxnServerStatus() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- getTxnServerStatus(UUID, Optional<RSOps>) - Static method in class org.restheart.mongodb.db.sessions.TxnsUtils
-
Warn: requires two round trips to server
- getType() - Method in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- getType() - Method in class org.restheart.mongodb.metadata.Relationship
- getUri() - Method in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- getUri() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- getUriWithDocId(MongoRequest, String, String, BsonValue) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
- getUriWithFilterMany(MongoRequest, String, String, BsonValue[]) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
- getUriWithFilterManyInverse(MongoRequest, String, String, String, BsonValue) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
- getUriWithFilterOne(MongoRequest, String, String, String, BsonValue) - Static method in class org.restheart.mongodb.utils.MongoURLUtils
- getUrl() - Method in class org.restheart.mongodb.handlers.changestreams.SessionKey
- getWriteEtag(HttpServerExchange) - Static method in class org.restheart.mongodb.utils.RequestHelper
- GridFs - Class in org.restheart.mongodb.db
- GzipEncodingHandler - Class in org.restheart.mongodb.handlers
- GzipEncodingHandler(HttpHandler, boolean) - Constructor for class org.restheart.mongodb.handlers.GzipEncodingHandler
-
Creates a new instance of GzipEncodingHandler
H
- HALRepresentation - Class in org.restheart.mongodb.hal
-
Transform the response content to HAL or SHAL format when required (e.g. when the request has the query parameter ?
- HALRepresentation() - Constructor for class org.restheart.mongodb.hal.HALRepresentation
- handle(BsonFromCsvRequest, BsonResponse) - Method in class org.restheart.mongodb.services.CsvLoader
- handle(ByteArrayRequest, ByteArrayResponse) - Method in class org.restheart.mongodb.services.CacheInvalidator
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.hal.HALRepresentation
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.handlers.changestreams.ObsoleteChangeStreamRemover
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.handlers.metrics.MetricsInstrumentationInterceptor
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.AddRequestProperties
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.CollectionPropsInjector
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.ContentSizeChecker
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.DbPropsInjector
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.FileMediaTypeDetector
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.JsonSchemaAfterWriteChecker
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.JsonSchemaBeforeWriteChecker
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.NamespacesResponseFlattener
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.MongoService
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.security.MergeRequest
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.security.ProjectResponse
- handle(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.security.RequestFilters
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.aggregation.AggregationTransformer
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.aggregation.GetAggregationHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.bulk.BulkDeleteDocumentsHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.bulk.BulkPatchDocumentsHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.bulk.BulkPostCollectionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.changestreams.GetChangeStreamHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.collection.DeleteCollectionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.collection.GetCollectionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.collection.PatchCollectionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.collection.PostCollectionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.collection.PutCollectionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.database.DeleteDBHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.database.GetDBHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.database.PatchDBHandler
-
partial update db properties
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.database.PutDBHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.document.DeleteDocumentHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.document.GetDocumentHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.document.PatchDocumentHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.document.PutDocumentHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.ErrorHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.files.DeleteBucketHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.files.DeleteFileHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.files.FileMetadataHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.files.GetFileBinaryHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.files.PostBucketHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.files.PutFileHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.GzipEncodingHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.indexes.DeleteIndexHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.indexes.GetIndexesHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.indexes.PutIndexHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.injectors.ClientSessionInjector
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.injectors.ETagPolicyInjector
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.MetaRequestTransformer
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.metrics.MetricsHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.NormalOrBulkDispatcherHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.OptionsHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.RequestDispatcherHandler
-
Handle the request, delegating to the proper PipelinedHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.root.GetRootHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.schema.JsonMetaSchemaChecker
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.schema.JsonSchemaTransformer
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.sessions.DeleteSessionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.sessions.DeleteTxnHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.sessions.GetTxnHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.sessions.PatchTxnHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.sessions.PostSessionHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.sessions.PostTxnsHandler
- handleRequest(HttpServerExchange) - Method in class org.restheart.mongodb.handlers.SizeRequestTransformer
- hasActiveTransaction() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- hashCode() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns a hash code value for this object.
- hashCode() - Method in class org.restheart.mongodb.db.sessions.SessionOptions
- hashCode() - Method in class org.restheart.mongodb.handlers.changestreams.SessionInfo
- hashCode() - Method in class org.restheart.mongodb.handlers.changestreams.SessionKey
- HeadersManager - Class in org.restheart.mongodb.handlers
- HeadersManager(HttpServerExchange) - Constructor for class org.restheart.mongodb.handlers.HeadersManager
- hint() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
hintrecord component.
I
- IN - Enum constant in enum class org.restheart.mongodb.db.sessions.Txn.TransactionStatus
- INFO - Enum constant in enum class org.restheart.mongodb.utils.LogUtils.Level
- init() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsActivator
- init() - Method in class org.restheart.mongodb.handlers.sessions.TxnsActivator
- init() - Method in class org.restheart.mongodb.interceptors.CollectionPropsInjector
-
Makes sure that dbs is instantiated after MongoClient initialization
- init() - Method in class org.restheart.mongodb.interceptors.DbPropsInjector
-
Makes sure that dbs is instantiated after MongoClient initialization
- init() - Method in class org.restheart.mongodb.MongoService
- init() - Method in class org.restheart.mongodb.MongoServiceInitializer
- init() - Method in class org.restheart.mongodb.RHMongoClients
- init() - Method in class org.restheart.mongodb.security.AllowBulkRequests
- init() - Method in class org.restheart.mongodb.security.AllowMgmtRequests
- init() - Method in class org.restheart.mongodb.security.AllowWriteMode
- init() - Method in class org.restheart.mongodb.security.FilterOperatorsBlacklist
- init() - Method in class org.restheart.mongodb.security.RequestFilters
- init(ConnectionString) - Static method in class org.restheart.mongodb.db.sessions.TxnClientSessionFactory
- init(Map<String, Object>) - Static method in class org.restheart.mongodb.MongoServiceConfiguration
- init(Map<String, Object>, boolean) - Static method in class org.restheart.mongodb.MongoServiceConfiguration
- init(MongoServiceConfiguration) - Static method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- inject(HttpServerExchange) - Static method in class org.restheart.mongodb.exchange.MongoRequestPropsInjector
- injectEtagHeader(HttpServerExchange, Object) - Static method in class org.restheart.mongodb.utils.ResponseHelper
- injectEtagHeader(HttpServerExchange, BsonDocument) - Static method in class org.restheart.mongodb.utils.ResponseHelper
- injectEtagHeader(HttpServerExchange, Document) - Static method in class org.restheart.mongodb.utils.ResponseHelper
- INSTANCE_BASE_URL_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the instance-base-url property.
- invalidate(GetCollectionCacheKey) - Method in class org.restheart.mongodb.db.GetCollectionCache
- invalidateAll(MongoCollection<?>) - Method in class org.restheart.mongodb.db.GetCollectionCache
- invalidateAll(String, String) - Method in class org.restheart.mongodb.db.GetCollectionCache
- invalidateCollection(String, String) - Method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- invalidateDb(String) - Method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- INVERSE - Enum constant in enum class org.restheart.mongodb.metadata.Relationship.ROLE
- isCausallyConsistent() - Method in class org.restheart.mongodb.db.sessions.SessionOptions
- isClosed() - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- isDefault(String) - Method in class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- isEnabled() - Static method in class org.restheart.mongodb.interceptors.MetadataCachesSingleton
- isETagCheckRequired(MongoRequest) - Method in class org.restheart.mongodb.handlers.injectors.ETagPolicyInjector
- isHandledByMongoService(Request<?>) - Method in class org.restheart.mongodb.security.BaseAllowInitializer
- isLocalCacheEnabled() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- isMac() - Static method in class org.restheart.mongodb.utils.OSChecker
- isMarkedDirty() - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- isMessageSentInCurrentTransaction() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- isNotAcceptableContent(BsonValue, HttpServerExchange) - Static method in class org.restheart.mongodb.utils.RequestHelper
- isNotAcceptableContentForPatch(BsonValue, HttpServerExchange) - Static method in class org.restheart.mongodb.utils.RequestHelper
- isRequestHeaderSet(HttpString) - Method in class org.restheart.mongodb.handlers.HeadersManager
- isResponseInConflict(OperationResult, HttpServerExchange) - Static method in class org.restheart.mongodb.utils.RequestHelper
-
Warn side effect: invokes MongoResponse.of(exchange).setDbOperationResult(result)
- isSchemaCacheEnabled() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- isSolaris() - Static method in class org.restheart.mongodb.utils.OSChecker
- isTransacted() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- isUnix() - Static method in class org.restheart.mongodb.utils.OSChecker
- isValid(String) - Static method in class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- isWindows() - Static method in class org.restheart.mongodb.utils.OSChecker
J
- JSON_MODE_ATTACHMENT_KEY - Static variable in class org.restheart.mongodb.handlers.changestreams.GetChangeStreamHandler
- JsonMetaSchemaChecker - Class in org.restheart.mongodb.handlers.schema
-
checks the schema of the schemas using json metaschema
- JsonMetaSchemaChecker() - Constructor for class org.restheart.mongodb.handlers.schema.JsonMetaSchemaChecker
- JsonSchemaAfterWriteChecker - Class in org.restheart.mongodb.interceptors
-
Checks documents according to the specified JSON schema This intercetor is able to check PATCH requests (excluding bulk PATCH).
- JsonSchemaAfterWriteChecker() - Constructor for class org.restheart.mongodb.interceptors.JsonSchemaAfterWriteChecker
- JsonSchemaBeforeWriteChecker - Class in org.restheart.mongodb.interceptors
-
Checks documents according to the specified JSON schema This intercetor is able to check PUT and POST requests that don't use update operators.
- JsonSchemaBeforeWriteChecker() - Constructor for class org.restheart.mongodb.interceptors.JsonSchemaBeforeWriteChecker
- JsonSchemaCacheSingleton - Class in org.restheart.mongodb.handlers.schema
- JsonSchemaNotFoundException - Exception in org.restheart.mongodb.handlers.schema
- JsonSchemaNotFoundException() - Constructor for exception org.restheart.mongodb.handlers.schema.JsonSchemaNotFoundException
- JsonSchemaNotFoundException(String) - Constructor for exception org.restheart.mongodb.handlers.schema.JsonSchemaNotFoundException
- JsonSchemaNotFoundException(String, Throwable) - Constructor for exception org.restheart.mongodb.handlers.schema.JsonSchemaNotFoundException
- JsonSchemaNotFoundException(Throwable) - Constructor for exception org.restheart.mongodb.handlers.schema.JsonSchemaNotFoundException
- JsonSchemaTransformer - Class in org.restheart.mongodb.handlers.schema
-
On write, escapes schema properties ($ prefixed) On read, unescape schema properties
- JsonSchemaTransformer(boolean) - Constructor for class org.restheart.mongodb.handlers.schema.JsonSchemaTransformer
K
- keys() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
keysrecord component. - keySet() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- keySet() - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketSessionsRegistry
L
- LOCAL_CACHE_ENABLED_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the local-cache-enabled property.
- LOCAL_CACHE_TTL_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the local-cache-ttl property.
- log(Logger, LogUtils.Level, String, Object...) - Static method in class org.restheart.mongodb.utils.LogUtils
- LOGGER - Static variable in class org.restheart.mongodb.db.DbUtils
- LOGGER - Static variable in class org.restheart.mongodb.MongoServiceConfiguration
- LoggingInitializer - Class in org.restheart.mongodb.utils
- LogUtils - Class in org.restheart.mongodb.utils
- LogUtils() - Constructor for class org.restheart.mongodb.utils.LogUtils
- LogUtils.Level - Enum Class in org.restheart.mongodb.utils
M
- MANY_TO_MANY - Enum constant in enum class org.restheart.mongodb.metadata.Relationship.TYPE
- MANY_TO_ONE - Enum constant in enum class org.restheart.mongodb.metadata.Relationship.TYPE
- MAP_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.MapReduce
- MAP_REDUCE - Enum constant in enum class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation.TYPE
- MapReduce - Class in org.restheart.mongodb.handlers.aggregation
-
represents a map reduce.
- MapReduce(BsonDocument) - Constructor for class org.restheart.mongodb.handlers.aggregation.MapReduce
- markDirty() - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- MAX_PAGESIZE_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
The key for specifying the max pagesize
- mclient() - Static method in class org.restheart.mongodb.RHMongoClients
- mClient - Variable in class org.restheart.mongodb.db.sessions.ClientSessionFactory
- mclientReactive() - Static method in class org.restheart.mongodb.RHMongoClients
- MergeRequest - Class in org.restheart.mongodb.security
- MergeRequest() - Constructor for class org.restheart.mongodb.security.MergeRequest
- MetadataCachesSingleton - Class in org.restheart.mongodb.interceptors
-
Caches for db and collection metadata
- MetaRequestTransformer - Class in org.restheart.mongodb.handlers
-
sets the _id=_meta in /_meta requests
- MetaRequestTransformer() - Constructor for class org.restheart.mongodb.handlers.MetaRequestTransformer
- METRICS_GATHERING_LEVEL_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
Set metrics gathering level (can be ALL, COLLECTION, DATABASE, ROOT, OFF), gradually gathering less specific metrics.
- MetricsHandler - Class in org.restheart.mongodb.handlers.metrics
-
A handler for dropwizard.io metrics that can return both default metrics JSON and the prometheus format.
- MetricsHandler() - Constructor for class org.restheart.mongodb.handlers.metrics.MetricsHandler
- MetricsHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.metrics.MetricsHandler
- MetricsInstrumentationInterceptor - Class in org.restheart.mongodb.handlers.metrics
- MetricsInstrumentationInterceptor() - Constructor for class org.restheart.mongodb.handlers.metrics.MetricsInstrumentationInterceptor
- MetricsJsonGenerator - Class in org.restheart.mongodb.handlers.metrics
- MONGO_MOUNT_WHAT_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the what property.
- MONGO_MOUNT_WHERE_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the where property.
- MONGO_MOUNTS_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the mongo-mounts property.
- MONGO_URI_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the mongo-uri property.
- mongoCommandExceptionError(MongoCommandException) - Static method in class org.restheart.mongodb.handlers.aggregation.GetAggregationHandler
- MongoRequestPropsInjector - Class in org.restheart.mongodb.exchange
-
initialize the MongoRequest Assumes that the MongoRequest and MongoRequest are already initialized
- MongoRequestPropsInjector() - Constructor for class org.restheart.mongodb.exchange.MongoRequestPropsInjector
- MongoService - Class in org.restheart.mongodb
-
The Service that handles requests to mongodb resources
- MongoService() - Constructor for class org.restheart.mongodb.MongoService
- MongoServiceConfiguration - Class in org.restheart.mongodb
-
Utility class to help dealing with the restheart configuration file.
- MongoServiceConfiguration() - Constructor for class org.restheart.mongodb.MongoServiceConfiguration
-
Creates a new instance of Configuration with defaults values.
- MongoServiceConfiguration.METRICS_GATHERING_LEVEL - Enum Class in org.restheart.mongodb
- MongoServiceConfigurationKeys - Interface in org.restheart.mongodb
- MongoServiceInitializer - Class in org.restheart.mongodb
- MongoServiceInitializer() - Constructor for class org.restheart.mongodb.MongoServiceInitializer
- MongoURLUtils - Class in org.restheart.mongodb.utils
N
- NamespacesResponseFlattener - Class in org.restheart.mongodb.interceptors
-
The response of GET / and GET /db is an array of documents This flattens the reponse in an array of strings (names of dbs and of collections respectiverly)
- NamespacesResponseFlattener() - Constructor for class org.restheart.mongodb.interceptors.NamespacesResponseFlattener
- NONE - Enum constant in enum class org.restheart.mongodb.db.sessions.Txn.TransactionStatus
- NormalOrBulkDispatcherHandler - Class in org.restheart.mongodb.handlers
-
this handler dispatches request to normal or bulk post collection handlers depending on the content to be an object or an array
- NormalOrBulkDispatcherHandler(PipelinedHandler, PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.NormalOrBulkDispatcherHandler
-
Creates a new instance of PostCollectionHandler
- NOTIFICATION_PUBLISHER - Static variable in class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebsocketCallback
- notifyMessageSent() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
O
- ObsoleteChangeStreamRemover - Class in org.restheart.mongodb.handlers.changestreams
- ObsoleteChangeStreamRemover() - Constructor for class org.restheart.mongodb.handlers.changestreams.ObsoleteChangeStreamRemover
- OFF - Enum constant in enum class org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
-
do not gather any metrics
- onComplete() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- onComplete() - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketNotificationSubscriber
- onConnect(WebSocketHttpExchange, WebSocketChannel) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamWebsocketCallback
- ONE_TO_MANY - Enum constant in enum class org.restheart.mongodb.metadata.Relationship.TYPE
- ONE_TO_ONE - Enum constant in enum class org.restheart.mongodb.metadata.Relationship.TYPE
- onError(Throwable) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- onError(Throwable) - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketNotificationSubscriber
- onInit() - Method in class org.restheart.mongodb.MongoServiceInitializer
- onInit() - Method in class org.restheart.mongodb.RHMongoClients
- onInit() - Method in class org.restheart.mongodb.security.FilterOperatorsBlacklist
- onNext(ChangeStreamDocument<?>) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- onNext(ChangeStreamNotification) - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketNotificationSubscriber
- onSubscribe(Flow.Subscription) - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketNotificationSubscriber
- onSubscribe(Subscription) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- OptionsHandler - Class in org.restheart.mongodb.handlers
- OptionsHandler() - Constructor for class org.restheart.mongodb.handlers.OptionsHandler
-
Creates a new instance of OptionsHandler OPTIONS is used in CORS preflight phase and needs to be outside the security zone (i.e. not Authorization header required) It is important that OPTIONS responds to any resource URL, regardless its existance: This is because OPTIONS http://restheart.org/employees/tofire/andrea shall not give any information The Access-Control-Allow-Methods header indicates, as part of the response to a preflight request, which methods can be used during the actual request.
- OptionsHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.OptionsHandler
-
Creates a new instance of OptionsHandler OPTIONS is used in CORS preflight phase and needs to be outside the security zone (i.e. not Authorization header required) It is important that OPTIONS responds to any resource URL, regardless its existance: This is because OPTIONS http://restheart.org/employees/tofire/andrea shall not give any information The Access-Control-Allow-Methods header indicates, as part of the response to a preflight request, which methods can be used during the actual request.
- org.restheart.mongodb - package org.restheart.mongodb
-
Main classes to bootstrap RESTHeart
- org.restheart.mongodb.db - package org.restheart.mongodb.db
-
Data Access Object Classes to decouple the handling logic from the db
- org.restheart.mongodb.db.sessions - package org.restheart.mongodb.db.sessions
- org.restheart.mongodb.exchange - package org.restheart.mongodb.exchange
- org.restheart.mongodb.hal - package org.restheart.mongodb.hal
-
Classes for HAL representation format
- org.restheart.mongodb.handlers - package org.restheart.mongodb.handlers
-
Handlers for an HTTP request.
- org.restheart.mongodb.handlers.aggregation - package org.restheart.mongodb.handlers.aggregation
- org.restheart.mongodb.handlers.bulk - package org.restheart.mongodb.handlers.bulk
-
Handlers for HTTP requests related to bulk operations
- org.restheart.mongodb.handlers.changestreams - package org.restheart.mongodb.handlers.changestreams
- org.restheart.mongodb.handlers.collection - package org.restheart.mongodb.handlers.collection
-
Handlers for HTTP requests related to a collection resource
- org.restheart.mongodb.handlers.database - package org.restheart.mongodb.handlers.database
-
Handlers for HTTP requests related to a database resource
- org.restheart.mongodb.handlers.document - package org.restheart.mongodb.handlers.document
-
Handlers for HTTP requests related to a document resource
- org.restheart.mongodb.handlers.files - package org.restheart.mongodb.handlers.files
-
Handlers for HTTP requests related to file bucket and file resource
- org.restheart.mongodb.handlers.indexes - package org.restheart.mongodb.handlers.indexes
-
Handlers for HTTP requests related to indexes resources
- org.restheart.mongodb.handlers.injectors - package org.restheart.mongodb.handlers.injectors
-
Handlers in charge of injecting data into the request
- org.restheart.mongodb.handlers.metrics - package org.restheart.mongodb.handlers.metrics
- org.restheart.mongodb.handlers.root - package org.restheart.mongodb.handlers.root
-
Handlers for HTTP requests related to the root resource
- org.restheart.mongodb.handlers.schema - package org.restheart.mongodb.handlers.schema
-
Handlers for HTTP requests related to shcema store and schema resources
- org.restheart.mongodb.handlers.sessions - package org.restheart.mongodb.handlers.sessions
- org.restheart.mongodb.interceptors - package org.restheart.mongodb.interceptors
- org.restheart.mongodb.metadata - package org.restheart.mongodb.metadata
-
Base package for classes concerning metadata properties
- org.restheart.mongodb.security - package org.restheart.mongodb.security
-
Interceptors that enforce the ACL MongoPermissions
- org.restheart.mongodb.services - package org.restheart.mongodb.services
-
Implementations of Service
- org.restheart.mongodb.utils - package org.restheart.mongodb.utils
-
Utility classes
- OSChecker - Class in org.restheart.mongodb.utils
- OWNING - Enum constant in enum class org.restheart.mongodb.metadata.Relationship.ROLE
P
- PatchCollectionHandler - Class in org.restheart.mongodb.handlers.collection
- PatchCollectionHandler() - Constructor for class org.restheart.mongodb.handlers.collection.PatchCollectionHandler
-
Creates a new instance of PatchCollectionHandler
- PatchCollectionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.collection.PatchCollectionHandler
-
Creates a new instance of PatchCollectionHandler
- PatchDBHandler - Class in org.restheart.mongodb.handlers.database
- PatchDBHandler() - Constructor for class org.restheart.mongodb.handlers.database.PatchDBHandler
-
Creates a new instance of PatchDBHandler
- PatchDBHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.database.PatchDBHandler
-
Creates a new instance of PatchDBHandler
- PatchDocumentHandler - Class in org.restheart.mongodb.handlers.document
- PatchDocumentHandler() - Constructor for class org.restheart.mongodb.handlers.document.PatchDocumentHandler
-
Creates a new instance of PatchDocumentHandler
- PatchDocumentHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.document.PatchDocumentHandler
- PatchTxnHandler - Class in org.restheart.mongodb.handlers.sessions
-
commits the transaction of the session
- PatchTxnHandler() - Constructor for class org.restheart.mongodb.handlers.sessions.PatchTxnHandler
- PLUGINS_ARGS_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the plugins-args property.
- PostBucketHandler - Class in org.restheart.mongodb.handlers.files
- PostBucketHandler() - Constructor for class org.restheart.mongodb.handlers.files.PostBucketHandler
- PostBucketHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.PostBucketHandler
- PostCollectionHandler - Class in org.restheart.mongodb.handlers.collection
- PostCollectionHandler() - Constructor for class org.restheart.mongodb.handlers.collection.PostCollectionHandler
-
Creates a new instance of PostCollectionHandler
- PostCollectionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.collection.PostCollectionHandler
- PostSessionHandler - Class in org.restheart.mongodb.handlers.sessions
-
creates a session with a started transaction
- PostSessionHandler() - Constructor for class org.restheart.mongodb.handlers.sessions.PostSessionHandler
-
Creates a new instance of PostTxnsHandler
- PostSessionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.sessions.PostSessionHandler
- PostTxnsHandler - Class in org.restheart.mongodb.handlers.sessions
-
creates a session with a started transaction
- PostTxnsHandler() - Constructor for class org.restheart.mongodb.handlers.sessions.PostTxnsHandler
- ProjectResponse - Class in org.restheart.mongodb.security
- ProjectResponse() - Constructor for class org.restheart.mongodb.security.ProjectResponse
- propagateSession(ClientSessionImpl) - Static method in class org.restheart.mongodb.db.sessions.TxnsUtils
-
Warn: requires a round trip to the server
- PROPS_QUERY - Static variable in class org.restheart.mongodb.db.Databases
- put(GetCollectionCacheKey, List<BsonDocument>) - Method in class org.restheart.mongodb.db.GetCollectionCache
- put(SessionKey, SessionInfo) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- PutBucketHandler - Class in org.restheart.mongodb.handlers.files
- PutBucketHandler() - Constructor for class org.restheart.mongodb.handlers.files.PutBucketHandler
-
Creates a new instance of PutBucketHandler
- PutBucketHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.PutBucketHandler
-
Creates a new instance of PutBucketHandler
- PutCollectionHandler - Class in org.restheart.mongodb.handlers.collection
- PutCollectionHandler() - Constructor for class org.restheart.mongodb.handlers.collection.PutCollectionHandler
-
Creates a new instance of PutCollectionHandler
- PutCollectionHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.collection.PutCollectionHandler
-
Creates a new instance of PutCollectionHandler
- PutDBHandler - Class in org.restheart.mongodb.handlers.database
- PutDBHandler() - Constructor for class org.restheart.mongodb.handlers.database.PutDBHandler
-
Creates a new instance of PutDBHandler
- PutDBHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.database.PutDBHandler
-
Creates a new instance of PutDBHandler
- PutDocumentHandler - Class in org.restheart.mongodb.handlers.document
- PutDocumentHandler() - Constructor for class org.restheart.mongodb.handlers.document.PutDocumentHandler
-
Default ctor
- PutDocumentHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.document.PutDocumentHandler
-
Default ctor
- PutFileHandler - Class in org.restheart.mongodb.handlers.files
- PutFileHandler() - Constructor for class org.restheart.mongodb.handlers.files.PutFileHandler
- PutFileHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.files.PutFileHandler
- putHandler(ExchangeKeys.TYPE, ExchangeKeys.METHOD, PipelinedHandler) - Method in class org.restheart.mongodb.handlers.RequestDispatcherHandler
-
Given a type and method, put in a PipelinedHandler
- PutIndexHandler - Class in org.restheart.mongodb.handlers.indexes
- PutIndexHandler() - Constructor for class org.restheart.mongodb.handlers.indexes.PutIndexHandler
-
Creates a new instance of PutIndexHandler
- PutIndexHandler(PipelinedHandler) - Constructor for class org.restheart.mongodb.handlers.indexes.PutIndexHandler
-
Creates a new instance of PutIndexHandler
Q
- QUERY_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.MapReduce
- QUERY_TIME_LIMIT_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the query-time-limit property.
R
- R_NOT_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- randomUUID() - Static method in class org.restheart.mongodb.db.sessions.Sid
-
retrieve a type 4 (pseudo randomly generated) UUID.
- randomUUID(SessionOptions) - Static method in class org.restheart.mongodb.db.sessions.Sid
-
retrieve a type 4 (pseudo randomly generated) UUID, where MSB 3 and 4 of the A byte are used to flag session options The
UUIDis generated using a cryptographically strong pseudo random number generator weakend by using 2 bits for flagging. - REDUCE_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.MapReduce
- REF_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
- registries() - Method in class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- registry() - Method in class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- registry(String) - Method in class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- registry(String, String) - Method in class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- REGISTRY_PREFIX - Static variable in class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- REL_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
- Relationship - Class in org.restheart.mongodb.metadata
- Relationship(String, String, String, String, String, String) - Constructor for class org.restheart.mongodb.metadata.Relationship
- Relationship(String, Relationship.TYPE, Relationship.ROLE, String, String, String) - Constructor for class org.restheart.mongodb.metadata.Relationship
- Relationship.ROLE - Enum Class in org.restheart.mongodb.metadata
- Relationship.TYPE - Enum Class in org.restheart.mongodb.metadata
- RELATIONSHIPS_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
- remove(GetCollectionCacheKey) - Method in class org.restheart.mongodb.db.GetCollectionCache
- remove(SessionKey) - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamsRegistry
- remove(SessionKey, ChangeStreamWebSocketSession) - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketSessionsRegistry
- removeOptionalNotBoundStages(BsonDocument) - Method in class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
- REPRESENTATION_FORMAT_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the instance-name property.
- request() - Method in class org.restheart.mongodb.MongoService
- request() - Method in class org.restheart.mongodb.services.CsvLoader
- RequestDispatcherHandler - Class in org.restheart.mongodb.handlers
- RequestFilters - Class in org.restheart.mongodb.security
- RequestFilters() - Constructor for class org.restheart.mongodb.security.RequestFilters
- RequestHelper - Class in org.restheart.mongodb.utils
- requestInitializer() - Method in class org.restheart.mongodb.MongoService
-
Return the MongoRequest initializer
- requestInitializer() - Method in class org.restheart.mongodb.services.CsvLoader
- REQUESTS_LIMIT_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the requests-limit property.
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.hal.HALRepresentation
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.handlers.changestreams.ObsoleteChangeStreamRemover
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.handlers.metrics.MetricsInstrumentationInterceptor
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.AddRequestProperties
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.CollectionPropsInjector
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.ContentSizeChecker
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.DbPropsInjector
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.FileMediaTypeDetector
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.JsonSchemaAfterWriteChecker
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.JsonSchemaBeforeWriteChecker
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.interceptors.NamespacesResponseFlattener
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.security.MergeRequest
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.security.ProjectResponse
- resolve(MongoRequest, MongoResponse) - Method in class org.restheart.mongodb.security.RequestFilters
- response() - Method in class org.restheart.mongodb.MongoService
- response() - Method in class org.restheart.mongodb.services.CsvLoader
- ResponseHelper - Class in org.restheart.mongodb.utils
- responseInitializer() - Method in class org.restheart.mongodb.MongoService
- responseInitializer() - Method in class org.restheart.mongodb.services.CsvLoader
- restoreDocument(Optional<ClientSession>, MongoCollection<BsonDocument>, BsonValue, Optional<BsonDocument>, BsonDocument, Object, String) - Static method in class org.restheart.mongodb.db.DbUtils
- RHMongoClients - Class in org.restheart.mongodb
- RHMongoClients() - Constructor for class org.restheart.mongodb.RHMongoClients
- ROLE_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
- ROOT - Enum constant in enum class org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
-
gather basic metrics (for all databases, but not specific per database)
S
- SCHEMA_CACHE_ENABLED_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the schema-cache-enabled property.
- SCHEMA_CACHE_TTL_KEY - Static variable in interface org.restheart.mongodb.MongoServiceConfigurationKeys
-
the key for the schema-cache-ttl property.
- SCHEMA_ID_PROPERTY - Static variable in class org.restheart.mongodb.interceptors.JsonSchemaBeforeWriteChecker
- SCHEMA_STORE_DB_PROPERTY - Static variable in class org.restheart.mongodb.interceptors.JsonSchemaBeforeWriteChecker
- SCHEMA_STORE_URL_PREFIX - Static variable in class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- SchemaStoreClient - Class in org.restheart.mongodb.handlers.schema
-
A json-schema client that loads the schema from the db if the url refer to a schema store.
- SchemaStoreClient() - Constructor for class org.restheart.mongodb.handlers.schema.SchemaStoreClient
- SchemaStoreURL - Class in org.restheart.mongodb.handlers.schema
-
if the id of the schema is a valid SchemaStoreURL it can be loaded from the schema store (querying mongodb with caching and avoiding the http overhead) the format is: http://schema-store/schemaStoreDb/schemaId schemaId refers to the mongodb _id and not to the id property
- SchemaStoreURL(String) - Constructor for class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- SchemaStoreURL(String, BsonValue) - Constructor for class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- ServerSessionImpl - Class in org.restheart.mongodb.db.sessions
- session() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
sessionrecord component. - SessionInfo - Class in org.restheart.mongodb.handlers.changestreams
- SessionInfo(MongoRequest) - Constructor for class org.restheart.mongodb.handlers.changestreams.SessionInfo
- SessionKey - Class in org.restheart.mongodb.handlers.changestreams
- SessionKey(HttpServerExchange) - Constructor for class org.restheart.mongodb.handlers.changestreams.SessionKey
- SessionKey(WebSocketHttpExchange) - Constructor for class org.restheart.mongodb.handlers.changestreams.SessionKey
- SessionKey(String, BsonDocument, JsonMode) - Constructor for class org.restheart.mongodb.handlers.changestreams.SessionKey
- SessionOptions - Class in org.restheart.mongodb.db.sessions
- SessionOptions() - Constructor for class org.restheart.mongodb.db.sessions.SessionOptions
- SessionOptions(boolean) - Constructor for class org.restheart.mongodb.db.sessions.SessionOptions
- SessionOptions(UUID) - Constructor for class org.restheart.mongodb.db.sessions.SessionOptions
- SessionsUtils - Class in org.restheart.mongodb.db.sessions
- SessionsUtils() - Constructor for class org.restheart.mongodb.db.sessions.SessionsUtils
- setClients(MongoClient, MongoClient) - Static method in class org.restheart.mongodb.RHMongoClients
- setClientSessionFactory(ClientSessionFactory) - Method in class org.restheart.mongodb.handlers.injectors.ClientSessionInjector
- setConnectionOptions(Undertow.Builder, MongoServiceConfiguration) - Static method in class org.restheart.mongodb.ConfigurationHelper
- setETagHeader(HttpServerExchange, String) - Static method in class org.restheart.mongodb.utils.ResponseHelper
-
Set the ETag in the response's header
- setLogLevel(Level) - Static method in class org.restheart.mongodb.utils.LoggingInitializer
- setMessageSentInCurrentTransaction(boolean) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- setServerSessionTransactionNumber(long) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- setTransactionNumber(long) - Method in class org.restheart.mongodb.db.sessions.ServerSessionImpl
- setTransactionState(Txn.TransactionStatus) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- setTxnServerStatus(Txn) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- SharedMongoMetricRegistryProxy - Class in org.restheart.mongodb.handlers.metrics
- SharedMongoMetricRegistryProxy() - Constructor for class org.restheart.mongodb.handlers.metrics.SharedMongoMetricRegistryProxy
- Sid - Class in org.restheart.mongodb.db.sessions
- Sid() - Constructor for class org.restheart.mongodb.db.sessions.Sid
- SimpleServerSessionPool - Class in org.restheart.mongodb.db.sessions
- SimpleServerSessionPool(Cluster, UUID) - Constructor for class org.restheart.mongodb.db.sessions.SimpleServerSessionPool
- SizeRequestTransformer - Class in org.restheart.mongodb.handlers
-
For count request (/_size) sets the pagesize to 0 to avoid retrieving data and sets response content to just contain the _size property
- SizeRequestTransformer(boolean) - Constructor for class org.restheart.mongodb.handlers.SizeRequestTransformer
- SKIP_NOT_SUPPORTED_PROPERTY - Static variable in class org.restheart.mongodb.interceptors.JsonSchemaBeforeWriteChecker
- sort() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
sortrecord component. - STAGES_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.AggregationPipeline
-
the stages property name
- STAGES_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
- startFileLogging(String) - Static method in class org.restheart.mongodb.utils.LoggingInitializer
- startTransaction() - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- startTransaction(TransactionOptions) - Method in class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- stop() - Method in class org.restheart.mongodb.handlers.changestreams.ChangeStreamSubscriber
- stop() - Method in class org.restheart.mongodb.handlers.changestreams.WebSocketNotificationSubscriber
- stopConsoleLogging() - Static method in class org.restheart.mongodb.utils.LoggingInitializer
- stopLogging() - Static method in class org.restheart.mongodb.utils.LoggingInitializer
- STREAM_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
T
- TARGET_COLLECTION_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
- TARGET_DB_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
- to() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns the value of the
torecord component. - toString() - Method in record class org.restheart.mongodb.db.GetCollectionCacheKey
-
Returns a string representation of this record class.
- toString() - Method in class org.restheart.mongodb.db.sessions.SessionOptions
- toString() - Method in class org.restheart.mongodb.db.sessions.Txn
- toString() - Method in class org.restheart.mongodb.handlers.changestreams.SessionInfo
- toString() - Method in class org.restheart.mongodb.handlers.changestreams.SessionKey
- toString() - Method in class org.restheart.mongodb.handlers.schema.SchemaStoreURL
- toString() - Method in class org.restheart.mongodb.MongoServiceConfiguration
- TRACE - Enum constant in enum class org.restheart.mongodb.utils.LogUtils.Level
- Txn - Class in org.restheart.mongodb.db.sessions
- Txn(long, Txn.TransactionStatus) - Constructor for class org.restheart.mongodb.db.sessions.Txn
- Txn.TransactionStatus - Enum Class in org.restheart.mongodb.db.sessions
- TxnClientSessionFactory - Class in org.restheart.mongodb.db.sessions
- TxnClientSessionImpl - Class in org.restheart.mongodb.db.sessions
- TxnClientSessionImpl(ServerSessionPool, Object, ClientSessionOptions, OperationExecutor, Txn) - Constructor for class org.restheart.mongodb.db.sessions.TxnClientSessionImpl
- TxnsActivator - Class in org.restheart.mongodb.handlers.sessions
- TxnsActivator() - Constructor for class org.restheart.mongodb.handlers.sessions.TxnsActivator
- TxnsUtils - Class in org.restheart.mongodb.db.sessions
- TxnsUtils() - Constructor for class org.restheart.mongodb.db.sessions.TxnsUtils
- TYPE_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- TYPE_ELEMENT_NAME - Static variable in class org.restheart.mongodb.metadata.Relationship
U
- U_NOT_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- U_UPSERT_OPS - Static variable in class org.restheart.mongodb.db.DbUtils
- updateFileMetadata(Optional<ClientSession>, Optional<RSOps>, String, String, ExchangeKeys.METHOD, Optional<BsonValue>, Optional<BsonDocument>, Optional<BsonDocument>, BsonDocument, String, boolean) - Method in class org.restheart.mongodb.db.GridFs
- upsertCollection(Optional<ClientSession>, Optional<RSOps>, String, String, ExchangeKeys.METHOD, boolean, BsonDocument, String, boolean) - Method in class org.restheart.mongodb.db.Databases
- upsertDB(Optional<ClientSession>, Optional<RSOps>, String, ExchangeKeys.METHOD, boolean, BsonDocument, String, boolean) - Method in class org.restheart.mongodb.db.Databases
- upsertFile(Optional<RSOps>, String, String, BsonDocument, InputStream, BsonDocument, String, boolean) - Method in class org.restheart.mongodb.db.GridFs
- URI_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation
- URI_ELEMENT_NAME - Static variable in class org.restheart.mongodb.handlers.changestreams.ChangeStreamOperation
V
- valueOf(String) - Static method in enum class org.restheart.mongodb.db.sessions.Txn.TransactionStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation.TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.mongodb.metadata.Relationship.ROLE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.mongodb.metadata.Relationship.TYPE
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.restheart.mongodb.utils.LogUtils.Level
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.restheart.mongodb.db.sessions.Txn.TransactionStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.mongodb.handlers.aggregation.AbstractAggregationOperation.TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.mongodb.metadata.Relationship.ROLE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.mongodb.metadata.Relationship.TYPE
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.mongodb.MongoServiceConfiguration.METRICS_GATHERING_LEVEL
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.restheart.mongodb.utils.LogUtils.Level
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WARN - Enum constant in enum class org.restheart.mongodb.utils.LogUtils.Level
- WebSocketNotificationSubscriber - Class in org.restheart.mongodb.handlers.changestreams
- WebSocketNotificationSubscriber() - Constructor for class org.restheart.mongodb.handlers.changestreams.WebSocketNotificationSubscriber
- WebSocketSessionsRegistry - Class in org.restheart.mongodb.handlers.changestreams
-
Registry to keep track of web socket sessions
- WebSocketSessionsRegistry() - Constructor for class org.restheart.mongodb.handlers.changestreams.WebSocketSessionsRegistry
- writeDocument(Optional<ClientSession>, Optional<RSOps>, String, String, ExchangeKeys.METHOD, ExchangeKeys.WRITE_MODE, Optional<BsonValue>, Optional<BsonDocument>, Optional<BsonDocument>, BsonValue, String, boolean) - Method in class org.restheart.mongodb.db.Documents
- writeDocument(Optional<ClientSession>, ExchangeKeys.METHOD, ExchangeKeys.WRITE_MODE, MongoCollection<BsonDocument>, Optional<BsonValue>, Optional<BsonDocument>, Optional<BsonDocument>, BsonValue) - Static method in class org.restheart.mongodb.db.DbUtils
-
Writes a mongo document The MongoDB write operation depends on the request method and on the write mode as follows: -------------------------------------------------------------------------------------------- | wm | method | URI | write operation | wrop argument | -------------------------------------------------------------------------------------------- | insert | POST | /coll | insertOne | document | | insert | PUT | /coll/docid | insertOne | document | | insert | PATCH | /coll/docid | findOneAndUpdate(upsert:true)(1)| update operator expr | -------------------------------------------------------------------------------------------- | update | POST | /coll | findOneAndReplace(upsert:false) | document | | update | PUT | /coll/docid | findOneAndReplace(upsert:false) | document | | update | PATCH | /coll/docid | findOneAndUpdate(upsert:false) | update operator expr | -------------------------------------------------------------------------------------------- | upsert | POST | /coll | findOneAndReplace(upsert:true) | document | | upsert | PUT | /coll/docid | findOneAndReplace(upsert:true) | document | | upsert | PATCH | /coll/docid | findOneAndUpdate(upsert:true) | update operator expr | -------------------------------------------------------------------------------------------- (1) uses a find condition that won't match any existing document, making sure the operation is an insert
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form