/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbConstants.java

https://gitlab.com/matticala/apache-camel · Java · 48 lines · 28 code · 4 blank · 16 comment · 0 complexity · a650fc8906241845f81995fd60e26b97 MD5 · raw file

  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. package org.apache.camel.component.mongodb;
  18. public final class MongoDbConstants {
  19. public static final String OPERATION_HEADER = "CamelMongoDbOperation";
  20. public static final String RESULT_TOTAL_SIZE = "CamelMongoDbResultTotalSize";
  21. public static final String RESULT_PAGE_SIZE = "CamelMongoDbResultPageSize";
  22. public static final String FIELDS_FILTER = "CamelMongoDbFieldsFilter";
  23. public static final String BATCH_SIZE = "CamelMongoDbBatchSize";
  24. public static final String NUM_TO_SKIP = "CamelMongoDbNumToSkip";
  25. public static final String INSERT_RECORDS_AFFECTED = "CamelMongoDbInsertRecordsAffected";
  26. public static final String MULTIUPDATE = "CamelMongoDbMultiUpdate";
  27. public static final String MULTIINSERT = "CamelMongoDbMultiInsert";
  28. public static final String UPSERT = "CamelMongoDbUpsert";
  29. public static final String RECORDS_AFFECTED = "CamelMongoDbRecordsAffected";
  30. public static final String SORT_BY = "CamelMongoDbSortBy";
  31. public static final String DATABASE = "CamelMongoDbDatabase";
  32. public static final String COLLECTION = "CamelMongoDbCollection";
  33. public static final String COLLECTION_INDEX = "CamelMongoDbCollectionIndex";
  34. public static final String WRITECONCERN = "CamelMongoDbWriteConcern";
  35. public static final String LIMIT = "CamelMongoDbLimit";
  36. public static final String FROM_TAILABLE = "CamelMongoDbTailable";
  37. public static final String WRITERESULT = "CamelMongoWriteResult";
  38. public static final String OID = "CamelMongoOid";
  39. public static final String DISTINCT_QUERY_FIELD = "CamelMongoDbDistinctQueryField";
  40. public static final String ALLOW_DISK_USE = "CamelMongoDbAllowDiskUse";
  41. public static final String BULK_ORDERED = "CamelMongoDbBulkOrdered";
  42. private MongoDbConstants() {
  43. }
  44. }