Class MongoDbConstants
java.lang.Object
org.apache.camel.component.mongodb.MongoDbConstants
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
-
Field Details
-
OPERATION_HEADER
@Metadata(label="producer", description="The operation this endpoint will execute against MongoDB.", javaType="org.apache.camel.component.mongodb.MongoDbOperation or String") public static final String OPERATION_HEADER- See Also:
-
RESULT_TOTAL_SIZE
@Metadata(label="producer findAll", description="Number of objects matching the query. This does not take limit/skip into consideration.", javaType="Integer") public static final String RESULT_TOTAL_SIZE- See Also:
-
RESULT_PAGE_SIZE
@Metadata(label="producer findAll", description="Number of objects matching the query. This does not take limit/skip into consideration.", javaType="Integer") public static final String RESULT_PAGE_SIZE- See Also:
-
CRITERIA
@Metadata(label="producer", description="The query to execute against MongoDB.", javaType="org.bson.conversions.Bson") public static final String CRITERIA- See Also:
-
FIELDS_PROJECTION
@Metadata(label="producer", description="The project document.", javaType="org.bson.conversions.Bson") public static final String FIELDS_PROJECTION- See Also:
-
BATCH_SIZE
@Metadata(label="producer findAll aggregate", description="The number of documents per batch.", javaType="Integer") public static final String BATCH_SIZE- See Also:
-
NUM_TO_SKIP
@Metadata(label="producer findAll", description="Discards a given number of elements at the beginning of the cursor.", javaType="Integer") public static final String NUM_TO_SKIP- See Also:
-
INSERT_RECORDS_AFFECTED
- See Also:
-
MULTIUPDATE
@Metadata(label="producer update", description="If the update should be applied to all objects matching. See\nhttp://www.mongodb.org/display/DOCS/Atomic+Operations[Atomic Operations]", javaType="Boolean") public static final String MULTIUPDATE- See Also:
-
UPSERT
@Metadata(label="producer update", description="If the database should create the element if it does not exist", javaType="Boolean") public static final String UPSERT- See Also:
-
RECORDS_AFFECTED
@Metadata(label="producer", description="The number of modified or deleted records", javaType="long") public static final String RECORDS_AFFECTED- See Also:
-
RECORDS_MATCHED
@Metadata(label="producer", description="The number of documents matched by the query.", javaType="long") public static final String RECORDS_MATCHED- See Also:
-
SORT_BY
@Metadata(label="producer", description="The sort criteria.", javaType="Bson or Document") public static final String SORT_BY- See Also:
-
DATABASE
@Metadata(description="The name of the MongoDB database to target", javaType="String") public static final String DATABASE- See Also:
-
COLLECTION
@Metadata(description="The name of the MongoDB collection to bind to this endpoint", javaType="String") public static final String COLLECTION- See Also:
-
COLLECTION_INDEX
@Metadata(label="producer", description="The list of dynamic indexes to create on the fly", javaType="List<Bson>") public static final String COLLECTION_INDEX- See Also:
-
LIMIT
@Metadata(label="producer findAll", description="Limits the number of elements returned.", javaType="Integer") public static final String LIMIT- See Also:
-
FROM_TAILABLE
@Metadata(label="consumer", description="Is from tailable", javaType="Boolean") public static final String FROM_TAILABLE- See Also:
-
WRITERESULT
@Metadata(label="producer", description="The result of the write operation", javaType="Object") public static final String WRITERESULT- See Also:
-
OID
@Metadata(label="producer", description="The OID(s) of the inserted record(s)", javaType="Object or List<Object>") public static final String OID- See Also:
-
DISTINCT_QUERY_FIELD
@Metadata(label="producer", description="The specified field name fow which we want to get the distinct values.", javaType="String") public static final String DISTINCT_QUERY_FIELD- See Also:
-
ALLOW_DISK_USE
@Metadata(label="producer findAll aggregate", description="Sets allowDiskUse MongoDB flag.\nThis is supported since MongoDB Server 4.3.1. Using this header with older MongoDB Server version can cause query to fail.", javaType="Boolean") public static final String ALLOW_DISK_USE- See Also:
-
BULK_ORDERED
@Metadata(label="producer bulkWrite", description="Perform an ordered or unordered operation execution. ", javaType="Boolean", defaultValue="TRUE") public static final String BULK_ORDERED- See Also:
-
MONGO_ID
@Metadata(label="consumer changeStreams", description="A document that contains the _id of the document created or modified by the insert,\nreplace, delete, update operations (i.e. CRUD operations). For sharded collections, also displays the full shard key for\nthe document. The _id field is not repeated if it is already a part of the shard key.", javaType="org.bson.types.ObjectId") public static final String MONGO_ID- See Also:
-
STREAM_OPERATION_TYPE
@Metadata(label="consumer changeStreams", description="The type of operation that occurred. Can\nbe any of the following values: insert, delete, replace, update, drop, rename, dropDatabase, invalidate.", javaType="String") public static final String STREAM_OPERATION_TYPE- See Also:
-