-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
MongoOperator.java
43 lines (30 loc) · 1.17 KB
/
MongoOperator.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.mongodb.lang;
/**
* @author Raymond Augé
* @author Brian Wing Shun Chan
*/
public class MongoOperator {
public static final String ADD_TO_SET = "$addToSet";
public static final String INC = "$inc";
public static final String POP = "$pop";
public static final String PULL = "$pull";
public static final String PULL_ALL = "$pullAll";
public static final String PUSH = "$push";
public static final String PUSH_ALL = "$pushAll";
public static final String RENAME = "$rename";
public static final String SET = "$set";
public static final String UNSET = "$unset";
}