Contextpublic abstract class ContextSnapshot<T extends Context> extends ContextWrapper<T>
Context which retains copies of variable attributes of a given Context to
store the state of the parsing process at a given point in time. All runtime operations such as ContextWrapper.stop()
will still work and affect the current parsing process.context| Constructor | Description |
|---|---|
ContextSnapshot(T context) |
Creates a snapshot of a given
Context |
| Modifier and Type | Method | Description |
|---|---|---|
int |
currentColumn() |
Returns the column index of the record being processed.
|
long |
currentRecord() |
Returns the index of the last valid record parsed from the input
|
columnsReordered, errorContentLength, extractedFieldIndexes, headers, indexOf, indexOf, isStopped, selectedHeaders, stoppublic int currentColumn()
ContextcurrentColumn in interface ContextcurrentColumn in class ContextWrapper<T extends Context>public long currentRecord()
ContextcurrentRecord in interface ContextcurrentRecord in class ContextWrapper<T extends Context>