public class RemoteStep extends Object implements Cloneable, XMLInterface, Comparable<RemoteStep>
Modifier and Type | Field and Description |
---|---|
protected BufferedOutputStream |
bufferedOutputStream |
protected RowMetaInterface |
rowMeta |
AtomicBoolean |
stopped |
static String |
XML_TAG |
Constructor and Description |
---|
RemoteStep(Node node) |
RemoteStep(String hostname,
String remoteHostname,
String port,
String sourceStep,
int sourceStepCopyNr,
String targetStep,
int targetStepCopyNr,
String sourceSlaveServerName,
String targetSlaveServerName,
int bufferSize,
boolean compressingStreams,
RowMetaInterface rowMeta) |
public static final String XML_TAG
public AtomicBoolean stopped
protected BufferedOutputStream bufferedOutputStream
protected RowMetaInterface rowMeta
public RemoteStep(String hostname, String remoteHostname, String port, String sourceStep, int sourceStepCopyNr, String targetStep, int targetStepCopyNr, String sourceSlaveServerName, String targetSlaveServerName, int bufferSize, boolean compressingStreams, RowMetaInterface rowMeta)
hostname
- remoteHostname
- port
- sourceStep
- sourceStepCopyNr
- targetStep
- targetStepCopyNr
- sourceSlaveServerName
- targetSlaveServerName
- bufferSize
- compressingStreams
- rowMeta
- The expected row layout to pass through this step. (input or output)public RemoteStep(Node node) throws KettleException
KettleException
public String getXML()
getXML
in interface XMLInterface
public int compareTo(RemoteStep remoteStep)
compareTo
in interface Comparable<RemoteStep>
public String getHostname()
public void setHostname(String hostname)
hostname
- the host name to setpublic String getPort()
public void setPort(String port)
port
- the port to setpublic void openServerSocket(BaseStep baseStep) throws IOException
IOException
public ServerSocket getServerSocket()
public Socket getSocket()
public void setSocket(Socket socket)
socket
- the socket to setpublic BlockingRowSet openWriterSocket() throws IOException
IOException
public void cleanup()
public BlockingRowSet openReaderSocket(BaseStep baseStep) throws IOException, KettleException
IOException
KettleException
public String getSourceStep()
public void setSourceStep(String sourceStep)
sourceStep
- the sourceStep to setpublic String getTargetStep()
public void setTargetStep(String targetStep)
targetStep
- the targetStep to setpublic String getTargetSlaveServerName()
public void setTargetSlaveServerName(String targetSlaveServerName)
targetSlaveServerName
- the targetSlaveServerName to setpublic int getSourceStepCopyNr()
public void setSourceStepCopyNr(int sourceStepCopyNr)
sourceStepCopyNr
- the sourceStepCopyNr to setpublic int getTargetStepCopyNr()
public void setTargetStepCopyNr(int targetStepCopyNr)
targetStepCopyNr
- the targetStepCopyNr to setpublic int getBufferSize()
public void setBufferSize(int bufferSize)
bufferSize
- the bufferSize to setpublic boolean isCompressingStreams()
public void setCompressingStreams(boolean compressingStreams)
compressingStreams
- the compressingStreams to setpublic String getRemoteHostname()
public void setRemoteHostname(String remoteHostname)
remoteHostname
- the remoteHostname to setpublic String getSourceSlaveServerName()
public void setSourceSlaveServerName(String sourceSlaveServerName)
sourceSlaveServerName
- the sourceSlaveServerName to setprotected void finalize() throws Throwable
public RowMetaInterface getRowMeta()
public void setRowMeta(RowMetaInterface rowMeta)
public boolean isEncryptingStreams()
public void setEncryptingStreams(boolean encryptingStreams)
public byte[] getKey()
public void setKey(byte[] key)
Copyright © 2018 Hitachi Vantara. All rights reserved.