org.jnosql.diana.couchdb.document.CouchDBConstant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of couchdb-driver Show documentation
Show all versions of couchdb-driver Show documentation
The Eclipse JNoSQL communication layer, Diana, to Couchdb
The newest version!
/*
* Copyright (c) 2017 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
*
* You may elect to redistribute this code under either of these licenses.
*
* Contributors:
*
* Otavio Santana
*
*/
package org.jnosql.diana.couchdb.document;
final class CouchDBConstant {
static final String ID = "_id";
static final String REV = "_rev";
static final String REV_RESPONSE = "rev";
static final String ID_RESPONSE = "id";
static final String ENTITY = "@entity";
static final String ALL_DBS = "_all_dbs";
static final String TOTAL_ROWS_RESPONSE = "total_rows";
static final String REV_HEADER = "If-Match";
static final String FIND = "/_find";
static final String DOCS_RESPONSE = "docs";
static final String COUNT = "/_all_docs?limit=0";
static final String BOOKMARK = "bookmark";
static final String OR_CONDITION = "$or";
static final String AND_CONDITION = "$and";
static final String IN_CONDITION = "$in";
static final String LTE_CONDITION = "$lte";
static final String LT_CONDITION = "$lt";
static final String GTE_CONDITION = "$gte";
static final String GT_CONDITION = "$gt";
static final String SELECTOR_QUERY = "selector";
static final String SORT_QUERY = "sort";
static final String SKIP_QUERY = "skip";
static final String LIMIT_QUERY = "limit";
static final String FIELDS_QUERY = "fields";
private CouchDBConstant() {
}
}