cascading.test
Class LocalPlatform

java.lang.Object
  extended by cascading.test.TestPlatform
      extended by cascading.test.LocalPlatform

public class LocalPlatform
extends TestPlatform


Field Summary
 
Fields inherited from class cascading.test.TestPlatform
CLUSTER_TESTING_PROPERTY, TEST_PLATFORM_CLASSNAME
 
Constructor Summary
LocalPlatform()
           
 
Method Summary
 void copyFromLocal(java.lang.String inputFile)
           
 void copyToLocal(java.lang.String outputFile)
           
 Tap getDelimitedFile(Fields fields, boolean skipHeader, boolean writeHeader, java.lang.String delimiter, java.lang.String quote, java.lang.Class[] types, java.lang.String filename, SinkMode mode)
           
 Tap getDelimitedFile(Fields fields, boolean hasHeader, java.lang.String delimiter, java.lang.String quote, java.lang.Class[] types, java.lang.String filename, SinkMode mode)
           
 FlowConnector getFlowConnector(java.util.Map<java.lang.Object,java.lang.Object> properties)
           
 FlowProcess getFlowProcess()
           
 java.util.Map<java.lang.Object,java.lang.Object> getProperties()
           
 Tap getTap(Scheme scheme, java.lang.String filename, SinkMode mode)
           
 Tap getTextFile(Fields sourceFields, Fields sinkFields, java.lang.String filename, SinkMode mode)
           
 boolean remoteExists(java.lang.String outputFile)
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class cascading.test.TestPlatform
getDelimitedFile, getDelimitedFile, getDelimitedFile, getDelimitedFile, getFlowConnector, getName, getTextFile, getTextFile, getTextFile, getTextFile, isUseCluster, setUseCluster
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalPlatform

public LocalPlatform()
Method Detail

setUp

public void setUp()
           throws java.io.IOException
Specified by:
setUp in class TestPlatform
Throws:
java.io.IOException

getProperties

public java.util.Map<java.lang.Object,java.lang.Object> getProperties()
Specified by:
getProperties in class TestPlatform

tearDown

public void tearDown()
Specified by:
tearDown in class TestPlatform

copyFromLocal

public void copyFromLocal(java.lang.String inputFile)
                   throws java.io.IOException
Specified by:
copyFromLocal in class TestPlatform
Throws:
java.io.IOException

copyToLocal

public void copyToLocal(java.lang.String outputFile)
                 throws java.io.IOException
Specified by:
copyToLocal in class TestPlatform
Throws:
java.io.IOException

remoteExists

public boolean remoteExists(java.lang.String outputFile)
                     throws java.io.IOException
Specified by:
remoteExists in class TestPlatform
Throws:
java.io.IOException

getFlowProcess

public FlowProcess getFlowProcess()
Specified by:
getFlowProcess in class TestPlatform

getFlowConnector

public FlowConnector getFlowConnector(java.util.Map<java.lang.Object,java.lang.Object> properties)
Specified by:
getFlowConnector in class TestPlatform

getTap

public Tap getTap(Scheme scheme,
                  java.lang.String filename,
                  SinkMode mode)
Specified by:
getTap in class TestPlatform

getTextFile

public Tap getTextFile(Fields sourceFields,
                       Fields sinkFields,
                       java.lang.String filename,
                       SinkMode mode)
Specified by:
getTextFile in class TestPlatform

getDelimitedFile

public Tap getDelimitedFile(Fields fields,
                            boolean hasHeader,
                            java.lang.String delimiter,
                            java.lang.String quote,
                            java.lang.Class[] types,
                            java.lang.String filename,
                            SinkMode mode)
Specified by:
getDelimitedFile in class TestPlatform

getDelimitedFile

public Tap getDelimitedFile(Fields fields,
                            boolean skipHeader,
                            boolean writeHeader,
                            java.lang.String delimiter,
                            java.lang.String quote,
                            java.lang.Class[] types,
                            java.lang.String filename,
                            SinkMode mode)
Specified by:
getDelimitedFile in class TestPlatform


Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.