Class DbHelper.SQLiteHelper

java.lang.Object
org.apache.drill.metastore.rdbms.util.DbHelper.SQLiteHelper
All Implemented Interfaces:
DbHelper
Enclosing interface:
DbHelper

public static class DbHelper.SQLiteHelper extends Object implements DbHelper
SQLite implementation of DbHelper, creates database path if needed.
  • Constructor Details

    • SQLiteHelper

      public SQLiteHelper(DrillConfig config)
  • Method Details

    • prepareDatabase

      public void prepareDatabase()
      SQLite database requires database path to exist prior to database initialization. Checks if path creation flag set to true and path is set and attempts to create database path recursively.
      Specified by:
      prepareDatabase in interface DbHelper