public class OGremlinConsole extends OConsoleDatabaseApp
OConsoleApplication.RESULT
currentDatabase, currentDatabaseName, currentRecord, currentRecordIdx, currentResult, currentResultSet, orientDB, urlConnection
args, commandBuffer, COMMENT_PREFIXS, err, exitCommands, helpCommands, in, interactiveMode, methods, ONLINE_HELP_EXT, ONLINE_HELP_URL, out, PARAM_DISABLE_HISTORY, properties, reader, wordSeparator
Constructor and Description |
---|
OGremlinConsole(String[] args) |
Modifier and Type | Method and Description |
---|---|
void |
checkDatabase(String iOptions) |
void |
exportDatabase(String iText) |
void |
gremlin(String iScriptText) |
void |
importDatabase(String text) |
protected boolean |
isCollectingCommands(String iLine) |
static void |
main(String[] args) |
protected void |
onBefore() |
void |
repairDatabase(String iOptions) |
alterClass, alterCluster, alterDatabase, alterProperty, alterSequence, ask, backupDatabase, begin, browseClass, browseCluster, checkCurrentObject, checkForDatabase, checkForRemoteServer, close, clusterStatus, commit, compareDatabases, config, configGet, configSet, connect, createClass, createCluster, createDatabase, createEdge, createFunction, createIndex, createLink, createProperty, createSequence, createUser, createVertex, current, declareIntent, delete, dictionaryGet, dictionaryPut, dictionaryRemove, disconnect, displayRecord, dropClass, dropCluster, dropDatabase, dropDatabase, dropIndex, dropProperty, dropSequence, dropServerUser, dropUser, dumpDistributedConfiguration, dumpResultSet, eval, executeServerSideScript, explain, exportRecord, exportSchema, findReferences, flushDatabase, freezeDatabase, gc, get, getContext, getCurrentDatabase, getCurrentDatabaseName, getCurrentDatabaseUserName, getCurrentDatabaseUserPassword, getCurrentRecord, getCurrentResultSet, getDistributedConfiguration, getElapsedSecs, getMaxMultiValueEntries, getPrompt, grant, ha, info, infoClass, infoProperty, insert, js, jss, listClasses, listClusters, listConnections, listDatabases, listIndexes, listProperties, listServers, listServerUsers, loadRecord, loadRecord, loadRecordInternal, loadScript, match, move, moveVertex, next, onBegin, onCompletition, onMessage, onProgress, optimizeDatabase, parseCommandOptions, parseOptions, parseResult, prev, printApplicationInfo, printError, profiler, profileStorageOff, profileStorageOn, properties, pwd, rebuildIndex, releaseDatabase, reloadRecord, reloadRecord, reloadRecordInternal, reloadSchema, resetResultSet, restoreDatabase, restoreTerminal, revoke, rollback, script, select, set, setCurrentDatabase, setCurrentRecord, setResultset, setServerUser, setTerminalToCBreak, sleep, stty, transactional, traverse, truncateClass, truncateCluster, truncateRecord, update, updateDatabaseInfo
format, historyEnabled, onAfter, onException, onMessage
addCommand, error, execute, executeBatch, executeCommands, formatCommandSpecs, getClearName, getCommandLine, getConsoleMethods, getConsoleWidth, getCorrectMethodName, getMethod, getOnlineHelp, getVerboseLevel, help, isComment, isEchoEnabled, isInteractiveMode, isPropertyEnabled, message, run, setOutput, setReader, syntaxError
public OGremlinConsole(String[] args)
public static void main(String[] args)
public void gremlin(String iScriptText)
public void importDatabase(String text) throws IOException
importDatabase
in class OConsoleDatabaseApp
IOException
public void exportDatabase(String iText) throws IOException
exportDatabase
in class OConsoleDatabaseApp
IOException
public void checkDatabase(String iOptions) throws IOException
checkDatabase
in class OConsoleDatabaseApp
IOException
public void repairDatabase(String iOptions) throws IOException
repairDatabase
in class OConsoleDatabaseApp
IOException
protected void onBefore()
onBefore
in class OConsoleDatabaseApp
protected boolean isCollectingCommands(String iLine)
isCollectingCommands
in class OConsoleDatabaseApp
Copyright © 2009–2020 OrientDB. All rights reserved.