Codota Logo
DatasetsFinder
Code IndexAdd Codota to your IDE (free)

How to use
DatasetsFinder
in
gobblin.dataset

Best Java code snippets using gobblin.dataset.DatasetsFinder (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.linkedin.gobblin/gobblin-api

 @Override
 public Iterator<T> getDatasetsIterator()
   throws IOException {
  return this.datasetFinder.findDatasets().iterator();
 }
}
origin: com.linkedin.gobblin/gobblin-data-management

@Override
public List<Dataset> findDatasets() throws IOException {
 List<Dataset> datasets = Lists.newArrayList();
 for (DatasetsFinder<Dataset> df : this.datasetFinders) {
  datasets.addAll(df.findDatasets());
 }
 return datasets;
}
origin: com.linkedin.gobblin/gobblin-data-management

List<Dataset> dataSets = this.datasetFinder.findDatasets();
this.finishCleanSignal = Optional.of(new CountDownLatch(dataSets.size()));
for (final Dataset dataset : dataSets) {
origin: com.linkedin.gobblin/gobblin-data-management

    ImmutableList.of(fs, jobProps, client));
for (CleanableDataset dataset : finder.findDatasets()) {
 dataset.clean();
origin: com.linkedin.gobblin/gobblin-compaction

@Override
public WorkUnitStream getWorkunitStream(SourceState state) {
 try {
  fs = getSourceFileSystem(state);
  suite = CompactionSuiteUtils.getCompactionSuiteFactory(state).createSuite(state);
  initRequestAllocator(state);
  initJobDir(state);
  copyJarDependencies(state);
  DatasetsFinder finder = DatasetUtils.instantiateDatasetFinder(state.getProperties(),
      getSourceFileSystem(state),
      DefaultFileSystemGlobFinder.class.getName());
  List<Dataset> datasets = finder.findDatasets();
  CompactionWorkUnitIterator workUnitIterator = new CompactionWorkUnitIterator ();
  // Spawn a single thread to create work units
  new Thread(new SingleWorkUnitGeneratorService (state, prioritize(datasets, state), workUnitIterator), "SingleWorkUnitGeneratorService").start();
  return new BasicWorkUnitStream.Builder (workUnitIterator).build();
 } catch (IOException e) {
  throw new RuntimeException(e);
 }
}
gobblin.datasetDatasetsFinder

Javadoc

Finds Datasets in the file system.

Concrete subclasses should have a constructor with signature ( org.apache.hadoop.fs.FileSystem, java.util.Properties).

Most used methods

  • findDatasets
    Find all Datasets in the file system.

Popular in Java

  • Reactive rest calls using spring rest template
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
  • getApplicationContext (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Table (org.hibernate.mapping)
    A relational table
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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