Tabnine Logo
NullScheme
Code IndexAdd Tabnine to your IDE (free)

How to use
NullScheme
in
cascading.scheme

Best Java code snippets using cascading.scheme.NullScheme (Showing top 6 results out of 315)

origin: LiveRamp/cascading_ext

public NullTap() {
 super(new NullScheme<JobConf, RecordReader, OutputCollector, Object, Object>());
 id = UUID.randomUUID();
}
origin: cwensel/cascading

protected Tap createTap( JobConf jobConf, Path path, SinkMode sinkMode )
 {
 return new Hfs( new NullScheme(), path.toString(), sinkMode );
 }
origin: cascading/cascading-hadoop2-mr1

protected Tap createTap( JobConf jobConf, Path path, SinkMode sinkMode )
 {
 return new Hfs( new NullScheme(), path.toString(), sinkMode );
 }
origin: cwensel/cascading

public NonTap( Fields fields )
 {
 super( new NullScheme( fields, fields ) );
 }
origin: cwensel/cascading

public NonTap()
 {
 super( new NullScheme( Fields.UNKNOWN, Fields.ALL ) );
 }
origin: cwensel/cascading

@Override
public Scheme getScheme()
 {
 if( super.getScheme() != null )
  return super.getScheme();
 Set<Fields> fields = new HashSet<Fields>();
 for( Tap child : getTaps() )
  fields.add( child.getSinkFields() );
 // if all schemes have the same sink fields, the just use the scheme
 if( fields.size() == 1 )
  {
  setScheme( getTaps()[ 0 ].getScheme() );
  return super.getScheme();
  }
 Fields allFields = Fields.merge( fields.toArray( new Fields[ fields.size() ] ) );
 setScheme( new NullScheme( allFields, allFields ) );
 return super.getScheme();
 }
cascading.schemeNullScheme

Javadoc

Class NullScheme is a Scheme that neither reads or writes any values.

It is typically used as a placeholder where a Scheme instance is needed but generally ignored.

Most used methods

  • <init>

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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