Package cascading.bind.catalog

Examples of cascading.bind.catalog.Stereotype


    {
    SchemaCatalog catalog = platformBroker.getSchemeCatalog();
    String schemaName = getOptions().getSchemaName();
    String stereotypeName = getOptions().getStereotypeName();
    SchemaDef schemaDef = getSchemaDefChecked( catalog, schemaName, true );
    Stereotype stereotype = schemaDef.getStereotypeChecked( stereotypeName );

    return new StereotypeBuilder().format( stereotype );
    }
View Full Code Here


        currentSchemaDef = createGetSchemaDef( currentSchemaDef, split[ i ] );
        }

      name = split[ split.length - 1 ];

      Stereotype stereotype = new Stereotype( name, function.apply( tap ) );
      TableDef tableDef = new TableDef( currentSchemaDef, name, tap.getIdentifier(), stereotype );

      currentSchemaDef.addStereotype( stereotype );
      currentTapSchema.addTapTableFor( tableDef, getDefaultSchema() == null );
      }
View Full Code Here

  private TableDef createTableFor( SchemaCatalogManager catalogManager, Ref head, String identifier )
    {
    String stereotypeName = head.name;
    SchemaCatalog schemaCatalog = catalogManager.getSchemaCatalog();
    Stereotype stereotype = schemaCatalog.getStereoTypeFor( null, head.fields );

    if( stereotype != null )
      stereotypeName = stereotype.getName();
    else
      schemaCatalog.createStereotype( null, stereotypeName, head.fields );

    Protocol protocol = schemaCatalog.getDefaultProtocol();
    Format format = schemaCatalog.getDefaultFormat();
View Full Code Here

TOP

Related Classes of cascading.bind.catalog.Stereotype

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.