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

org.apache.lens.cli.commands
Class LensDimensionCommands

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

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

The Class LensDimensionCommands.


Field Summary
 
Fields inherited from class org.apache.lens.cli.commands.BaseLensCommand
LOG
 
Constructor Summary
LensDimensionCommands()
           
 
Method Summary
 String createDimension(String dimensionSpec)
          Creates the dimension.
 String describeDimension(String dimensionName)
          Describe dimension.
 String dropDimension(String dimension)
          Drop dimension.
 String showDimensions()
          Show dimensions.
 String updateDimension(String specPair)
          Update dimension.
 
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

LensDimensionCommands

public LensDimensionCommands()
Method Detail

showDimensions

public String showDimensions()
Show dimensions.

Returns:
the string

createDimension

public String createDimension(String dimensionSpec)
Creates the dimension.

Parameters:
dimensionSpec - the dimension spec
Returns:
the string

dropDimension

public String dropDimension(String dimension)
Drop dimension.

Parameters:
dimension - the dimension
Returns:
the string

updateDimension

public String updateDimension(String specPair)
Update dimension.

Parameters:
specPair - the spec pair
Returns:
the string

describeDimension

public String describeDimension(String dimensionName)
Describe dimension.

Parameters:
dimensionName - the dimension name
Returns:
the string


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