
public class OGremlinConsole extends OConsoleDatabaseApp
OConsoleApplication.RESULTcurrentDatabase, currentDatabaseName, currentRecord, currentRecordIdx, currentResult, currentResultSet, orientDB, urlConnectionargs, 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(java.lang.String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkDatabase(java.lang.String iOptions) |
void |
exportDatabase(java.lang.String iText) |
void |
gremlin(java.lang.String iScriptText) |
void |
importDatabase(java.lang.String text) |
protected boolean |
isCollectingCommands(java.lang.String iLine) |
static void |
main(java.lang.String[] args) |
protected void |
onBefore() |
void |
repairDatabase(java.lang.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, executeServerCommand, 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, 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, updateDatabaseInfoformat, historyEnabled, onAfter, onException, onMessageaddCommand, error, execute, executeBatch, executeCommands, formatCommandSpecs, getClearName, getCommandLine, getConsoleMethods, getConsoleWidth, getCorrectMethodName, getMethod, getOnlineHelp, getVerboseLevel, help, isComment, isEchoEnabled, isInteractiveMode, isPropertyEnabled, message, run, setOutput, setReader, syntaxErrorpublic static void main(java.lang.String[] args)
public void gremlin(java.lang.String iScriptText)
public void importDatabase(java.lang.String text)
throws java.io.IOException
importDatabase in class OConsoleDatabaseAppjava.io.IOExceptionpublic void exportDatabase(java.lang.String iText)
throws java.io.IOException
exportDatabase in class OConsoleDatabaseAppjava.io.IOExceptionpublic void checkDatabase(java.lang.String iOptions)
throws java.io.IOException
checkDatabase in class OConsoleDatabaseAppjava.io.IOExceptionpublic void repairDatabase(java.lang.String iOptions)
throws java.io.IOException
repairDatabase in class OConsoleDatabaseAppjava.io.IOExceptionprotected void onBefore()
onBefore in class OConsoleDatabaseAppprotected boolean isCollectingCommands(java.lang.String iLine)
isCollectingCommands in class OConsoleDatabaseAppCopyright © 2009–2023 OrientDB. All rights reserved.