Class GlobalDatasDb


  • public class GlobalDatasDb
    extends GlobalDatasParser
    Default configuration for DB support
    • Field Detail

      • USE_FILTER

        public static final boolean USE_FILTER
        Should we use filter to select from graph parents, or within request (filtering seems better)
        See Also:
        Constant Field Values
      • USE_FILTERED_REQUEST

        public static final boolean USE_FILTERED_REQUEST
        Shall we use FilteredRequest or postFilter for queries
        See Also:
        Constant Field Values
      • USE_NEW_NODE

        public static final boolean USE_NEW_NODE
        Default behavior of ElasticSearch connection (False tends to minimize the number of concurrent connections)
        See Also:
        Constant Field Values
      • INDEXNAME

        public static final java.lang.String INDEXNAME
        Default Index name for ElasticSearch
        See Also:
        Constant Field Values
      • localNetworkAddress

        public static java.lang.String localNetworkAddress
        Default local address to be used by the client (null means no specific address)
      • limitES

        public static long limitES
        limit before using ES in 1 level only (set to -1 means use ES at all time)
      • LIMIT_ES_NEW_INDEX

        public static final int LIMIT_ES_NEW_INDEX
        limit before flushing ES with Bulk
        See Also:
        Constant Field Values
      • LIMIT_MDB_NEW_INDEX

        public static final int LIMIT_MDB_NEW_INDEX
        limit before flushing MongoDB with Bulk
        See Also:
        Constant Field Values
      • BLOCKING

        public static final boolean BLOCKING
        Shall new entries insertion in the ElasticSearch index be in blocking mode
        See Also:
        Constant Field Values
      • SAVERESULT

        public static final boolean SAVERESULT
        Shall we save ResultCache
        See Also:
        Constant Field Values
      • USELRUCACHE

        public static final boolean USELRUCACHE
        Shall we use SynchronizedLruCache for cache of results
        See Also:
        Constant Field Values
      • USEREDIS

        public static final boolean USEREDIS
        Shall we use Redis for cache of results
        See Also:
        Constant Field Values
      • SCROLL_ACTIVATE_KEYWORD

        public static final java.lang.String SCROLL_ACTIVATE_KEYWORD
        KEYWORD to activate scroll
        See Also:
        Constant Field Values
      • DEFAULT_LIMIT_SCROLL

        public static final int DEFAULT_LIMIT_SCROLL
        default limit scroll size
        See Also:
        Constant Field Values
    • Constructor Detail

      • GlobalDatasDb

        public GlobalDatasDb()