AccumuloDefault.java

  1. /*
  2.  * Copyright © 2014 - 2021 Leipzig University (Database Research Group)
  3.  *
  4.  * Licensed under the Apache License, Version 2.0 (the "License");
  5.  * you may not use this file except in compliance with the License.
  6.  * You may obtain a copy of the License at
  7.  *
  8.  *     http://www.apache.org/licenses/LICENSE-2.0
  9.  *
  10.  * Unless required by applicable law or agreed to in writing, software
  11.  * distributed under the License is distributed on an "AS IS" BASIS,
  12.  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13.  * See the License for the specific language governing permissions and
  14.  * limitations under the License.
  15.  */
  16. package org.gradoop.storage.accumulo.impl.constants;

  17. import org.apache.accumulo.core.security.Authorizations;

  18. /**
  19.  * Default Accumulo configuration (auto config value)
  20.  */
  21. public class AccumuloDefault {

  22.   /**
  23.    * accumulo instance name
  24.    */
  25.   public static final String INSTANCE = "gradoop";

  26.   /**
  27.    * zookeeper hosts
  28.    */
  29.   public static final String ZOOKEEPERS = "localhost:2181";

  30.   /**
  31.    * accumulo user
  32.    */
  33.   public static final String USER = "root";

  34.   /**
  35.    * accumulo password
  36.    */
  37.   public static final String PASSWORD = "";

  38.   /**
  39.    * gradoop accumulo table prefix
  40.    */
  41.   public static final String TABLE_PREFIX = "";

  42.   /**
  43.    * gradoop access authorizations
  44.    */
  45.   public static final Authorizations AUTHORIZATION = Authorizations.EMPTY;

  46.   /**
  47.    * gradoop accumulo iterator priority
  48.    */
  49.   public static final int ITERATOR_PRIORITY = 0xf;

  50.   /**
  51.    * gradoop batch scanner threads count
  52.    */
  53.   public static final int BATCH_SCANNER_THREADS = 10;

  54. }