@Component public class SessionCommnds extends ShellCommands
session_| Modifier | Constructor and Description |
|---|---|
protected |
SessionCommnds() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
available() |
void |
classpath(java.lang.Boolean list) |
void |
debug(java.lang.String mode,
java.lang.Boolean rawStream) |
void |
jsonoption(java.lang.Boolean pretty,
java.lang.Boolean withTags) |
void |
mode(java.lang.String mode) |
boolean |
modeAvailable() |
void |
tableoption(java.lang.Boolean bufferwrite,
java.lang.Boolean excludeId,
java.lang.Boolean insertionOrder) |
void |
whoami() |
afterReturningInvocation, afterThrowingInvocation, beforeInvocation, getCmdJsonOptionsprotected SessionCommnds()
throws java.io.IOException
java.io.IOException@CliAvailabilityIndicator(value="debug") public boolean available()
@CliAvailabilityIndicator(value="mode") public boolean modeAvailable()
@CliCommand(value="debug",
help="Sets/shows the debug mode.")
public void debug(@CliOption(key="",help="Set the debug mode to on/off")
java.lang.String mode,
@CliOption(key="rawstream",unspecifiedDefaultValue="true",hidden=true)
java.lang.Boolean rawStream)
throws java.io.IOException
java.io.IOExceptionpublic void mode(@CliOption(key="",help="Sets/shows the active mode (global|files|tables|stream) of the session.")
java.lang.String mode)
throws java.io.IOException
java.io.IOException@CliCommand(value="jsonoptions",
help="Sets/shows the Json output options.")
public void jsonoption(@CliOption(key="pretty",help="Sets/clears the pretty printing mode.",unspecifiedDefaultValue="true")
java.lang.Boolean pretty,
@CliOption(key={"withtags","withTags"},help="Enables/disables printing with extended Type Tags.",unspecifiedDefaultValue="true")
java.lang.Boolean withTags)
throws java.io.IOException
java.io.IOException@CliCommand(value="tableoptions",
help="Sets/shows the MapR-DB Table access options.")
public void tableoption(@CliOption(key={"bufferwrite","bufferWrite"},help="Sets/clears the buffered write mode when inserting documents.",unspecifiedDefaultValue="false")
java.lang.Boolean bufferwrite,
@CliOption(key={"excludeid","excludeId"},help="Enables/disables exclusion of \'_id\' field when printing documents(deprecated as of v6.0)")
java.lang.Boolean excludeId,
@CliOption(key={"insertionorder","insertionOrder"},help="Enables/disables insertion order when printing documents(deprecated as of v6.0)")
java.lang.Boolean insertionOrder)
throws java.io.IOException
java.io.IOException@CliCommand(value="classpath",
help="Prints MapR-DB Shell classpath.",
hidden=true)
public void classpath(@CliOption(key={"l","list"},help="List classpath URLs instead of printing in classpath format.",unspecifiedDefaultValue="false",specifiedDefaultValue="true")
java.lang.Boolean list)
throws java.io.IOException
java.io.IOException@CliCommand(value="whoami",
help="Prints the current MapR-DB Shell user.")
public void whoami()
throws java.io.IOException
java.io.IOException