All Classes and Interfaces
Class
Description
represents a map reduce.
transformer in charge of escaping the aggregation stages that can contain
dollar prefixed keys (for operators)
Registry to keep track of open change streasms
wraps a map to easily allow to get corresponding SessionInfo that
encapsulates db, coll, and opName
this handler injects the ClientSession in the request context
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)
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");
- 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");
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)
kills a session
aborts transaction of the session
injects the ETag Policy
detects the file content type using Tika
A customised and cut down version of the
PutDocumentHandler
or
PatchDocumentHandler,
this deals with both PUT and PATCHing of the metadata for a binary file.Forbids all requests to Mongo API that use an blacklisted operator in the filter query paramter
commits the transaction of the session
Transform the response content to HAL or SHAL format when required (e.g.
checks the schema of the schemas using json metaschema
Checks documents according to the specified JSON schema
This intercetor is able to check PATCH requests (excluding bulk PATCH).
Checks documents according to the specified JSON schema
This intercetor is able to check PUT and POST requests that don't use update
operators.
On write, escapes schema properties ($ prefixed) On read, unescape schema
properties
represents a map reduce.
Caches for db and collection metadata
sets the _id=_meta in /_meta requests
A handler for dropwizard.io metrics that can return both default metrics JSON
and the prometheus format.
initialize the MongoRequest
Assumes that the MongoRequest and MongoRequest are already initialized
The Service that handles requests to mongodb resources
Utility class to help dealing with the restheart configuration file.
Deprecated.
will be removed in RH v8.0
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)
this handler dispatches request to normal or bulk post collection handlers
depending on the content to be an object or an array
commits the transaction of the session
creates a session with a started transaction
creates a session with a started transaction
A json-schema client that loads the schema from the db if the url refer to a
schema store.
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
For count request (/_size) sets the pagesize to 0 to avoid retrieving data
and sets response content to just contain the _size property
Registry to keep track of web socket sessions