|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.cli.commands.BaseLensCommand org.apache.lens.cli.commands.LensDimensionTableCommands
@Component public class LensDimensionTableCommands
The Class LensDimensionTableCommands.
Field Summary |
---|
Fields inherited from class org.apache.lens.cli.commands.BaseLensCommand |
---|
LOG |
Constructor Summary | |
---|---|
LensDimensionTableCommands()
|
Method Summary | |
---|---|
String |
addNewDimStorage(String tablepair)
Adds the new dim storage. |
String |
addPartitionsToFact(String specPair)
Adds partitions to dim table. |
String |
addPartitionToFact(String specPair)
Adds the partition to dim table. |
String |
createDimensionTable(String dimSpec)
Creates the dimension table. |
String |
describeDimensionTable(String dim)
Describe dimension table. |
String |
dropAllDimStorages(String table)
Drop all dim storages. |
String |
dropAllPartitionsOfDim(String specPair)
Drop all partitions of dim. |
String |
dropDimensionTable(String dim,
boolean cascade)
Drop dimension table. |
String |
dropStorageFromDim(String tablepair)
Drop storage from dim. |
String |
getAllPartitionsOfDim(String specPair)
Gets the all partitions of dim. |
String |
getDimStorages(String dim)
Gets the dim storages. |
String |
getStorageFromDim(String tablepair)
Gets the storage from dim. |
String |
showDimensionTables()
Show dimension tables. |
String |
updateDimensionTable(String specPair)
Update dimension table. |
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 |
---|
public LensDimensionTableCommands()
Method Detail |
---|
public String showDimensionTables()
public String createDimensionTable(String dimSpec)
dimSpec
- Path to dim spec
public String dropDimensionTable(String dim, boolean cascade)
dim
- the dimcascade
- the cascade
public String updateDimensionTable(String specPair)
specPair
- the spec pair
public String describeDimensionTable(String dim)
dim
- the dim
public String getDimStorages(String dim)
dim
- the dim
public String dropAllDimStorages(String table)
table
- the table
public String addNewDimStorage(String tablepair)
tablepair
- the tablepair
public String dropStorageFromDim(String tablepair)
tablepair
- the tablepair
public String getStorageFromDim(String tablepair)
tablepair
- the tablepair
public String getAllPartitionsOfDim(String specPair)
specPair
- the spec pair
public String dropAllPartitionsOfDim(String specPair)
specPair
- the spec pair
public String addPartitionToFact(String specPair)
specPair
- the spec pair
public String addPartitionsToFact(String specPair)
specPair
- the spec pair
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |