Class DefaultMatrixWriterSQLExporter

    • Constructor Detail

      • DefaultMatrixWriterSQLExporter

        public DefaultMatrixWriterSQLExporter​(Matrix matrix,
                                              java.io.Writer writer)
    • Method Detail

      • asSQL

        public void asSQL​(DBType db,
                          java.lang.String databaseName,
                          java.lang.String tableName)
                   throws java.io.IOException
        Specified by:
        asSQL in interface MatrixSQLExportFormat
        Throws:
        java.io.IOException
      • encodeData

        private static java.lang.String encodeData​(java.lang.Object o)
      • getColumnName

        private static final java.lang.String getColumnName​(Matrix matrix,
                                                            long column)
      • getIntType

        private static final java.lang.String getIntType​(DBType db)
      • getLongType

        private static final java.lang.String getLongType​(DBType db)
      • getFloatType

        private static final java.lang.String getFloatType​(DBType db)
      • getDoubleType

        private static final java.lang.String getDoubleType​(DBType db)
      • getByteArrayType

        private static final java.lang.String getByteArrayType​(DBType db)
      • getBigIntType

        private static final java.lang.String getBigIntType​(DBType db)
      • getBigDecimalType

        private static final java.lang.String getBigDecimalType​(DBType db)
      • getStringType

        private static final java.lang.String getStringType​(DBType db)
      • getColumnType

        private static final java.lang.String getColumnType​(DBType db,
                                                            Matrix matrix,
                                                            long column)