Codota Logo
AddElements.getInput
Code IndexAdd Codota to your IDE (free)

How to use
getInput
method
in
uk.gov.gchq.gaffer.operation.impl.add.AddElements

Best Java code snippets using uk.gov.gchq.gaffer.operation.impl.add.AddElements.getInput (Showing top 4 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/accumulo-store

  private void addElements(final AddElements operation, final AccumuloStore store)
      throws OperationException {
    try {
      final Iterable<?extends Element> validatedElements;
      if (operation.isValidate()) {
        validatedElements = new ValidatedElements(operation.getInput(), store.getSchema(), operation.isSkipInvalidElements());
      } else {
        validatedElements = operation.getInput();
      }
      store.addElements(validatedElements);
    } catch (final StoreException e) {
      throw new OperationException("Failed to add elements", e);
    }
  }
}
origin: uk.gov.gchq.gaffer/map-store

@Override
public Void doOperation(final AddElements addElements, final Context context, final Store store) throws OperationException {
  Iterable<? extends Element> elements = addElements.getInput();
  if (addElements.isValidate()) {
    elements = new ValidatedElements(elements, store.getSchema(), addElements.isSkipInvalidElements());
  }
  addElements(elements, (MapStore) store);
  return null;
}
origin: uk.gov.gchq.gaffer/parquet-store

final Iterable<? extends Element> input = addElementsOperation.getInput();
final ExecutorService pool = createThreadPool(spark, parquetStoreProperties);
final List<Callable<Tuple2<String, Map<Object, Integer>>>> tasks = new ArrayList<>();
origin: uk.gov.gchq.gaffer/federated-store

if (null == addElements.getInput()) {
  if (!addElements.isValidate() || !addElements.isSkipInvalidElements()) {
    LOGGER.debug("Invalid elements will be skipped when added to {}", graph.getGraphId());
  final Set<String> graphGroups = graph.getSchema().getGroups();
  final Iterable<? extends Element> filteredInput = Iterables.filter(
      addElements.getInput(),
      element -> graphGroups.contains(null != element ? element.getGroup() : null)
  );
uk.gov.gchq.gaffer.operation.impl.addAddElementsgetInput

Popular methods of AddElements

  • isSkipInvalidElements
  • isValidate
  • <init>
  • setInput
  • setSkipInvalidElements
  • setValidate
  • shallowClone

Popular in Java

  • Creating JSON documents from java classes using gson
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
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