brickhouse.udf.json.ConvertFromCamelCaseUDF Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brickhouse Show documentation
Show all versions of brickhouse Show documentation
Extensions of Hive for the Data Developer
The newest version!
package brickhouse.udf.json;
import org.apache.hadoop.hive.ql.exec.Description;
import org.apache.hadoop.hive.ql.exec.UDF;
@Description(name="from_camel_case",
value = "_FUNC_(a) - Converts a string in CamelCase to one containing underscores."
)
public class ConvertFromCamelCaseUDF extends UDF {
public String evaluate(String camel ) {
return FromJsonUDF.FromCamelCase(camel);
}
}