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

How to use
Stereotypes
in
cascading.bind.catalog

Best Java code snippets using cascading.bind.catalog.Stereotypes (Showing top 14 results out of 315)

origin: cascading/lingual-core

public void addStereotype( Stereotype<Protocol, Format> stereotype )
 {
 stereotypes.addStereotype( stereotype );
 }
origin: cascading/lingual-core

public boolean hasStereotype( String name )
 {
 if( name == null )
  return false;
 return stereotypes.getStereotypeFor( name ) != null;
 }
origin: cascading/lingual-core

public Collection<String> getStereotypeNames()
 {
 return stereotypes.getStereotypeNames();
 }
origin: cascading/lingual-core

public boolean removeStereotype( String name )
 {
 return stereotypes.removeStereotype( name );
 }
origin: cascading/lingual-core

public boolean renameStereotype( String name, String newName )
 {
 return stereotypes.renameStereotype( name, newName );
 }
origin: cascading/cascading-bind

public Stereotype<Protocol, Format> getStereotypeFor( Fields fields )
 {
 return fieldsToStereotype.get( normalize( fields ) );
 }
origin: cascading/cascading-bind

@JsonCreator
public Stereotypes( Collection<Stereotype<Protocol, Format>> stereotypes )
 {
 setStereotypes( stereotypes );
 }
origin: cascading/lingual-core

@Override
public int hashCode()
 {
 int result = super.hashCode();
 result = 31 * result + ( stereotypes != null ? stereotypes.hashCode() : 0 );
 result = 31 * result + ( childSchemas != null ? childSchemas.hashCode() : 0 );
 result = 31 * result + ( childTables != null ? childTables.hashCode() : 0 );
 result = 31 * result + ( protocolProperties != null ? protocolProperties.hashCode() : 0 );
 result = 31 * result + ( formatProperties != null ? formatProperties.hashCode() : 0 );
 return result;
 }
}
origin: cascading/lingual-core

@Override
public boolean equals( Object object )
 {
 if( this == object )
  return true;
 if( !( object instanceof SchemaDef ) )
  return false;
 if( !super.equals( object ) )
  return false;
 SchemaDef schemaDef = (SchemaDef) object;
 if( childSchemas != null ? !childSchemas.equals( schemaDef.childSchemas ) : schemaDef.childSchemas != null )
  return false;
 if( childTables != null ? !childTables.equals( schemaDef.childTables ) : schemaDef.childTables != null )
  return false;
 if( formatProperties != null ? !formatProperties.equals( schemaDef.formatProperties ) : schemaDef.formatProperties != null )
  return false;
 if( protocolProperties != null ? !protocolProperties.equals( schemaDef.protocolProperties ) : schemaDef.protocolProperties != null )
  return false;
 if( stereotypes != null ? !stereotypes.equals( schemaDef.stereotypes ) : schemaDef.stereotypes != null )
  return false;
 return true;
 }
origin: cascading/cascading-bind

@JsonSetter
public void setStereotypes( Collection<Stereotype<Protocol, Format>> stereotypes )
 {
 for( Stereotype<Protocol, Format> stereotype : stereotypes )
  addStereotype( stereotype );
 }
origin: cascading/lingual-core

public Stereotype<Protocol, Format> getStereotype( String stereotypeName )
 {
 if( stereotypeName == null || stereotypeName.isEmpty() )
  return null;
 return stereotypes.getStereotypeFor( stereotypeName );
 }
origin: cascading/cascading-bind

public boolean renameStereotype( String name, String newName )
 {
 Stereotype<Protocol, Format> stereotype = nameToStereotype.remove( name );
 if( stereotype == null )
  return false;
 fieldsToStereotype.remove( stereotype.getFields() );
 addStereotype( new Stereotype<Protocol, Format>( stereotype, newName ) );
 return true;
 }
origin: cascading/lingual-core

public Stereotype<Protocol, Format> findStereotypeFor( String stereotypeName )
 {
 Stereotype<Protocol, Format> stereotype = stereotypes.getStereotypeFor( stereotypeName );
 if( stereotype != null || isRoot() )
  return stereotype;
 return getParentSchema().findStereotypeFor( stereotypeName );
 }
origin: cascading/lingual-core

public Stereotype<Protocol, Format> findStereotypeFor( Fields fields )
 {
 Stereotype<Protocol, Format> stereotype = stereotypes.getStereotypeFor( fields );
 if( stereotype != null || isRoot() )
  return stereotype;
 return getParentSchema().findStereotypeFor( fields );
 }
cascading.bind.catalogStereotypes

Javadoc

Class Stereotypes maintains a collection of Stereotype instances for lookup.

Most used methods

  • addStereotype
  • equals
  • getStereotypeFor
  • getStereotypeNames
  • hashCode
  • normalize
  • removeStereotype
  • renameStereotype
  • setStereotypes

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • putExtra (Intent)
  • getSystemService (Context)
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 12 Jupyter Notebook extensions
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