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

    • 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:
    • USE_FILTERED_REQUEST

      public static final boolean USE_FILTERED_REQUEST
      Shall we use FilteredRequest or postFilter for queries
      See Also:
    • 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:
    • INDEXNAME

      public static final String INDEXNAME
      Default Index name for ElasticSearch
      See Also:
    • localNetworkAddress

      public static 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:
    • LIMIT_MDB_NEW_INDEX

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

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

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

      public static final boolean USELRUCACHE
      Shall we use SynchronizedLruCache for cache of results
      See Also:
    • TTLMS

      public static final int TTLMS
      Default TTL in ms : 1H
      See Also:
    • TTL

      public static final int TTL
      Default TTL in s : 1H
      See Also:
    • MAXLRU

      public static final int MAXLRU
      Default LRU Size
      See Also:
    • USEREDIS

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

      public static final String SCROLL_ACTIVATE_KEYWORD
      KEYWORD to activate scroll
      See Also:
    • DEFAULT_LIMIT_SCROLL

      public static final int DEFAULT_LIMIT_SCROLL
      default limit scroll size
      See Also:
  • Constructor Details

    • GlobalDatasDb

      public GlobalDatasDb()