Tabnine Logo
Configuration.getContainedNamespaces
Code IndexAdd Tabnine to your IDE (free)

How to use
getContainedNamespaces
method
in
org.janusgraph.diskstorage.configuration.Configuration

Best Java code snippets using org.janusgraph.diskstorage.configuration.Configuration.getContainedNamespaces (Showing top 5 results out of 315)

origin: JanusGraph/janusgraph

@Override
public Set<String> getContainedNamespaces(ConfigNamespace umbrella,
    String... umbrellaElements) {
  ImmutableSet.Builder<String> b = ImmutableSet.builder();
  b.addAll(first.getContainedNamespaces(umbrella, umbrellaElements));
  b.addAll(second.getContainedNamespaces(umbrella, umbrellaElements));
  return b.build();
}
@Override
origin: JanusGraph/janusgraph

@Override
public Set<String> getContainedNamespaces(ConfigNamespace umbrella, String... umbrellaElements) {
  return config.getContainedNamespaces(umbrella,concat(umbrellaElements));
}
origin: JanusGraph/janusgraph

private static Map<String, IndexProvider> getIndexes(Configuration config) {
  ImmutableMap.Builder<String, IndexProvider> builder = ImmutableMap.builder();
  for (String index : config.getContainedNamespaces(INDEX_NS)) {
    Preconditions.checkArgument(StringUtils.isNotBlank(index), "Invalid index name [%s]", index);
    log.info("Configuring index [{}]", index);
    IndexProvider provider = getImplementationClass(config.restrictTo(index), config.get(INDEX_BACKEND,index),
        StandardIndexProvider.getAllProviderClasses());
    Preconditions.checkNotNull(provider);
    builder.put(index, provider);
  }
  return builder.build();
}
origin: JanusGraph/janusgraph

public static List<RegisteredAttributeClass<?>> getRegisteredAttributeClasses(Configuration configuration) {
  List<RegisteredAttributeClass<?>> all = new ArrayList<>();
  for (String attributeId : configuration.getContainedNamespaces(CUSTOM_ATTRIBUTE_NS)) {
    Preconditions.checkArgument(attributeId.startsWith(ATTRIBUTE_PREFIX),"Invalid attribute definition: %s",attributeId);
    int position;
origin: awslabs/dynamodb-janusgraph-storage-backend

storeNames.addAll(config.getContainedNamespaces(Constants.DYNAMODB_STORES_NAMESPACE));
storeNames.forEach(storeName -> setupStore(config, readRateLimit, writeRateLimit, storeName));
org.janusgraph.diskstorage.configurationConfigurationgetContainedNamespaces

Popular methods of Configuration

  • get
  • has
  • getSubset
  • restrictTo

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • compareTo (BigDecimal)
  • getSystemService (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Notification (javax.management)
  • BoxLayout (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Option (scala)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now