Class XmlDataReader
java.lang.Object
org.jumpmind.symmetric.io.data.reader.AbstractDataReader
org.jumpmind.symmetric.io.data.reader.XmlDataReader
- All Implemented Interfaces:
IDataReader,IDataResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Batchprotected Stringprotected DataContextprotected intprotected org.xmlpull.v1.XmlPullParserprotected Readerprotected Stringprotected Stringprotected Statisticsprotected TableFields inherited from class org.jumpmind.symmetric.io.data.reader.AbstractDataReader
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()nextData()voidopen(DataContext context) protected voidreadNext()voidsetCatalog(String catalog) voidMethods inherited from class org.jumpmind.symmetric.io.data.reader.AbstractDataReader
logDebugAndCountBytes, toBatch, toReader, toReader
-
Field Details
-
reader
-
context
-
batch
-
table
-
sourceNodeId
-
lineNumber
protected int lineNumber -
parser
protected org.xmlpull.v1.XmlPullParser parser -
statistics
-
next
-
catalog
-
schema
-
-
Constructor Details
-
XmlDataReader
-
XmlDataReader
-
-
Method Details
-
open
- Specified by:
openin interfaceIDataResource
-
readNext
protected void readNext() -
nextBatch
- Specified by:
nextBatchin interfaceIDataReader
-
nextTable
- Specified by:
nextTablein interfaceIDataReader
-
nextData
- Specified by:
nextDatain interfaceIDataReader
-
close
public void close()- Specified by:
closein interfaceIDataResource
-
getStatistics
- Specified by:
getStatisticsin interfaceIDataResource
-
getCatalog
-
setCatalog
-
getSchema
-
setSchema
-