Codota Logo
uk.gov.gchq.gaffer.store
Code IndexAdd Codota to your IDE (free)

How to use uk.gov.gchq.gaffer.store

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @return the StoreProperties for this Graph.
 */
public StoreProperties getStoreProperties() {
  return store.getProperties();
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @return the graphId for this Graph.
 */
public String getGraphId() {
  return store.getGraphId();
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @param storeTrait the store trait to check
 * @return true if the store has the given trait.
 */
public boolean hasTrait(final StoreTrait storeTrait) {
  return store.hasTrait(storeTrait);
}
origin: uk.gov.gchq.gaffer/flink-library

public void initialise() {
  if (null == store) {
    store = Store.createStore(graphId, Schema.fromJson(schema), StoreProperties.loadStoreProperties(properties));
  }
}
origin: uk.gov.gchq.gaffer/map-store

public static MapStoreProperties loadStoreProperties(final Path storePropertiesPath) {
  return StoreProperties.loadStoreProperties(storePropertiesPath, MapStoreProperties.class);
}
origin: uk.gov.gchq.gaffer/map-store

@Override
public MapStoreProperties clone() {
  return (MapStoreProperties) super.clone();
}
origin: uk.gov.gchq.gaffer/graph

/**
 * Returns all the {@link StoreTrait}s for the contained {@link Store}
 * implementation
 *
 * @return a {@link Set} of all of the {@link StoreTrait}s that the store
 * has.
 */
public Set<StoreTrait> getStoreTraits() {
  return store.getTraits();
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @return the original schema.
 */
public Schema getSchema() {
  return store.getOriginalSchema();
}
origin: uk.gov.gchq.gaffer/spark-library

/**
 * Adds a spark session to the given {@link Context}.
 *
 * @param context      the user context
 * @param sparkSession the spark session to add to the context
 */
public static void addSparkSession(final Context context, final SparkSession sparkSession) {
  context.setConfig(SPARK_CONTEXT_CONFIG_KEY, sparkSession);
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @param operationClass the operation class to check
 * @return true if the provided operation is supported.
 */
public boolean isSupported(final Class<? extends Operation> operationClass) {
  return store.isSupported(operationClass);
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @return a collection of all the supported {@link Operation}s.
 */
public Set<Class<? extends Operation>> getSupportedOperations() {
  return store.getSupportedOperations();
}
origin: uk.gov.gchq.gaffer/graph

/**
 * @param operation the class of the operation to check
 * @return a collection of all the compatible {@link Operation}s that could
 * be added to an operation chain after the provided operation.
 */
public Set<Class<? extends Operation>> getNextOperations(final Class<? extends Operation> operation) {
  return store.getNextOperations(operation);
}
origin: uk.gov.gchq.gaffer/parquet-store

public static ParquetStoreProperties loadStoreProperties(final InputStream storePropertiesStream) {
  return StoreProperties.loadStoreProperties(storePropertiesStream, ParquetStoreProperties.class);
}
origin: uk.gov.gchq.gaffer/federated-store

/**
 * Get this Store's {@link uk.gov.gchq.gaffer.federatedstore.FederatedStoreProperties}.
 *
 * @return the instance of {@link uk.gov.gchq.gaffer.federatedstore.FederatedStoreProperties},
 * this may contain details such as database connection details.
 */
@Override
public FederatedStoreProperties getProperties() {
  return (FederatedStoreProperties) super.getProperties();
}
origin: uk.gov.gchq.gaffer/accumulo-store

@Override
public AccumuloProperties clone() {
  return (AccumuloProperties) super.clone();
}
origin: uk.gov.gchq.gaffer/federated-store

public static FederatedStoreProperties loadStoreProperties(final Path storePropertiesPath) {
  return StoreProperties.loadStoreProperties(storePropertiesPath, FederatedStoreProperties.class);
}
origin: uk.gov.gchq.gaffer/federated-store

public static FederatedStoreProperties loadStoreProperties(final String pathStr) {
  return StoreProperties.loadStoreProperties(pathStr, FederatedStoreProperties.class);
}
origin: uk.gov.gchq.gaffer/federated-store

public static FederatedStoreProperties loadStoreProperties(final InputStream storePropertiesStream) {
  return StoreProperties.loadStoreProperties(storePropertiesStream, FederatedStoreProperties.class);
}
origin: uk.gov.gchq.gaffer/proxy-store

public static ProxyProperties loadStoreProperties(final Path storePropertiesPath) {
  return StoreProperties.loadStoreProperties(storePropertiesPath, ProxyProperties.class);
}
origin: uk.gov.gchq.gaffer/accumulo-store

public static AccumuloProperties loadStoreProperties(final String pathStr) {
  return StoreProperties.loadStoreProperties(pathStr, AccumuloProperties.class);
}
uk.gov.gchq.gaffer.store

Most used classes

  • Schema
  • StoreProperties
  • Store
  • Context
  • SchemaElementDefinition
  • StoreException,
  • GraphLibrary,
  • Schema$Builder,
  • ElementValidator,
  • StoreTrait,
  • ValidatedElements,
  • FileGraphLibrary,
  • NoGraphLibrary,
  • SchemaEdgeDefinition,
  • SchemaEntityDefinition,
  • SchemaOptimiser,
  • TypeDefinition$Builder,
  • ViewValidator,
  • AggregatorUtil
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