|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.oozie.coord.HCatELFunctions
public class HCatELFunctions
This class implements the EL function for HCat datasets in coordinator
Constructor Summary | |
---|---|
HCatELFunctions()
|
Method Summary | |
---|---|
static boolean |
hcat_exists(String uri)
Return true if partitions exists or false if not. |
static String |
ph1_coord_databaseIn_echo(String dataName)
Echo the same EL function without evaluating anything |
static String |
ph1_coord_databaseOut_echo(String dataName)
|
static String |
ph1_coord_dataInPartitionFilter_echo(String dataInName,
String type)
|
static String |
ph1_coord_dataInPartitionMax_echo(String dataInName,
String partition)
|
static String |
ph1_coord_dataInPartitionMin_echo(String dataInName,
String partition)
|
static String |
ph1_coord_dataOutPartitions_echo(String dataOutName)
|
static String |
ph1_coord_dataOutPartitionValue_echo(String dataOutName,
String partition)
|
static String |
ph1_coord_tableIn_echo(String dataName)
|
static String |
ph1_coord_tableOut_echo(String dataName)
|
static String |
ph3_coord_databaseIn(String dataName)
Extract the hcat DB name from the URI-template associate with 'dataInName'. |
static String |
ph3_coord_databaseOut(String dataName)
Extract the hcat DB name from the URI-template associate with 'dataOutName'. |
static String |
ph3_coord_dataInPartitionFilter(String dataInName,
String type)
Used to specify the HCat partition filter which is input dependency for workflow job. Look for two evaluator-level variables A) .datain. |
static String |
ph3_coord_dataInPartitionMax(String dataInName,
String partitionName)
Used to specify the MINIMUM value of an HCat partition which is input dependency for workflow job. Look for two evaluator-level variables A) .datain. |
static String |
ph3_coord_dataInPartitionMin(String dataInName,
String partitionName)
Used to specify the MAXIMUM value of an HCat partition which is input dependency for workflow job. Look for two evaluator-level variables A) .datain. |
static String |
ph3_coord_dataOutPartitions(String dataOutName)
Used to specify the entire HCat partition defining output for workflow job. Look for two evaluator-level variables A) .dataout. |
static String |
ph3_coord_dataOutPartitionValue(String dataOutName,
String partitionName)
Used to specify the HCat partition's value defining output for workflow job. Look for two evaluator-level variables A) .dataout. |
static String |
ph3_coord_tableIn(String dataName)
Extract the hcat Table name from the URI-template associate with 'dataInName'. |
static String |
ph3_coord_tableOut(String dataName)
Extract the hcat Table name from the URI-template associate with 'dataOutName'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HCatELFunctions()
Method Detail |
---|
public static boolean hcat_exists(String uri) throws Exception
uri
- hcatalog partition uri.
true
if the uri exists, false
if it does not.
Exception
public static String ph1_coord_databaseIn_echo(String dataName)
dataInName
-
public static String ph1_coord_databaseOut_echo(String dataName)
public static String ph1_coord_tableIn_echo(String dataName)
public static String ph1_coord_tableOut_echo(String dataName)
public static String ph1_coord_dataInPartitionFilter_echo(String dataInName, String type)
public static String ph1_coord_dataInPartitionMin_echo(String dataInName, String partition)
public static String ph1_coord_dataInPartitionMax_echo(String dataInName, String partition)
public static String ph1_coord_dataOutPartitions_echo(String dataOutName)
public static String ph1_coord_dataOutPartitionValue_echo(String dataOutName, String partition)
public static String ph3_coord_databaseIn(String dataName)
dataInName
-
public static String ph3_coord_databaseOut(String dataName)
dataOutName
-
public static String ph3_coord_tableIn(String dataName)
dataInName
-
public static String ph3_coord_tableOut(String dataName)
dataOutName
-
public static String ph3_coord_dataInPartitionFilter(String dataInName, String type)
dataInName
- : Datain nametype
- : for action type - pig, MR or hivepublic static String ph3_coord_dataOutPartitionValue(String dataOutName, String partitionName)
dataOutName
- : Dataout namepartitionName
- : Specific partition name whose value is wantedpublic static String ph3_coord_dataOutPartitions(String dataOutName)
dataOutName
- : DataOut namepublic static String ph3_coord_dataInPartitionMin(String dataInName, String partitionName)
dataInName
- : Datain namepartitionName
- : Specific partition name whose MAX value is wantedpublic static String ph3_coord_dataInPartitionMax(String dataInName, String partitionName)
dataInName
- : Datain namepartitionName
- : Specific partition name whose MIN value is wanted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |