Interface DbHelper
- All Known Implementing Classes:
DbHelper.NoOpHelper
,DbHelper.SQLiteHelper
public interface DbHelper
Provides methods to configure database prior to data source initialization.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DbHelper
init
(DrillConfig config) InitializesDbHelper
implementation based onSQLDialect
.void
Prepares database prior to data source configuration.
-
Method Details
-
init
InitializesDbHelper
implementation based onSQLDialect
.- Parameters:
config
- Metastore config- Returns:
- DBHelper instance
-
prepareDatabase
void prepareDatabase()Prepares database prior to data source configuration.
-