use of com.twosigma.beakerx.sql.magic.command.DataSourcesMagicCommand in project beakerx by twosigma.
the class SQL method registerCustomMagicCommands.
private void registerCustomMagicCommands() {
registerMagicCommandType(new MagicCommandType(DATASOURCES, "<jdbc:[dbEngine]:[subsubprotocol:][databaseName]>", new DataSourcesMagicCommand(this)));
registerMagicCommandType(new MagicCommandType(DEFAULT_DATASOURCE, "<sourceName=jdbc:[dbEngine]:[subsubprotocol:][databaseName]>", new DefaultDataSourcesMagicCommand(this)));
}
Aggregations