Codota Logo
Store.setGraphLibrary
Code IndexAdd Codota to your IDE (free)

How to use
setGraphLibrary
method
in
uk.gov.gchq.gaffer.store.Store

Best Java code snippets using uk.gov.gchq.gaffer.store.Store.setGraphLibrary (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: uk.gov.gchq.gaffer/federated-store

@Override
public void setGraphLibrary(final GraphLibrary library) {
  super.setGraphLibrary(library);
  graphStorage.setGraphLibrary(library);
}
origin: uk.gov.gchq.gaffer/graph

private void updateStore(final GraphConfig config) {
  if (null == store) {
    store = Store.createStore(config.getGraphId(), cloneSchema(schema), properties);
  } else if ((null != config.getGraphId() && !config.getGraphId().equals(store.getGraphId()))
      || (null != schema)
      || (null != properties && !properties.equals(store.getProperties()))) {
    if (null == config.getGraphId()) {
      config.setGraphId(store.getGraphId());
    }
    if (null == schema || schema.getGroups().isEmpty()) {
      schema = store.getSchema();
    }
    if (null == properties) {
      properties = store.getProperties();
    }
    try {
      store.initialise(config.getGraphId(), cloneSchema(schema), properties);
    } catch (final StoreException e) {
      throw new IllegalArgumentException("Unable to initialise the store with the given graphId, schema and properties", e);
    }
  }
  store.setGraphLibrary(config.getLibrary());
  if (null == schema || schema.getGroups().isEmpty()) {
    schema = store.getSchema();
  }
}
uk.gov.gchq.gaffer.storeStoresetGraphLibrary

Popular methods of Store

  • getProperties
  • initialise
  • getSchema
  • execute
  • createStore
  • getGraphId
  • validateSchemaElementDefinition
  • validateSchemas
  • getGraphLibrary
  • getNextOperations
  • getOriginalSchema
  • getSupportedOperations
  • getOriginalSchema,
  • getSupportedOperations,
  • getTraits,
  • hasTrait,
  • isSupported,
  • runAsync,
  • setOriginalSchema,
  • startCacheServiceLoader,
  • validateSchema

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • getApplicationContext (Context)
  • findViewById (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JComboBox (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now