Class AbstractFeatureExporter<T extends org.citygml4j.model.gml.feature.AbstractFeature>

    • Field Detail

      • connection

        protected final java.sql.Connection connection
    • Constructor Detail

      • AbstractFeatureExporter

        public AbstractFeatureExporter​(java.lang.Class<T> featureClass,
                                       java.sql.Connection connection,
                                       CityGMLExportManager exporter)
    • Method Detail

      • getOrCreateBulkStatement

        protected java.sql.PreparedStatement getOrCreateBulkStatement​(int batchSize)
                                                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • prepareBulkStatement

        protected void prepareBulkStatement​(java.sql.PreparedStatement ps,
                                            java.lang.Long[] ids,
                                            int batchSize)
                                     throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getOrCreateStatement

        protected java.sql.PreparedStatement getOrCreateStatement​(java.lang.String columnName)
                                                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • getOrCreateStatement

        protected java.sql.PreparedStatement getOrCreateStatement​(java.lang.String columnName,
                                                                  java.lang.Class<? extends org.citygml4j.model.gml.feature.AbstractFeature> filterClass)
                                                           throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • close

        public void close()
                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException