Codota Logo
CsvOutputFormat.setTypes
Code IndexAdd Codota to your IDE (free)

How to use
setTypes
method
in
eu.stratosphere.api.java.record.io.CsvOutputFormat

Best Java code snippets using eu.stratosphere.api.java.record.io.CsvOutputFormat.setTypes (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: stratosphere/stratosphere

/**
 * Creates an instance of CsvOutputFormat. The position of the fields in the
 * record is determined by the order in which the classes are given to this
 * constructor.
 * 
 * @param recordDelimiter
 *            The delimiter that is used to separate the different records.
 * @param fieldDelimiter
 *            The delimiter that is used to separate the different fields in
 *            the record.
 * @param types
 *            The types of the fields that are in the record.
 */
public CsvOutputFormat(String recordDelimiter, String fieldDelimiter, Class<? extends Value>... types) {
  if (recordDelimiter == null) {
    throw new IllegalArgumentException("RecordDelmiter shall not be null.");
  }
  if (fieldDelimiter == null) {
    throw new IllegalArgumentException("FieldDelimiter shall not be null.");
  }
  if (types.length == 0) {
    throw new IllegalArgumentException("No field types given.");
  }
  this.fieldDelimiter = fieldDelimiter;
  this.recordDelimiter = recordDelimiter;
  this.lenient = false;
  setTypes(types);
  ctorInstantiation = true;
}

eu.stratosphere.api.java.record.ioCsvOutputFormatsetTypes

Popular methods of CsvOutputFormat

  • <init>
  • configureRecordFormat
  • setOutputFilePath

Popular in Java

  • Updating database using SQL prepared statement
  • startActivity (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • putExtra (Intent)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
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