org.apache.lens.cli.commands
Class LensStorageCommands
java.lang.Object
org.apache.lens.cli.commands.BaseLensCommand
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.
LensStorageCommands
public LensStorageCommands()
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.