cascading.flow.local
Class LocalFlowProcess

java.lang.Object
  extended by cascading.flow.FlowProcess<Properties>
      extended by cascading.flow.local.LocalFlowProcess

public class LocalFlowProcess
extends cascading.flow.FlowProcess<Properties>

Class LocalFlowProcess is the local mode implementation of FlowProcess.


Nested Class Summary
 
Nested classes/interfaces inherited from class cascading.flow.FlowProcess
cascading.flow.FlowProcess.NullFlowProcess
 
Field Summary
 
Fields inherited from class cascading.flow.FlowProcess
NULL
 
Constructor Summary
LocalFlowProcess()
           
LocalFlowProcess(cascading.flow.FlowSession flowSession, Properties config)
           
LocalFlowProcess(LocalFlowProcess flowProcess, Properties properties)
           
LocalFlowProcess(Properties config)
           
 
Method Summary
 Properties copyConfig(Properties config)
           
 cascading.flow.FlowProcess copyWith(Properties object)
           
 Map<String,String> diffConfigIntoMap(Properties defaultConfig, Properties updatedConfig)
           
 Properties getConfigCopy()
           
 int getCurrentSliceNum()
           
 int getNumProcessSlices()
           
 Object getProperty(String key)
           
 Collection<String> getPropertyKeys()
           
 void increment(Enum counter, long amount)
           
 void increment(String group, String counter, long amount)
           
 boolean isCounterStatusInitialized()
           
 void keepAlive()
           
 Properties mergeMapIntoConfig(Properties defaultConfig, Map<String,String> map)
           
 Object newInstance(String className)
           
 cascading.tuple.TupleEntryCollector openSystemIntermediateForWrite()
           
 cascading.tuple.TupleEntryIterator openTapForRead(cascading.tap.Tap tap)
           
 cascading.tuple.TupleEntryCollector openTapForWrite(cascading.tap.Tap tap)
           
 cascading.tuple.TupleEntryCollector openTrapForWrite(cascading.tap.Tap trap)
           
 void setStatus(String status)
           
 void setStepStats(LocalStepStats stepStats)
           
 
Methods inherited from class cascading.flow.FlowProcess
getCurrentSession, getID, getIntegerProperty, getStringProperty, setCurrentSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFlowProcess

public LocalFlowProcess()

LocalFlowProcess

public LocalFlowProcess(Properties config)

LocalFlowProcess

public LocalFlowProcess(cascading.flow.FlowSession flowSession,
                        Properties config)

LocalFlowProcess

public LocalFlowProcess(LocalFlowProcess flowProcess,
                        Properties properties)
Method Detail

setStepStats

public void setStepStats(LocalStepStats stepStats)

getNumProcessSlices

public int getNumProcessSlices()
Specified by:
getNumProcessSlices in class cascading.flow.FlowProcess<Properties>

getCurrentSliceNum

public int getCurrentSliceNum()
Specified by:
getCurrentSliceNum in class cascading.flow.FlowProcess<Properties>

getProperty

public Object getProperty(String key)
Specified by:
getProperty in class cascading.flow.FlowProcess<Properties>

getPropertyKeys

public Collection<String> getPropertyKeys()
Specified by:
getPropertyKeys in class cascading.flow.FlowProcess<Properties>

newInstance

public Object newInstance(String className)
Specified by:
newInstance in class cascading.flow.FlowProcess<Properties>

keepAlive

public void keepAlive()
Specified by:
keepAlive in class cascading.flow.FlowProcess<Properties>

increment

public void increment(Enum counter,
                      long amount)
Specified by:
increment in class cascading.flow.FlowProcess<Properties>

increment

public void increment(String group,
                      String counter,
                      long amount)
Specified by:
increment in class cascading.flow.FlowProcess<Properties>

setStatus

public void setStatus(String status)
Specified by:
setStatus in class cascading.flow.FlowProcess<Properties>

isCounterStatusInitialized

public boolean isCounterStatusInitialized()
Specified by:
isCounterStatusInitialized in class cascading.flow.FlowProcess<Properties>

openTapForRead

public cascading.tuple.TupleEntryIterator openTapForRead(cascading.tap.Tap tap)
                                                  throws IOException
Specified by:
openTapForRead in class cascading.flow.FlowProcess<Properties>
Throws:
IOException

openTapForWrite

public cascading.tuple.TupleEntryCollector openTapForWrite(cascading.tap.Tap tap)
                                                    throws IOException
Specified by:
openTapForWrite in class cascading.flow.FlowProcess<Properties>
Throws:
IOException

openTrapForWrite

public cascading.tuple.TupleEntryCollector openTrapForWrite(cascading.tap.Tap trap)
                                                     throws IOException
Specified by:
openTrapForWrite in class cascading.flow.FlowProcess<Properties>
Throws:
IOException

openSystemIntermediateForWrite

public cascading.tuple.TupleEntryCollector openSystemIntermediateForWrite()
                                                                   throws IOException
Specified by:
openSystemIntermediateForWrite in class cascading.flow.FlowProcess<Properties>
Throws:
IOException

copyWith

public cascading.flow.FlowProcess copyWith(Properties object)
Specified by:
copyWith in class cascading.flow.FlowProcess<Properties>

getConfigCopy

public Properties getConfigCopy()
Specified by:
getConfigCopy in class cascading.flow.FlowProcess<Properties>

copyConfig

public Properties copyConfig(Properties config)
Specified by:
copyConfig in class cascading.flow.FlowProcess<Properties>

diffConfigIntoMap

public Map<String,String> diffConfigIntoMap(Properties defaultConfig,
                                            Properties updatedConfig)
Specified by:
diffConfigIntoMap in class cascading.flow.FlowProcess<Properties>

mergeMapIntoConfig

public Properties mergeMapIntoConfig(Properties defaultConfig,
                                     Map<String,String> map)
Specified by:
mergeMapIntoConfig in class cascading.flow.FlowProcess<Properties>


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