cascading.tap.local
Class StdOutTap

java.lang.Object
  extended by cascading.tap.Tap<Config,Void,Output>
      extended by cascading.tap.SinkTap<Properties,OutputStream>
          extended by cascading.tap.local.StdOutTap
All Implemented Interfaces:
cascading.flow.FlowElement, Serializable

public class StdOutTap
extends cascading.tap.SinkTap<Properties,OutputStream>

Class StdOutTap provides a local mode tap for writing data to the stdout stream.

See Also:
Serialized Form

Constructor Summary
StdOutTap(cascading.scheme.Scheme<Properties,?,OutputStream,?,?> scheme)
           
 
Method Summary
 boolean createResource(Properties conf)
           
 boolean deleteResource(Properties conf)
           
 String getIdentifier()
           
 long getModifiedTime(Properties conf)
           
 cascading.tuple.TupleEntryCollector openForWrite(cascading.flow.FlowProcess<Properties> flowProcess, OutputStream output)
           
 boolean resourceExists(Properties conf)
           
 
Methods inherited from class cascading.tap.SinkTap
getSourceFields, isSource, openForRead, sourceConfInit
 
Methods inherited from class cascading.tap.Tap
commitResource, createResource, deleteResource, equals, flowConfInit, getConfigDef, getFullIdentifier, getFullIdentifier, getModifiedTime, getScheme, getSinkFields, getSinkMode, getStepConfigDef, getTrace, hasConfigDef, hashCode, hasStepConfigDef, id, isEquivalentTo, isKeep, isReplace, isSink, isTemporary, isUpdate, openForRead, openForWrite, outgoingScopeFor, presentSinkFields, presentSourceFields, resolveIncomingOperationArgumentFields, resolveIncomingOperationPassThroughFields, resourceExists, retrieveSinkFields, retrieveSourceFields, rollbackResource, setScheme, sinkConfInit, taps, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StdOutTap

public StdOutTap(cascading.scheme.Scheme<Properties,?,OutputStream,?,?> scheme)
Method Detail

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in class cascading.tap.Tap<Properties,Void,OutputStream>

openForWrite

public cascading.tuple.TupleEntryCollector openForWrite(cascading.flow.FlowProcess<Properties> flowProcess,
                                                        OutputStream output)
                                                 throws IOException
Specified by:
openForWrite in class cascading.tap.Tap<Properties,Void,OutputStream>
Throws:
IOException

createResource

public boolean createResource(Properties conf)
                       throws IOException
Specified by:
createResource in class cascading.tap.Tap<Properties,Void,OutputStream>
Throws:
IOException

deleteResource

public boolean deleteResource(Properties conf)
                       throws IOException
Specified by:
deleteResource in class cascading.tap.Tap<Properties,Void,OutputStream>
Throws:
IOException

resourceExists

public boolean resourceExists(Properties conf)
                       throws IOException
Specified by:
resourceExists in class cascading.tap.Tap<Properties,Void,OutputStream>
Throws:
IOException

getModifiedTime

public long getModifiedTime(Properties conf)
                     throws IOException
Specified by:
getModifiedTime in class cascading.tap.Tap<Properties,Void,OutputStream>
Throws:
IOException


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