public class OTeleporter
extends com.orientechnologies.orient.server.plugin.OServerPluginAbstract
Modifier and Type | Class and Description |
---|---|
static class |
OTeleporter.OrientDBVersion |
Constructor and Description |
---|
OTeleporter() |
Modifier and Type | Method and Description |
---|---|
void |
config(com.orientechnologies.orient.server.OServer oServer,
com.orientechnologies.orient.server.config.OServerParameterConfiguration[] iParams) |
static com.orientechnologies.orient.core.record.impl.ODocument |
execute(String driver,
String jurl,
String username,
String password,
String outDbUrl,
String chosenStrategy,
String chosenMapper,
String xmlPath,
String nameResolver,
String outputLevel,
List<String> includedTables,
List<String> excludedTables,
com.orientechnologies.orient.output.OPluginMessageHandler messageHandler) |
static void |
execute(String driver,
String jurl,
String username,
String password,
String outDbUrl,
String chosenStrategy,
String chosenMapper,
String xmlPath,
String nameResolver,
String outputLevel,
List<String> includedTables,
List<String> excludedTables,
String configurationPath,
com.orientechnologies.orient.output.OPluginMessageHandler messageHandler)
Executes the import of the source DB in a OrientDB Graph through different parameters.
|
static com.orientechnologies.orient.core.record.impl.ODocument |
executeJob(String driver,
String jurl,
String username,
String password,
String outDbUrl,
String chosenStrategy,
String chosenMapper,
String xmlPath,
String nameResolver,
String outputLevel,
List<String> includedTables,
List<String> excludedTables,
String jsonMigrationConfig,
com.orientechnologies.orient.output.OPluginMessageHandler messageHandler,
com.orientechnologies.orient.core.db.OrientDB orientDBInstance)
Executes the import of the source DB in a OrientDB Graph through different parameters.
|
String |
getName() |
static void |
main(String[] args) |
void |
shutdown() |
void |
startup() |
getContent, onAfterClientRequest, onBeforeClientRequest, onClientConnection, onClientDisconnection, onClientError, sendShutdown
public static void execute(String driver, String jurl, String username, String password, String outDbUrl, String chosenStrategy, String chosenMapper, String xmlPath, String nameResolver, String outputLevel, List<String> includedTables, List<String> excludedTables, String configurationPath, com.orientechnologies.orient.output.OPluginMessageHandler messageHandler) throws OTeleporterIOException
driver
- the driver name of the DBMS from which you want to execute the importjurl
- an absolute URL giving the location of the source DB to importusername
- to access to the source DBpassword
- to access to the source DBchosenStrategy
- the execution approach adopted during the importing of dataoutDbUrl
- an absolute URI for the destination Orient Graph DBnameResolver
- the name of the resolver which transforms the names of all the elements of
the source DB according to a specific convention (if null Java convention is adopted)outputLevel
- the level of the logging messages that will be printed on the OutputStream
during the executionexcludedTables
- includedTables
- configurationPath
- OTeleporterIOException
public static com.orientechnologies.orient.core.record.impl.ODocument executeJob(String driver, String jurl, String username, String password, String outDbUrl, String chosenStrategy, String chosenMapper, String xmlPath, String nameResolver, String outputLevel, List<String> includedTables, List<String> excludedTables, String jsonMigrationConfig, com.orientechnologies.orient.output.OPluginMessageHandler messageHandler, com.orientechnologies.orient.core.db.OrientDB orientDBInstance) throws OTeleporterIOException
driver
- the driver name of the DBMS from which you want to execute the importjurl
- an absolute URL giving the location of the source DB to importusername
- to access to the source DBpassword
- to access to the source DBchosenStrategy
- the execution approach adopted during the importing of dataoutDbUrl
- an absolute URI for the destination Orient Graph DBnameResolver
- the name of the resolver which transforms the names of all the elements of
the source DB according to a specific convention (if null Java convention is adopted)outputLevel
- the level of the logging messages that will be printed on the OutputStream
during the executionexcludedTables
- includedTables
- jsonMigrationConfig
- OTeleporterIOException
public static com.orientechnologies.orient.core.record.impl.ODocument execute(String driver, String jurl, String username, String password, String outDbUrl, String chosenStrategy, String chosenMapper, String xmlPath, String nameResolver, String outputLevel, List<String> includedTables, List<String> excludedTables, com.orientechnologies.orient.output.OPluginMessageHandler messageHandler) throws OTeleporterIOException
OTeleporterIOException
public String getName()
public void startup()
startup
in interface com.orientechnologies.common.util.OService
startup
in class com.orientechnologies.orient.server.plugin.OServerPluginAbstract
public void config(com.orientechnologies.orient.server.OServer oServer, com.orientechnologies.orient.server.config.OServerParameterConfiguration[] iParams)
config
in interface com.orientechnologies.orient.server.plugin.OServerPlugin
config
in class com.orientechnologies.orient.server.plugin.OServerPluginAbstract
public void shutdown()
shutdown
in interface com.orientechnologies.common.util.OService
shutdown
in class com.orientechnologies.orient.server.plugin.OServerPluginAbstract
Copyright © 2015–2024 OrientDB. All rights reserved.