Package com.macrofocus.molap.exporter
Class JSONDataFrameWriter
- java.lang.Object
-
- com.macrofocus.molap.exporter.AbstractDataFrameWriter
-
- com.macrofocus.molap.exporter.JSONDataFrameWriter
-
- All Implemented Interfaces:
DataFrameWriter
public class JSONDataFrameWriter extends AbstractDataFrameWriter
-
-
Constructor Summary
Constructors Constructor Description JSONDataFrameWriter(java.io.Writer writer, java.lang.String newLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
end()
boolean
includeType()
void
nextColumn(boolean hasMore)
void
nextRow()
void
start()
void
start(java.lang.String name)
void
terminate()
void
writeCell(java.lang.Object value, DataFrame dataFrame, java.lang.Object rowKey, java.lang.Object columnKey)
void
writeColumnName(java.lang.String name, boolean hasMore)
void
writeType(java.lang.Class value, boolean hasMore)
-
Methods inherited from class com.macrofocus.molap.exporter.AbstractDataFrameWriter
dateToString, dateToString, numberToString, setTimeZone
-
-
-
-
Method Detail
-
start
public void start() throws java.io.IOException
- Specified by:
start
in interfaceDataFrameWriter
- Overrides:
start
in classAbstractDataFrameWriter
- Throws:
java.io.IOException
-
start
public void start(java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
writeColumnName
public void writeColumnName(java.lang.String name, boolean hasMore) throws java.io.IOException
- Throws:
java.io.IOException
-
includeType
public boolean includeType()
-
writeType
public void writeType(java.lang.Class value, boolean hasMore) throws java.io.IOException
- Throws:
java.io.IOException
-
writeCell
public void writeCell(java.lang.Object value, DataFrame dataFrame, java.lang.Object rowKey, java.lang.Object columnKey) throws java.io.IOException
- Throws:
java.io.IOException
-
nextColumn
public void nextColumn(boolean hasMore) throws java.io.IOException
- Throws:
java.io.IOException
-
nextRow
public void nextRow() throws java.io.IOException
- Throws:
java.io.IOException
-
end
public void end() throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
terminate
public void terminate() throws java.io.IOException
- Throws:
java.io.IOException
-
-