This project has retired. For details please refer to its Attic page.
LensStorageCommands (Lens 2.0.1-beta-incubating API)

org.apache.lens.cli.commands
Class LensStorageCommands

java.lang.Object
  extended by org.apache.lens.cli.commands.BaseLensCommand
      extended by org.apache.lens.cli.commands.LensStorageCommands
All Implemented Interfaces:
org.springframework.shell.core.CommandMarker

@Component
public class LensStorageCommands
extends BaseLensCommand
implements org.springframework.shell.core.CommandMarker

The Class LensStorageCommands.


Field Summary
 
Fields inherited from class org.apache.lens.cli.commands.BaseLensCommand
LOG
 
Constructor Summary
LensStorageCommands()
           
 
Method Summary
 String createStorage(String storageSpec)
          Creates the storage.
 String describeStorage(String storage)
          Describe storage.
 String dropStorage(String storage)
          Drop storage.
 String getStorages()
           
 String updateStorage(String specPair)
          Update storage.
 
Methods inherited from class org.apache.lens.cli.commands.BaseLensCommand
formatJson, getClient, getClientWrapper, setClient
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LensStorageCommands

public LensStorageCommands()
Method Detail

getStorages

public String getStorages()

createStorage

public String createStorage(String storageSpec)
Creates the storage.

Parameters:
storageSpec - the storage spec
Returns:
the string

dropStorage

public String dropStorage(String storage)
Drop storage.

Parameters:
storage - the storage
Returns:
the string

updateStorage

public String updateStorage(String specPair)
Update storage.

Parameters:
specPair - the spec pair
Returns:
the string

describeStorage

public String describeStorage(String storage)
Describe storage.

Parameters:
storage - the storage
Returns:
the string


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.