org.apache.lens.cli.commands
Class LensCubeCommands

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

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

The Class LensCubeCommands.


Field Summary
 
Fields inherited from class org.apache.lens.cli.commands.BaseLensCommand
LOG
 
Constructor Summary
LensCubeCommands()
           
 
Method Summary
 String createCube(String cubeSpec)
          Creates the cube.
 String describeCube(String cubeName)
          Describe cube.
 String dropCube(String cube)
          Drop cube.
 String showCubes()
          Show cubes.
 String updateCube(String specPair)
          Update cube.
 
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

LensCubeCommands

public LensCubeCommands()
Method Detail

showCubes

public String showCubes()
Show cubes.

Returns:
the string

createCube

public String createCube(String cubeSpec)
Creates the cube.

Parameters:
cubeSpec - the cube spec
Returns:
the string

dropCube

public String dropCube(String cube)
Drop cube.

Parameters:
cube - the cube
Returns:
the string

updateCube

public String updateCube(String specPair)
Update cube.

Parameters:
specPair - the spec pair
Returns:
the string

describeCube

public String describeCube(String cubeName)
Describe cube.

Parameters:
cubeName - the cube name
Returns:
the string


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