@PrimitiveOperator
@InputPortSet(cardinality=1)
@OutputPortSet(cardinality=1)
public class TextFileReader
extends com.ibm.streams.operator.AbstractOperator
Constructor and Description |
---|
TextFileReader() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEncoding() |
void |
initialize(com.ibm.streams.operator.OperatorContext context) |
void |
process(com.ibm.streams.operator.StreamingInput<com.ibm.streams.operator.Tuple> stream,
com.ibm.streams.operator.Tuple tuple) |
void |
setEncoding(java.lang.String encoding) |
allPortsReady, checkPorts, createAvoidCompletionThread, createAvoidCompletionThread, createAvoidCompletionThreadIfNoInputs, getControlPlaneContext, getException, getInput, getOperatorContext, getOutput, processPunctuation, setLoggerAspects, setTagData, shutdown
public java.lang.String getEncoding()
@Parameter(optional=true) public void setEncoding(java.lang.String encoding)
public void initialize(com.ibm.streams.operator.OperatorContext context) throws java.lang.Exception
initialize
in interface com.ibm.streams.operator.Operator
initialize
in class com.ibm.streams.operator.AbstractOperator
java.lang.Exception
public void process(com.ibm.streams.operator.StreamingInput<com.ibm.streams.operator.Tuple> stream, com.ibm.streams.operator.Tuple tuple) throws java.lang.Exception
process
in interface com.ibm.streams.operator.Operator
process
in class com.ibm.streams.operator.AbstractOperator
java.lang.Exception