|
||||||||||
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.LensFactCommands
@Component public class LensFactCommands
The Class LensFactCommands.
Field Summary |
---|
Fields inherited from class org.apache.lens.cli.commands.BaseLensCommand |
---|
LOG |
Constructor Summary | |
---|---|
LensFactCommands()
|
Method Summary | |
---|---|
String |
addNewFactStorage(String tablepair)
Adds the new fact storage. |
String |
addPartitionsToFact(String specPair)
Adds the partitions to fact. |
String |
addPartitionToFact(String specPair)
Adds the partition to fact. |
String |
createFact(String factSpecFileName)
Creates the fact. |
String |
describeFactTable(String fact)
Describe fact table. |
String |
dropAllFactStorages(String table)
Drop all fact storages. |
String |
dropAllPartitionsOfFact(String specPair)
Drop all partitions of fact. |
String |
dropFact(String fact,
boolean cascade)
Drop fact. |
String |
dropStorageFromFact(String tablepair)
Drop storage from fact. |
String |
getAllPartitionsOfFact(String specPair)
Gets the all partitions of fact. |
String |
getFactStorages(String fact)
Gets the fact storages. |
String |
getStorageFromFact(String tablepair)
Gets the storage from fact. |
String |
showFacts()
Show facts. |
String |
updateFactTable(String specPair)
Update fact 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 LensFactCommands()
Method Detail |
---|
public String showFacts()
public String createFact(String factSpecFileName)
factSpecFileName
- Path to fact spec
public String dropFact(String fact, boolean cascade)
fact
- the factcascade
- the cascade
public String updateFactTable(String specPair)
specPair
- the spec pair
public String describeFactTable(String fact)
fact
- the fact
public String getFactStorages(String fact)
fact
- the fact
public String dropAllFactStorages(String table)
table
- the table
public String addNewFactStorage(String tablepair)
tablepair
- the tablepair
public String dropStorageFromFact(String tablepair)
tablepair
- the tablepair
public String getStorageFromFact(String tablepair)
tablepair
- the tablepair
public String getAllPartitionsOfFact(String specPair)
specPair
- the spec pair
public String dropAllPartitionsOfFact(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 |