Package org.ujmp.core.export.exporter
Class DefaultMatrixWriterSQLExporter
java.lang.Object
org.ujmp.core.export.exporter.AbstractMatrixExporter
org.ujmp.core.export.exporter.AbstractMatrixWriterExporter
org.ujmp.core.export.exporter.DefaultMatrixWriterSQLExporter
- All Implemented Interfaces:
MatrixExporter
,MatrixWriterExporter
,MatrixExportFormat
,MatrixSQLExportFormat
public class DefaultMatrixWriterSQLExporter
extends AbstractMatrixWriterExporter
implements MatrixSQLExportFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
private static String
encodeData
(Object o) private static final String
private static final String
getBigIntType
(DBType db) private static final String
private static final String
getColumnName
(Matrix matrix, long column) private static final String
getColumnType
(DBType db, Matrix matrix, long column) private static final String
getDoubleType
(DBType db) private static final String
getFloatType
(DBType db) private static final String
getIntType
(DBType db) private static final String
getLongType
(DBType db) private static final String
getStringType
(DBType db) Methods inherited from class org.ujmp.core.export.exporter.AbstractMatrixWriterExporter
getWriter
Methods inherited from class org.ujmp.core.export.exporter.AbstractMatrixExporter
getMatrix
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ujmp.core.export.exporter.MatrixExporter
getMatrix
-
Constructor Details
-
DefaultMatrixWriterSQLExporter
-
-
Method Details
-
asSQL
- Specified by:
asSQL
in interfaceMatrixSQLExportFormat
- Throws:
IOException
-
encodeData
-
getColumnName
-
getIntType
-
getLongType
-
getFloatType
-
getDoubleType
-
getByteArrayType
-
getBigIntType
-
getBigDecimalType
-
getStringType
-
getColumnType
-