Class OGremlinConsole
java.lang.Object
com.orientechnologies.common.console.OConsoleApplication
com.orientechnologies.orient.console.OConsoleDatabaseApp
com.orientechnologies.orient.graph.console.OGremlinConsole
- All Implemented Interfaces:
OProgressListener,OTableFormatter.OTableOutput,OCommandOutputListener
Gremlin specialized console.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.orientechnologies.common.console.OConsoleApplication
OConsoleApplication.RESULT -
Field Summary
Fields inherited from class com.orientechnologies.orient.console.OConsoleDatabaseApp
currentDatabase, currentDatabaseName, currentRecord, currentRecordIdx, currentResult, currentResultSet, orientDB, urlConnectionFields inherited from class com.orientechnologies.common.console.OConsoleApplication
args, commandBuffer, COMMENT_PREFIXS, err, exitCommands, helpCommands, in, interactiveMode, methods, ONLINE_HELP_EXT, ONLINE_HELP_URL, out, PARAM_DISABLE_HISTORY, properties, reader, wordSeparator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckDatabase(String iOptions) voidexportDatabase(String iText) voidvoidimportDatabase(String text) protected booleanisCollectingCommands(String iLine) static voidprotected voidonBefore()voidrepairDatabase(String iOptions) Methods inherited from class com.orientechnologies.orient.console.OConsoleDatabaseApp
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, executeServerCommand, executeServerSideScript, explain, exportRecord, exportSchema, findReferences, flushDatabase, format, freezeDatabase, gc, get, getContext, getCurrentDatabase, getCurrentDatabaseName, getCurrentDatabaseUserName, getCurrentDatabaseUserPassword, getCurrentRecord, getCurrentResultSet, getDistributedConfiguration, getElapsedSecs, getMaxMultiValueEntries, getPrompt, grant, ha, historyEnabled, info, infoClass, infoProperty, insert, js, jss, listClasses, listClusters, listConnections, listDatabases, listIndexes, listProperties, listServers, listServerUsers, loadRecord, loadRecord, loadRecordInternal, loadScript, match, move, moveVertex, next, onAfter, onBegin, onCompletition, onException, onMessage, onMessage, onProgress, open, 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, updateDatabaseInfoMethods inherited from class com.orientechnologies.common.console.OConsoleApplication
addCommand, error, execute, executeBatch, executeCommands, formatCommandSpecs, getClearName, getCommandLine, getConsoleMethods, getConsoleWidth, getCorrectMethodName, getMethod, getOnlineHelp, getVerboseLevel, help, isComment, isEchoEnabled, isInteractiveMode, isPropertyEnabled, message, run, setOutput, setReader, syntaxError
-
Constructor Details
-
OGremlinConsole
-
-
Method Details
-
main
-
gremlin
-
importDatabase
- Overrides:
importDatabasein classOConsoleDatabaseApp- Throws:
IOException
-
exportDatabase
- Overrides:
exportDatabasein classOConsoleDatabaseApp- Throws:
IOException
-
checkDatabase
- Overrides:
checkDatabasein classOConsoleDatabaseApp- Throws:
IOException
-
repairDatabase
- Overrides:
repairDatabasein classOConsoleDatabaseApp- Throws:
IOException
-
onBefore
protected void onBefore()- Overrides:
onBeforein classOConsoleDatabaseApp
-
isCollectingCommands
- Overrides:
isCollectingCommandsin classOConsoleDatabaseApp
-