org.apache.lens.cli.commands
Class BaseLensCommand
java.lang.Object
org.apache.lens.cli.commands.BaseLensCommand
- Direct Known Subclasses:
- LensConnectionCommands, LensCubeCommands, LensDatabaseCommands, LensDimensionCommands, LensDimensionTableCommands, LensFactCommands, LensNativeTableCommands, LensQueryCommands, LensStorageCommands
public class BaseLensCommand
- extends Object
The Class BaseLensCommand.
Field Summary |
static org.apache.commons.logging.Log |
LOG
The Constant LOG. |
Constructor Summary |
BaseLensCommand()
Instantiates a new base lens command. |
LOG
public static final org.apache.commons.logging.Log LOG
- The Constant LOG.
BaseLensCommand
public BaseLensCommand()
- Instantiates a new base lens command.
setClient
public void setClient(LensClient client)
getClient
public static LensClient getClient()
getClientWrapper
public static LensClientSingletonWrapper getClientWrapper()
formatJson
public String formatJson(String json)
- Pretty printing JSON object into CLI String.
- Parameters:
json
- to be formatted
- Returns:
- cli formatted string
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.