congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FixedWidthDatastore.getConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
getConfiguration
method
in
org.datacleaner.connection.FixedWidthDatastore

Best Java code snippets using org.datacleaner.connection.FixedWidthDatastore.getConfiguration (Showing top 2 results out of 315)

origin: datacleaner/DataCleaner

@Override
protected UsageAwareDatastoreConnection<DataContext> createDatastoreConnection() {
  final FixedWidthConfiguration configuration = getConfiguration();
  final Resource resource = _resourceRef.get();
  final DataContext dataContext;
  if (resource == null) {
    logger.warn("Resource was not available, a local file reference will be created with path: {}", _filename);
    dataContext = DataContextFactory.createFixedWidthDataContext(new File(_filename), configuration);
  } else {
    dataContext = DataContextFactory.createFixedWidthDataContext(resource, configuration);
  }
  return new DatastoreConnectionImpl<>(dataContext, this);
}
origin: datacleaner/DataCleaner

final FixedWidthConfiguration fixedWidthConfiguration = fixedWidthDatastore.getConfiguration();
final JavaRDD<String> rawInput;
if (_minPartitions != null) {
org.datacleaner.connectionFixedWidthDatastoregetConfiguration

Popular methods of FixedWidthDatastore

  • getEncoding
  • <init>
  • getCustomColumnNames
  • getHeaderLineNumber
  • getName
  • getResource
  • getValueWidths
  • isEolPresent
  • isFailOnInconsistencies
  • isSkipEbcdicHeader
  • getDescription
  • getFixedValueWidth
  • getDescription,
  • getFixedValueWidth,
  • isEbcdic

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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