Class ParGzipCsvInputData
java.lang.Object
org.pentaho.di.trans.step.BaseStepData
org.pentaho.di.trans.steps.parallelgzipcsv.ParGzipCsvInputData
- All Implemented Interfaces:
StepDataInterface
- Since:
- 3.2
- Author:
- Matt
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pentaho.di.trans.step.BaseStepData
BaseStepData.StepExecutionStatus -
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]intlongintbyte[]This is the main byte buffer into which we're going to read chunks of data...org.pentaho.di.core.row.RowMetaInterfacebyte[]byte[]intbooleanintString[]intlongbooleanintorg.pentaho.di.core.row.RowMetaInterfacebooleanlongintintintintlongint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRead more data from our current file...byte[]removeEscapedEnclosures(byte[] field, int nrEnclosuresFound) Methods inherited from class org.pentaho.di.trans.step.BaseStepData
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, isStopped, setStatusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.pentaho.di.trans.step.StepDataInterface
getStatus, isDisposed, isEmpty, isFinished, isIdle, isInitialising, isRunning, setStatus
-
Field Details
-
convertRowMeta
public org.pentaho.di.core.row.RowMetaInterface convertRowMeta -
outputRowMeta
public org.pentaho.di.core.row.RowMetaInterface outputRowMeta -
filenames
-
filenr
public int filenr -
startFilenr
public int startFilenr -
binaryFilename
public byte[] binaryFilename -
fis
-
isAddingRowNumber
public boolean isAddingRowNumber -
rowNumber
public long rowNumber -
stepNumber
public int stepNumber -
totalNumberOfSteps
public int totalNumberOfSteps -
parallel
public boolean parallel -
filenameFieldIndex
public int filenameFieldIndex -
rownumFieldIndex
public int rownumFieldIndex -
gzis
-
bufferSize
public int bufferSize -
delimiter
public byte[] delimiter -
enclosure
public byte[] enclosure -
startBuffer
public int startBuffer -
endBuffer
public int endBuffer -
maxBuffer
public int maxBuffer -
byteBuffer
public byte[] byteBufferThis is the main byte buffer into which we're going to read chunks of data... -
totalBytesRead
public long totalBytesRead -
blockSize
public long blockSize -
eofReached
public boolean eofReached -
fileReadPosition
public long fileReadPosition -
blockNr
public int blockNr
-
-
Constructor Details
-
ParGzipCsvInputData
public ParGzipCsvInputData()
-
-
Method Details
-
removeEscapedEnclosures
public byte[] removeEscapedEnclosures(byte[] field, int nrEnclosuresFound) - Returns:
- the byte array with escaped enclosures escaped.
-
getMoreData
public boolean getMoreData() throws org.pentaho.di.core.exception.KettleExceptionRead more data from our current file...- Returns:
- Throws:
org.pentaho.di.core.exception.KettleException
-