Package cascading.lingual.catalog

Examples of cascading.lingual.catalog.Protocol


    }

  public Tap createTap( Resource<Protocol, Format, SinkMode> resource, Scheme scheme, Properties properties )
    {
    String identifier = resource.getIdentifier();
    Protocol protocol = resource.getProtocol();
    SinkMode mode = resource.getMode();

    Tap tap = null;
    try
      {
      LOG.info( "using " + getDescription() + " to create tap for {} with properties: {}", resource, properties );
      tap = factoryObject.createTap( protocol.toString(), scheme, identifier, mode, properties );

      if( tap == null )
        tap = factoryObject.createTap( scheme, identifier, mode, properties );

      if( tap == null )
View Full Code Here



  private Resource<Protocol, Format, SinkMode> createResultResource( PlatformBroker platformBroker, LingualFlowFactory flowFactory )
    {
    SchemaDef schemaDef = platformBroker.getResultSchemaDef();
    Protocol protocol = schemaDef.findDefaultProtocol();
    Format format = schemaDef.findDefaultFormat();

    String resultPath;

    if( schemaDef.isRoot() )
View Full Code Here

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

    Protocol protocol = schemaCatalog.getDefaultProtocol();
    Format format = schemaCatalog.getDefaultFormat();

    String tableName = catalogManager.createTableDefFor( null, head.name, identifier, stereotypeName, protocol, format );

    return schemaCatalog.getTableDef( null, tableName );
View Full Code Here

TOP

Related Classes of cascading.lingual.catalog.Protocol

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.