/* * Licensed Materials - Property of IBM © Copyright IBM Corporation 2015. All * Rights Reserved. This sample program is provided AS IS and may be used, * executed, copied and modified without royalty payment by customer (a) for its * own instruction and study, (b) in order to develop applications designed to * run with an IBM product, either for customer's own internal use or for * redistribution by customer, as part of such an application, in customer's own * products. */ package com.ibm.mil.utils; public class Constants { /******* Constants for the CloudantService class ******/ public final static String CLOUDANT_ACCOUNT = "CLOUDANT_ACCOUNT"; public final static String CLOUDANT_USERNAME = "CLOUDANT_USERNAME"; public final static String CLOUDANT_PASSWORD = "CLOUDANT_PASSWORD"; public final static String CLOUDANT_DB_NAME = "CLOUDANT_DB_NAME"; public final static String MAIN_DESIGN_DOC = "library"; public final static String DEFAULT_LOCALE = "DEFAULT_LOCALE"; /****** Filename Constants *******/ public final static String FILENAME_HOTSPOTS = "resources/db/hotspots.json"; /******* Constants for Cloudant Geospatial ******/ public final static String GEO_VIEW = "CLOUDANT_GEO_VIEW"; public final static String GEO_INDEX = "CLOUDANT_GEO_INDEX"; /* GEO_DEFAULT_RADIUS is in meters */ public final static int GEO_QUERY_RADIUS = 100000; public final static int GEO_RETURN_RADIUS = 10000; public final static String GEO_DEFAULT_RELATION = "within"; }